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.0009776/0.0009776, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009684/0.0009684, allocations: 169.3 kB / 23.02 MB, free: 1.551 MB / 18.57 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 0.9708/0.9708, allocations: 177.1 MB / 203.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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.001714/0.001714, allocations: 229.8 kB / 260.2 MB, free: 12.81 MB / 250.7 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 0.7678/0.7678, allocations: 138.4 MB / 455.1 MB, free: 30.02 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.5551 GB, free: 92 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.511e-05, allocations: 6.312 kB / 0.5552 GB, free: 84 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004903/0.004928, allocations: 4.234 MB / 0.5593 GB, free: 11.82 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00207/0.006998, allocations: 2.57 MB / 0.5618 GB, free: 9.238 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.007113, allocations: 7.938 kB / 0.5618 GB, free: 9.23 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000293/0.007406, allocations: 51.62 kB / 0.5619 GB, free: 9.18 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003072/0.007713, allocations: 119.2 kB / 0.562 GB, free: 9.062 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001409/0.009122, allocations: 0.6369 MB / 0.5626 GB, free: 8.426 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003162/0.009438, allocations: 287.7 kB / 0.5629 GB, free: 8.145 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.242e-05/0.009481, allocations: 5.812 kB / 0.5629 GB, free: 8.141 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002487/0.009729, allocations: 171.6 kB / 0.563 GB, free: 7.973 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.009851, allocations: 79.77 kB / 0.5631 GB, free: 7.895 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.009873, allocations: 8 kB / 0.5631 GB, free: 7.887 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006434/0.01052, allocations: 427 kB / 0.5635 GB, free: 7.469 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.162e-05/0.01061, allocations: 39.89 kB / 0.5636 GB, free: 7.43 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.439e-05/0.01068, allocations: 67.83 kB / 0.5636 GB, free: 7.363 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005897/0.01127, allocations: 410.8 kB / 0.564 GB, free: 6.961 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.01128, allocations: 0 / 0.564 GB, free: 6.961 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.01128, allocations: 0 / 0.564 GB, free: 6.961 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.01129, allocations: 0 / 0.564 GB, free: 6.961 MB / 490.7 MB 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.000991/0.01228, allocations: 0.5387 MB / 0.5645 GB, free: 6.383 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.01231, allocations: 8.75 kB / 0.5646 GB, free: 6.375 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/0.01339, allocations: 252 kB / 0.5648 GB, free: 6.129 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.0136, allocations: 160.4 kB / 0.5649 GB, free: 5.945 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.01362, allocations: 12.7 kB / 0.565 GB, free: 5.934 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.232e-05/0.01365, allocations: 16.38 kB / 0.565 GB, free: 5.918 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004259/0.01408, allocations: 0.4917 MB / 0.5655 GB, free: 5.328 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.01409, allocations: 8.125 kB / 0.5655 GB, free: 5.32 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.671e-05/0.01412, allocations: 16.06 kB / 0.5655 GB, free: 5.305 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.579e-05/0.01414, allocations: 8 kB / 0.5655 GB, free: 5.297 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002463/0.01439, allocations: 188.4 kB / 0.5657 GB, free: 5.113 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.01548, allocations: 1.626 MB / 0.5673 GB, free: 3.406 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002986/0.01577, allocations: 147 kB / 0.5674 GB, free: 3.25 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.749e-05/0.01585, allocations: 58.47 kB / 0.5674 GB, free: 3.191 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.01588, allocations: 4 kB / 0.5675 GB, free: 3.188 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.0159, allocations: 49.27 kB / 0.5675 GB, free: 3.129 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 1.513e-06/0.01591, allocations: 4 kB / 0.5675 GB, free: 3.125 MB / 490.7 MB Notification: Performance of matching and sorting (n=18): time 0.0003469/0.01625, allocations: 193.4 kB / 0.5677 GB, free: 2.93 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.01628, allocations: 55.41 kB / 0.5677 GB, free: 2.863 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.01638, allocations: 196.5 kB / 0.5679 GB, free: 2.656 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.0164, allocations: 33.7 kB / 0.568 GB, free: 2.617 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.079e-05/0.01647, allocations: 182.9 kB / 0.5681 GB, free: 2.434 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/0.01651, allocations: 63.47 kB / 0.5682 GB, free: 2.371 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.661e-05/0.01657, allocations: 55.55 kB / 0.5682 GB, free: 2.305 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.01669, allocations: 0.4962 MB / 0.5687 GB, free: 1.797 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.305e-05/0.01676, allocations: 40.44 kB / 0.5688 GB, free: 1.758 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.01688, allocations: 159.3 kB / 0.5689 GB, free: 1.559 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/0.01708, allocations: 204.3 kB / 0.5691 GB, free: 1.312 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.01709, allocations: 7.922 kB / 0.5691 GB, free: 1.305 MB / 490.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002736/0.01736, allocations: 220 kB / 0.5693 GB, free: 1.086 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.01738, allocations: 7.938 kB / 0.5693 GB, free: 1.078 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.01738, allocations: 4 kB / 0.5693 GB, free: 1.074 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.0174, allocations: 4 kB / 0.5693 GB, free: 1.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/0.01759, allocations: 63.89 kB / 0.5694 GB, free: 1.008 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/0.0176, allocations: 4 kB / 0.5694 GB, free: 1.004 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.777e-05/0.0177, allocations: 27.84 kB / 0.5694 GB, free: 0.9766 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.01772, allocations: 15.92 kB / 0.5695 GB, free: 0.9609 MB / 490.7 MB 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 9.254e-05/0.01781, allocations: 172.6 kB / 0.5696 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.17e-05/0.01785, allocations: 31.78 kB / 0.5697 GB, free: 0.75 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002759/0.01813, allocations: 179.6 kB / 0.5698 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.01813, allocations: 4 kB / 0.5698 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.01813, allocations: 0 / 0.5698 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.01814, allocations: 3.984 kB / 0.5698 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.01832, allocations: 184.5 kB / 0.57 GB, free: 360 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.01832, allocations: 0 / 0.57 GB, free: 360 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.01847, allocations: 51.91 kB / 0.5701 GB, free: 308 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.01848, allocations: 0 / 0.5701 GB, free: 308 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.01849, allocations: 11.92 kB / 0.5701 GB, free: 296 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.01849, allocations: 0 / 0.5701 GB, free: 296 kB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.0185, allocations: 4 kB / 0.5701 GB, free: 292 kB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002729/0.01877, allocations: 314.2 kB / 0.5704 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.897e-05/0.01883, allocations: 32 kB / 0.5704 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.01886, allocations: 7.922 kB / 0.5704 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.01897, allocations: 12 kB / 0.5704 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.808e-05/0.019, allocations: 15.95 kB / 0.5704 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.01901, allocations: 8 kB / 0.5704 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.68e-05/0.01907, allocations: 147.1 kB / 0.5706 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01907, allocations: 0 / 0.5706 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002632/0.01933, allocations: 79.88 kB / 0.5707 GB, free: 15.66 MB / 0.4948 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.0001917/0.01952, allocations: 127.1 kB / 0.5708 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002412/0.01976, allocations: 159.6 kB / 0.5709 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.01977, allocations: 4 kB / 0.5709 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.347e-05/0.01985, allocations: 75.58 kB / 0.571 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006083/0.02046, allocations: 76.3 kB / 0.5711 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008679/0.02133, allocations: 370.7 kB / 0.5714 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.594e-05/0.02137, allocations: 68.84 kB / 0.5715 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001712/0.02154, allocations: 53.45 kB / 0.5716 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.938e-05/0.02161, allocations: 28.48 kB / 0.5716 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of SimCode: time 1.182e-06/0.02162, allocations: 0 / 0.5716 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of Templates: time 0.005373/0.02699, allocations: 3.458 MB / 0.575 GB, free: 11.34 MB / 0.4948 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.000849337782711]