Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.001546/0.001546, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001748/0.001748, allocations: 219.4 kB / 23 MB, free: 4.914 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.432/1.432, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.002403/0.002403, allocations: 278.4 kB / 313.5 MB, free: 2.625 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.235/1.235, allocations: 180.6 MB / 0.5377 GB, free: 14.52 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.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") [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.002906/0.002906, allocations: 105.1 kB / 0.7408 GB, free: 27.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1632, allocations: 95.38 MB / 0.8339 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005675/0.1688, allocations: 3.896 MB / 0.8377 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002912/0.1717, allocations: 2.231 MB / 0.8399 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.28e-05/0.1718, allocations: 0 / 0.8399 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000262/0.1721, allocations: 43.69 kB / 0.8399 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000286/0.1724, allocations: 107.3 kB / 0.8401 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.1737, allocations: 0.5369 MB / 0.8406 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003288/0.1741, allocations: 271.8 kB / 0.8408 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.201e-05/0.1741, allocations: 5.75 kB / 0.8408 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002133/0.1743, allocations: 119.6 kB / 0.841 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.1745, allocations: 95.53 kB / 0.841 GB, free: 460 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.684e-05/0.1745, allocations: 8 kB / 0.8411 GB, free: 452 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000743/0.1752, allocations: 395.3 kB / 0.8414 GB, free: 56 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.564e-05/0.1753, allocations: 43.83 kB / 0.8415 GB, free: 12 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.1754, allocations: 71.72 kB / 0.8415 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006042/0.176, allocations: 406.8 kB / 0.8419 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.176, allocations: 0 / 0.8419 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.222e-06/0.176, allocations: 7.938 kB / 0.8419 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.176, allocations: 0 / 0.8419 GB, free: 15.54 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007744/0.1768, allocations: 445.4 kB / 0.8424 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.1768, allocations: 8.75 kB / 0.8424 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00202/0.1789, allocations: 188.6 kB / 0.8425 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003366/0.1792, allocations: 158.2 kB / 0.8427 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.1792, allocations: 16.7 kB / 0.8427 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.102e-05/0.1793, allocations: 16.31 kB / 0.8427 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007835/0.18, allocations: 0.522 MB / 0.8432 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.1801, allocations: 0 / 0.8432 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.383e-05/0.1801, allocations: 8 kB / 0.8432 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.839e-05/0.1801, allocations: 4 kB / 0.8433 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006953/0.1808, allocations: 251.6 kB / 0.8435 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/0.1824, allocations: 1.162 MB / 0.8446 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006625/0.183, allocations: 188.2 kB / 0.8448 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002116/0.1833, allocations: 72.81 kB / 0.8449 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.1833, allocations: 0 / 0.8449 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/0.1833, allocations: 50.48 kB / 0.8449 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=18): time 1.032e-06/0.1833, allocations: 0 / 0.8449 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18): time 0.0007531/0.1841, allocations: 243.4 kB / 0.8452 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.1841, allocations: 55.41 kB / 0.8452 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.1842, allocations: 137.8 kB / 0.8453 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.062e-05/0.1843, allocations: 33.7 kB / 0.8454 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.207e-05/0.1844, allocations: 128.2 kB / 0.8455 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.025e-05/0.1844, allocations: 71.41 kB / 0.8456 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.551e-05/0.1845, allocations: 53.92 kB / 0.8456 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.1847, allocations: 314.8 kB / 0.8459 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/0.1849, allocations: 68.41 kB / 0.846 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002734/0.1851, allocations: 154.9 kB / 0.8461 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004915/0.1856, allocations: 215.4 kB / 0.8463 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.1856, allocations: 7.938 kB / 0.8463 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000595/0.1862, allocations: 251.4 kB / 0.8466 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.1862, allocations: 8 kB / 0.8466 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.1863, allocations: 0 / 0.8466 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.1863, allocations: 7.938 kB / 0.8466 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003741/0.1866, allocations: 67.89 kB / 0.8467 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.1867, allocations: 4 kB / 0.8467 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/0.1869, allocations: 36.12 kB / 0.8467 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.603e-05/0.1869, allocations: 15.98 kB / 0.8467 GB, free: 10.29 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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 0.0001219/0.187, allocations: 129.7 kB / 0.8468 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.939e-05/0.1871, allocations: 15.91 kB / 0.8469 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006249/0.1877, allocations: 231.4 kB / 0.8471 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1877, allocations: 0 / 0.8471 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1877, allocations: 0 / 0.8471 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1877, allocations: 0 / 0.8471 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002401/0.188, allocations: 180.9 kB / 0.8472 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.188, allocations: 0 / 0.8472 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003273/0.1883, allocations: 59.95 kB / 0.8473 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1883, allocations: 0 / 0.8473 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.1883, allocations: 4 kB / 0.8473 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1883, allocations: 0 / 0.8473 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1883, allocations: 0 / 0.8473 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005703/0.1889, allocations: 297.7 kB / 0.8476 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.488e-05/0.189, allocations: 31.94 kB / 0.8476 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.366e-05/0.189, allocations: 11.98 kB / 0.8476 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002588/0.1893, allocations: 19.98 kB / 0.8477 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.163e-05/0.1893, allocations: 11.98 kB / 0.8477 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.1893, allocations: 11.92 kB / 0.8477 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.03e-05/0.1894, allocations: 103.3 kB / 0.8478 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1894, allocations: 0 / 0.8478 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003496/0.1897, allocations: 63.89 kB / 0.8478 GB, free: 9.082 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 (20): * Single equations (assignments): 20 * 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.0002217/0.19, allocations: 144.8 kB / 0.848 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005232/0.1905, allocations: 173.7 kB / 0.8481 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.397e-05/0.1905, allocations: 7.984 kB / 0.8481 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002213/0.1907, allocations: 75.89 kB / 0.8482 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.1911, allocations: 43.89 kB / 0.8483 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009499/0.1921, allocations: 444.6 kB / 0.8487 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.1922, allocations: 103 kB / 0.8488 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.1923, allocations: 27.42 kB / 0.8488 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of SimCode: time 3.1e-07/0.1923, allocations: 0 / 0.8488 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of Templates: time 0.005085/0.1974, allocations: 2.837 MB / 0.8516 GB, free: 5.215 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.145394641906023] Failed to read output from testmodel.py, exit status != 0: 0.20468696113675833 0.218944684 0.040008085000000006 Calling exit ...