Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 114.4 kB / 17.13 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 194.1 kB / 20.08 MB, free: 2.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002283/0.002283, allocations: 288 kB / 303.6 MB, free: 3.691 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9847/0.9847, allocations: 180.9 MB / 0.5268 GB, free: 2.691 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002557/0.002557, allocations: 99.84 kB / 0.7259 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4574/0.46, allocations: 94.15 MB / 0.8178 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004329/0.4643, allocations: 4.051 MB / 0.8218 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001472/0.4644, allocations: 161.5 kB / 0.8219 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.368e-05/0.4645, allocations: 1.281 kB / 0.8219 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.722e-05/0.4646, allocations: 3.938 kB / 0.8219 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.351e-05/0.4646, allocations: 14.97 kB / 0.822 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002796/0.4649, allocations: 80.05 kB / 0.822 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.678e-05/0.465, allocations: 29.83 kB / 0.8221 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.211e-05/0.465, allocations: 2 kB / 0.8221 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.564e-05/0.4651, allocations: 26.31 kB / 0.8221 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.481e-05/0.4651, allocations: 11.34 kB / 0.8221 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.4651, allocations: 1.281 kB / 0.8221 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001686/0.4653, allocations: 66.12 kB / 0.8222 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.905e-05/0.4653, allocations: 5.906 kB / 0.8222 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.5e-05/0.4654, allocations: 12.39 kB / 0.8222 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.4655, allocations: 37.28 kB / 0.8222 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.4655, allocations: 4.031 kB / 0.8222 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.232e-06/0.4655, allocations: 0 / 0.8222 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.4655, allocations: 0 / 0.8222 GB, free: 4.285 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002895/0.4658, allocations: 344 kB / 0.8226 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.4658, allocations: 8.531 kB / 0.8226 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.648e-05/0.4659, allocations: 6.938 kB / 0.8226 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.764e-05/0.4659, allocations: 172.5 kB / 0.8227 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.792e-05/0.466, allocations: 27.17 kB / 0.8228 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-06/0.466, allocations: 2 kB / 0.8228 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.4661, allocations: 46.44 kB / 0.8228 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.4661, allocations: 0 / 0.8228 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.4661, allocations: 1.219 kB / 0.8228 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/0.4661, allocations: 1.094 kB / 0.8228 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.5e-05/0.4662, allocations: 15.89 kB / 0.8228 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003202/0.4665, allocations: 337.1 kB / 0.8231 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 3.09e-05/0.4665, allocations: 20.33 kB / 0.8232 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.163e-05/0.4665, allocations: 6.391 kB / 0.8232 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.095e-05/0.4666, allocations: 84.61 kB / 0.8232 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/0.4666, allocations: 35.97 kB / 0.8233 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.4666, allocations: 0 / 0.8233 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001276/0.4667, allocations: 41.3 kB / 0.8233 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.4668, allocations: 56.94 kB / 0.8234 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.147e-05/0.4668, allocations: 98.86 kB / 0.8235 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.215e-06/0.4668, allocations: 25.7 kB / 0.8235 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.549e-05/0.4668, allocations: 93.88 kB / 0.8236 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.799e-06/0.4668, allocations: 1.703 kB / 0.8236 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/0.4669, allocations: 14.92 kB / 0.8236 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.202e-05/0.4669, allocations: 324.1 kB / 0.8239 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.539e-05/0.4669, allocations: 3.688 kB / 0.8239 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.932e-05/0.4669, allocations: 15.16 kB / 0.8239 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.847e-05/0.467, allocations: 20.73 kB / 0.8239 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.467, allocations: 1.188 kB / 0.8239 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.42e-05/0.467, allocations: 54.08 kB / 0.824 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.4671, allocations: 5.266 kB / 0.824 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.4671, allocations: 1.281 kB / 0.824 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.4671, allocations: 0 / 0.824 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.036e-05/0.4671, allocations: 5.875 kB / 0.824 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.4671, allocations: 5.859 kB / 0.824 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.943e-05/0.4671, allocations: 9.141 kB / 0.824 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.4671, allocations: 5.672 kB / 0.824 GB, free: 2.336 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.15e-05/0.4672, allocations: 116.6 kB / 0.8241 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.597e-05/0.4672, allocations: 5.844 kB / 0.8241 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.44e-05/0.4673, allocations: 123 kB / 0.8243 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.021e-05/0.4673, allocations: 182.2 kB / 0.8244 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.999e-05/0.4673, allocations: 177.2 kB / 0.8246 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-05/0.4673, allocations: 178.2 kB / 0.8248 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.4675, allocations: 415.6 kB / 0.8252 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/0.4675, allocations: 102.8 kB / 0.8253 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.388e-05/0.4675, allocations: 111.7 kB / 0.8254 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.049e-05/0.4675, allocations: 181 kB / 0.8256 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/0.4675, allocations: 182.1 kB / 0.8257 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.948e-05/0.4676, allocations: 182.3 kB / 0.8259 GB, free: 324 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.929e-05/0.4676, allocations: 182.2 kB / 0.8261 GB, free: 136 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001384/0.4677, allocations: 310.1 kB / 0.8264 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.193e-05/0.4678, allocations: 179.4 kB / 0.8265 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.357e-05/0.4679, allocations: 183.6 kB / 0.8267 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.468, allocations: 108.4 kB / 0.8268 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.681e-05/0.4681, allocations: 182.6 kB / 0.827 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.171e-05/0.4682, allocations: 102.9 kB / 0.8271 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.106e-05/0.4682, allocations: 86 kB / 0.8272 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.4682, allocations: 0 / 0.8272 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002377/0.4684, allocations: 12.3 kB / 0.8272 GB, free: 14.95 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002625/0.4687, allocations: 203.6 kB / 0.8274 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.647e-05/0.4688, allocations: 15.44 kB / 0.8274 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4688, allocations: 0 / 0.8274 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.4688, allocations: 1.219 kB / 0.8274 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.4692, allocations: 459.6 kB / 0.8278 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000274/0.4695, allocations: 210.6 kB / 0.828 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.4697, allocations: 0.6749 MB / 0.8287 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.101e-05/0.4698, allocations: 9.422 kB / 0.8287 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.4698, allocations: 0.8438 kB / 0.8287 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.002263/0.472, allocations: 0.7618 MB / 0.8294 GB, free: 13.34 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.064039174932986] Failed to read output from testmodel.py, exit status != 0: 0.47940007597208023 0.491433926 0.022869992000000002 Calling exit ...