Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.005521/0.005521, allocations: 101.1 kB / 15.73 MB, free: 6.051 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.001265/0.001265, allocations: 191.2 kB / 16.67 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.587/1.587, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4948/0.4948, allocations: 54.95 MB / 324.8 MB, free: 8 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 72.2 kB / 456.3 MB, free: 38.47 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.159, allocations: 59.58 MB / 0.5038 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005111/0.1642, allocations: 4.027 MB / 0.5077 GB, free: 6.523 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002189/0.1664, allocations: 2.401 MB / 0.5101 GB, free: 4.426 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.44e-05/0.1665, allocations: 7.875 kB / 0.5101 GB, free: 4.418 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000325/0.1668, allocations: 47.72 kB / 0.5101 GB, free: 4.371 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003193/0.1671, allocations: 103.3 kB / 0.5102 GB, free: 4.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.1682, allocations: 0.5184 MB / 0.5107 GB, free: 3.754 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002818/0.1685, allocations: 255.9 kB / 0.511 GB, free: 3.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5e-05/0.1686, allocations: 9.562 kB / 0.511 GB, free: 3.492 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001986/0.1688, allocations: 119.5 kB / 0.5111 GB, free: 3.375 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.1689, allocations: 91.66 kB / 0.5112 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.169, allocations: 8 kB / 0.5112 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006503/0.1696, allocations: 439.2 kB / 0.5116 GB, free: 2.848 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.069e-05/0.1697, allocations: 31.89 kB / 0.5117 GB, free: 2.816 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.362e-05/0.1698, allocations: 91.64 kB / 0.5117 GB, free: 2.727 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005725/0.1704, allocations: 395 kB / 0.5121 GB, free: 2.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.1704, allocations: 4 kB / 0.5121 GB, free: 2.336 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.1704, allocations: 0 / 0.5121 GB, free: 2.336 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.1704, allocations: 0 / 0.5121 GB, free: 2.336 MB / 382.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.0008285/0.1713, allocations: 0.4915 MB / 0.5126 GB, free: 1.793 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.1713, allocations: 8.031 kB / 0.5126 GB, free: 1.785 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00184/0.1732, allocations: 172.5 kB / 0.5128 GB, free: 1.617 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.1734, allocations: 216 kB / 0.513 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.873e-05/0.1735, allocations: 12.7 kB / 0.513 GB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.553e-05/0.1735, allocations: 20.36 kB / 0.513 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005514/0.1741, allocations: 308.3 kB / 0.5133 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.1741, allocations: 8 kB / 0.5133 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.345e-05/0.1741, allocations: 7.938 kB / 0.5133 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.984e-05/0.1741, allocations: 8 kB / 0.5133 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005999/0.1747, allocations: 255.6 kB / 0.5136 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001434/0.1762, allocations: 1.392 MB / 0.5149 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006595/0.1769, allocations: 190.5 kB / 0.5151 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00023/0.1771, allocations: 76.81 kB / 0.5152 GB, free: 14.94 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.434e-05/0.1771, allocations: 4 kB / 0.5152 GB, free: 14.94 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.1772, allocations: 38.5 kB / 0.5152 GB, free: 14.89 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 4.078e-06/0.1772, allocations: 0 / 0.5152 GB, free: 14.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007758/0.178, allocations: 255.6 kB / 0.5155 GB, free: 14.64 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.178, allocations: 55.41 kB / 0.5155 GB, free: 14.57 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.1782, allocations: 158.9 kB / 0.5157 GB, free: 14.4 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.285e-05/0.1782, allocations: 25.7 kB / 0.5157 GB, free: 14.37 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.446e-05/0.1783, allocations: 132 kB / 0.5158 GB, free: 14.24 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.043e-05/0.1784, allocations: 67.08 kB / 0.5159 GB, free: 14.17 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.932e-05/0.1785, allocations: 45.84 kB / 0.5159 GB, free: 14.12 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.1786, allocations: 330.8 kB / 0.5163 GB, free: 13.79 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/0.1789, allocations: 60.42 kB / 0.5163 GB, free: 13.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002675/0.1791, allocations: 142.3 kB / 0.5164 GB, free: 13.56 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004617/0.1796, allocations: 221.2 kB / 0.5167 GB, free: 13.31 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1796, allocations: 0 / 0.5167 GB, free: 13.31 MB / 398.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005649/0.1802, allocations: 255.2 kB / 0.5169 GB, free: 13.05 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.1802, allocations: 8.062 kB / 0.5169 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1802, allocations: 4 kB / 0.5169 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.1802, allocations: 4 kB / 0.5169 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003334/0.1806, allocations: 59.89 kB / 0.517 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.1806, allocations: 4 kB / 0.517 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002197/0.1808, allocations: 31.77 kB / 0.517 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.1809, allocations: 8 kB / 0.517 GB, free: 12.94 MB / 398.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.0001383/0.181, allocations: 141.7 kB / 0.5172 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.155e-05/0.1811, allocations: 15.81 kB / 0.5172 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006336/0.1817, allocations: 230 kB / 0.5174 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.1817, allocations: 7.984 kB / 0.5174 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1817, allocations: 0 / 0.5174 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.1817, allocations: 0 / 0.5174 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003134/0.1821, allocations: 241.4 kB / 0.5176 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1821, allocations: 3.938 kB / 0.5176 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002951/0.1824, allocations: 51.95 kB / 0.5177 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1824, allocations: 0 / 0.5177 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/0.1824, allocations: 8 kB / 0.5177 GB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.1824, allocations: 0 / 0.5177 GB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.073e-05/0.1824, allocations: 0 / 0.5177 GB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005886/0.183, allocations: 311 kB / 0.518 GB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.1832, allocations: 104.9 kB / 0.5181 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.803e-05/0.1832, allocations: 0 / 0.5181 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002484/0.1835, allocations: 15.98 kB / 0.5181 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.1835, allocations: 7.984 kB / 0.5181 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.98e-05/0.1836, allocations: 12 kB / 0.5181 GB, free: 11.71 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.923e-05/0.1837, allocations: 115.1 kB / 0.5182 GB, free: 11.6 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1837, allocations: 0 / 0.5182 GB, free: 11.6 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004314/0.1841, allocations: 59.91 kB / 0.5183 GB, free: 11.54 MB / 398.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.0003001/0.1844, allocations: 131.3 kB / 0.5184 GB, free: 11.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005735/0.185, allocations: 179.8 kB / 0.5186 GB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.185, allocations: 4 kB / 0.5186 GB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002264/0.1852, allocations: 87.83 kB / 0.5187 GB, free: 11.14 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005293/0.1858, allocations: 67.42 kB / 0.5187 GB, free: 11.08 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009707/0.1868, allocations: 403.4 kB / 0.5191 GB, free: 10.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.1871, allocations: 0.7134 MB / 0.5198 GB, free: 9.918 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002419/0.1873, allocations: 53.92 kB / 0.5199 GB, free: 9.863 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.6e-05/0.1874, allocations: 23.42 kB / 0.5199 GB, free: 9.84 MB / 398.1 MB Notification: Performance of SimCode: time 4.7e-07/0.1874, allocations: 0 / 0.5199 GB, free: 9.84 MB / 398.1 MB Notification: Performance of Templates: time 0.007396/0.1948, allocations: 3.334 MB / 0.5231 GB, free: 6.547 MB / 398.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)