Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.001349, allocations: 104 kB / 16.94 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 189.3 kB / 17.86 MB, free: 5.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 222.9 MB / 241.6 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8191/0.8191, allocations: 125.4 MB / 417.1 MB, free: 13.62 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002845/0.002845, allocations: 63.89 kB / 0.4948 GB, free: 4.426 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4159/0.4188, allocations: 78.57 MB / 0.5715 GB, free: 31.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.00724/0.4261, allocations: 4.022 MB / 0.5754 GB, free: 28.8 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004004/0.4301, allocations: 2.438 MB / 0.5778 GB, free: 27.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002405/0.4305, allocations: 2.469 kB / 0.5778 GB, free: 27.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003911/0.4309, allocations: 46.8 kB / 0.5779 GB, free: 27.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004407/0.4313, allocations: 99.03 kB / 0.578 GB, free: 27.01 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002307/0.4337, allocations: 0.5132 MB / 0.5785 GB, free: 26.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005273/0.4342, allocations: 264.2 kB / 0.5787 GB, free: 26.64 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.798e-05/0.4343, allocations: 10.34 kB / 0.5787 GB, free: 26.63 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003115/0.4346, allocations: 111 kB / 0.5788 GB, free: 26.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002122/0.4348, allocations: 98.95 kB / 0.5789 GB, free: 26.55 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.516e-05/0.4349, allocations: 7.688 kB / 0.5789 GB, free: 26.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001572/0.4365, allocations: 452.2 kB / 0.5794 GB, free: 26.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.4366, allocations: 44.8 kB / 0.5794 GB, free: 26.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001691/0.4368, allocations: 87.06 kB / 0.5795 GB, free: 26.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001109/0.4379, allocations: 405.4 kB / 0.5799 GB, free: 26.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.4379, allocations: 1.375 kB / 0.5799 GB, free: 26.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4379, allocations: 0 / 0.5799 GB, free: 26.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.779e-06/0.4379, allocations: 3.438 kB / 0.5799 GB, free: 26.18 MB / 446.1 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.0009758/0.4389, allocations: 0.5084 MB / 0.5804 GB, free: 25.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.931e-05/0.439, allocations: 10.22 kB / 0.5804 GB, free: 25.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003/0.442, allocations: 184.8 kB / 0.5806 GB, free: 25.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003088/0.4423, allocations: 210.4 kB / 0.5808 GB, free: 25.38 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.438e-05/0.4424, allocations: 10.73 kB / 0.5808 GB, free: 25.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.832e-05/0.4424, allocations: 19.36 kB / 0.5808 GB, free: 25.37 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008966/0.4433, allocations: 315.2 kB / 0.5811 GB, free: 25.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.4434, allocations: 0 / 0.5811 GB, free: 25.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.084e-05/0.4435, allocations: 12.03 kB / 0.5811 GB, free: 25.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.021e-05/0.4435, allocations: 7.031 kB / 0.5811 GB, free: 25.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.4446, allocations: 264.2 kB / 0.5814 GB, free: 24.99 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00201/0.4466, allocations: 1.399 MB / 0.5827 GB, free: 23.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009414/0.4476, allocations: 193.8 kB / 0.5829 GB, free: 23.51 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003337/0.448, allocations: 78.94 kB / 0.583 GB, free: 23.47 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.844e-05/0.448, allocations: 6.266 kB / 0.583 GB, free: 23.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.125e-05/0.4481, allocations: 42.62 kB / 0.583 GB, free: 23.42 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 2.414e-06/0.4481, allocations: 0 / 0.583 GB, free: 23.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.001216/0.4493, allocations: 242.6 kB / 0.5833 GB, free: 23.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.4493, allocations: 56.66 kB / 0.5833 GB, free: 23.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001967/0.4496, allocations: 162.8 kB / 0.5835 GB, free: 23.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.372e-05/0.4496, allocations: 27.67 kB / 0.5835 GB, free: 23.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.582e-05/0.4497, allocations: 126.7 kB / 0.5836 GB, free: 22.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.775e-05/0.4498, allocations: 62.38 kB / 0.5837 GB, free: 22.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.4499, allocations: 46.77 kB / 0.5837 GB, free: 22.85 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.497e-05/0.45, allocations: 326.6 kB / 0.584 GB, free: 22.53 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000305/0.4503, allocations: 68.66 kB / 0.5841 GB, free: 22.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000347/0.4506, allocations: 142 kB / 0.5842 GB, free: 22.37 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006648/0.4513, allocations: 220.1 kB / 0.5845 GB, free: 22.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.4513, allocations: 1.219 kB / 0.5845 GB, free: 22.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009078/0.4523, allocations: 254.1 kB / 0.5847 GB, free: 22.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.296e-05/0.4523, allocations: 6.719 kB / 0.5847 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.4523, allocations: 3.969 kB / 0.5847 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.539e-05/0.4524, allocations: 2.906 kB / 0.5847 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005735/0.453, allocations: 62.3 kB / 0.5848 GB, free: 22.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.532e-05/0.453, allocations: 9.469 kB / 0.5848 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003688/0.4534, allocations: 36.17 kB / 0.5848 GB, free: 22.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.435e-05/0.4534, allocations: 8.188 kB / 0.5848 GB, free: 22.03 MB / 446.1 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 0.0001886/0.4536, allocations: 134.9 kB / 0.5849 GB, free: 21.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.495e-05/0.4537, allocations: 15.34 kB / 0.585 GB, free: 21.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009305/0.4547, allocations: 233.4 kB / 0.5852 GB, free: 21.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.4547, allocations: 2.656 kB / 0.5852 GB, free: 21.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.944e-06/0.4547, allocations: 0 / 0.5852 GB, free: 21.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.4547, allocations: 3.984 kB / 0.5852 GB, free: 21.74 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004093/0.4551, allocations: 237.8 kB / 0.5854 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.4551, allocations: 0 / 0.5854 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004376/0.4556, allocations: 50.7 kB / 0.5855 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.4556, allocations: 1.531 kB / 0.5855 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/0.4557, allocations: 2.969 kB / 0.5855 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.4557, allocations: 1.531 kB / 0.5855 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.4557, allocations: 4 kB / 0.5855 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000843/0.4565, allocations: 299.2 kB / 0.5858 GB, free: 21.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001514/0.4567, allocations: 112.6 kB / 0.5859 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.474e-05/0.4568, allocations: 2.031 kB / 0.5859 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004085/0.4572, allocations: 25.77 kB / 0.5859 GB, free: 21.13 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/0.4572, allocations: 8.484 kB / 0.5859 GB, free: 21.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.799e-05/0.4573, allocations: 11.03 kB / 0.5859 GB, free: 21.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001058/0.4574, allocations: 115.5 kB / 0.586 GB, free: 21.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4574, allocations: 0 / 0.586 GB, free: 21.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006325/0.4581, allocations: 67.52 kB / 0.5861 GB, free: 21.02 MB / 446.1 MB 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.0002643/0.4583, allocations: 136.9 kB / 0.5862 GB, free: 20.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000777/0.4591, allocations: 189.5 kB / 0.5864 GB, free: 20.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.4591, allocations: 3.938 kB / 0.5864 GB, free: 20.83 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003336/0.4595, allocations: 92.08 kB / 0.5865 GB, free: 20.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008119/0.4603, allocations: 64.05 kB / 0.5866 GB, free: 20.76 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.4616, allocations: 443.2 kB / 0.587 GB, free: 20.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000166/0.4618, allocations: 0.7193 MB / 0.5877 GB, free: 19.74 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.462, allocations: 31.59 kB / 0.5877 GB, free: 19.73 MB / 446.1 MB Notification: Performance of SimCode: time 4.11e-07/0.462, allocations: 0 / 0.5877 GB, free: 19.73 MB / 446.1 MB Notification: Performance of Templates: time 0.00716/0.4692, allocations: 2.921 MB / 0.5906 GB, free: 18.21 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)