Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001911/0.001911, allocations: 213.4 kB / 23.01 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.374/1.374, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002552/0.002552, allocations: 287.2 kB / 313.5 MB, free: 2.812 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.148/1.148, allocations: 180.6 MB / 0.5377 GB, free: 13.09 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002803/0.002803, allocations: 102 kB / 0.7408 GB, free: 27.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1545, allocations: 95.38 MB / 0.8339 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002205/0.1567, allocations: 1.296 MB / 0.8352 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003796/0.1605, allocations: 3.011 MB / 0.8381 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.51e-05/0.1605, allocations: 0 / 0.8381 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.752e-05/0.1605, allocations: 3.984 kB / 0.8381 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.053e-05/0.1606, allocations: 7.938 kB / 0.8381 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004522/0.161, allocations: 107.5 kB / 0.8382 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.464e-05/0.1611, allocations: 27.92 kB / 0.8383 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 2.954e-05/0.1611, allocations: 4 kB / 0.8383 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000498/0.1616, allocations: 199.3 kB / 0.8385 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.887e-05/0.1617, allocations: 15.92 kB / 0.8385 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.316e-06/0.1617, allocations: 4 kB / 0.8385 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.1618, allocations: 71.8 kB / 0.8385 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.173e-05/0.1618, allocations: 8 kB / 0.8386 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.677e-05/0.1619, allocations: 15.94 kB / 0.8386 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.162, allocations: 67.72 kB / 0.8386 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.162, allocations: 0 / 0.8386 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.122e-06/0.162, allocations: 0 / 0.8386 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.162, allocations: 0 / 0.8386 GB, free: 3.305 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003762/0.1624, allocations: 266.3 kB / 0.8389 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.1624, allocations: 13.34 kB / 0.8389 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.65e-05/0.1625, allocations: 8.891 kB / 0.8389 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.519e-05/0.1626, allocations: 118.5 kB / 0.839 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.1626, allocations: 384 / 0.839 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.1626, allocations: 8.375 kB / 0.839 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.1627, allocations: 57.8 kB / 0.8391 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.1627, allocations: 0 / 0.8391 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.1627, allocations: 4 kB / 0.8391 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1627, allocations: 0 / 0.8391 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5e-05/0.1628, allocations: 19.97 kB / 0.8391 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001716/0.163, allocations: 148.7 kB / 0.8393 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.808e-05/0.1631, allocations: 46.5 kB / 0.8393 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.029e-05/0.1631, allocations: 16.86 kB / 0.8393 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005016/0.1636, allocations: 241.8 kB / 0.8395 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.1636, allocations: 38.56 kB / 0.8396 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.1636, allocations: 0 / 0.8396 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.000516/0.1641, allocations: 225.5 kB / 0.8398 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.1642, allocations: 55.39 kB / 0.8398 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.178e-05/0.1642, allocations: 101.8 kB / 0.8399 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.1643, allocations: 29.7 kB / 0.84 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.616e-05/0.1643, allocations: 88.09 kB / 0.8401 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.1643, allocations: 35.73 kB / 0.8401 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.659e-05/0.1644, allocations: 25.66 kB / 0.8401 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1645, allocations: 322.8 kB / 0.8404 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.639e-05/0.1645, allocations: 12 kB / 0.8404 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.932e-05/0.1646, allocations: 49.14 kB / 0.8405 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.992e-05/0.1647, allocations: 73.08 kB / 0.8406 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1647, allocations: 4 kB / 0.8406 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001419/0.1648, allocations: 101.7 kB / 0.8407 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.1648, allocations: 8.062 kB / 0.8407 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1648, allocations: 8 kB / 0.8407 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.1649, allocations: 0 / 0.8407 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.136e-05/0.1649, allocations: 19.94 kB / 0.8407 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.1649, allocations: 7.984 kB / 0.8407 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.615e-05/0.165, allocations: 3.938 kB / 0.8407 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/0.165, allocations: 8 kB / 0.8407 GB, free: 0.918 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 9.146e-05/0.1651, allocations: 114.4 kB / 0.8408 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.904e-05/0.1651, allocations: 8 kB / 0.8408 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.346e-05/0.1651, allocations: 12.06 kB / 0.8408 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.1651, allocations: 0 / 0.8408 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1651, allocations: 448 / 0.8408 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.1651, allocations: 7.938 kB / 0.8408 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/0.1654, allocations: 140.7 kB / 0.841 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1654, allocations: 4 kB / 0.841 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.891e-05/0.1655, allocations: 15.98 kB / 0.841 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1655, allocations: 0 / 0.841 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.1655, allocations: 0 / 0.841 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.1655, allocations: 4 kB / 0.841 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1655, allocations: 0 / 0.841 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/0.1657, allocations: 187.3 kB / 0.8412 GB, free: 380 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.524e-05/0.1657, allocations: 4 kB / 0.8412 GB, free: 376 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.1657, allocations: 3.938 kB / 0.8412 GB, free: 372 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.1658, allocations: 8.031 kB / 0.8412 GB, free: 364 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.139e-05/0.1658, allocations: 0 / 0.8412 GB, free: 364 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.1658, allocations: 11.94 kB / 0.8412 GB, free: 352 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.904e-05/0.1659, allocations: 79.27 kB / 0.8413 GB, free: 272 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.1659, allocations: 4 kB / 0.8413 GB, free: 268 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002295/0.1661, allocations: 16 kB / 0.8413 GB, free: 252 kB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0001092/0.1662, allocations: 95.25 kB / 0.8414 GB, free: 148 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001135/0.1663, allocations: 39.92 kB / 0.8414 GB, free: 108 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.1663, allocations: 0 / 0.8414 GB, free: 108 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.397e-05/0.1664, allocations: 15.94 kB / 0.8414 GB, free: 92 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.1666, allocations: 18.42 kB / 0.8415 GB, free: 76 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005907/0.1672, allocations: 352.6 kB / 0.8418 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.1675, allocations: 0.6807 MB / 0.8425 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.755e-05/0.1675, allocations: 11.44 kB / 0.8425 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.1675, allocations: 0 / 0.8425 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of Templates: time 0.002159/0.1697, allocations: 0.7923 MB / 0.8432 GB, free: 14.19 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.832754607079551] Failed to read output from testmodel.py, exit status != 0: 0.17644702596589923 0.19056801699999995 0.025726043 Calling exit ...