Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001207/0.001207, allocations: 103.7 kB / 16.35 MB, free: 5.824 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.001227/0.001227, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.358/1.358, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8182/0.8182, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 63.89 kB / 0.5067 GB, free: 7.648 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4587/0.4608, allocations: 80.91 MB / 0.5858 GB, free: 25.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005314/0.4662, allocations: 4.037 MB / 0.5897 GB, free: 22.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002247/0.4685, allocations: 2.44 MB / 0.5921 GB, free: 20 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.4686, allocations: 0 / 0.5921 GB, free: 20 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003009/0.4689, allocations: 44.34 kB / 0.5921 GB, free: 19.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003026/0.4693, allocations: 96.62 kB / 0.5922 GB, free: 19.87 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001311/0.4706, allocations: 0.5161 MB / 0.5927 GB, free: 19.36 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002702/0.4709, allocations: 260.4 kB / 0.593 GB, free: 19.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.211e-05/0.471, allocations: 22.66 kB / 0.593 GB, free: 19.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001837/0.4712, allocations: 116.1 kB / 0.5931 GB, free: 18.97 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.4713, allocations: 96.64 kB / 0.5932 GB, free: 18.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.4713, allocations: 8 kB / 0.5932 GB, free: 18.87 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007198/0.4721, allocations: 459.2 kB / 0.5936 GB, free: 18.42 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.067e-05/0.4721, allocations: 44.38 kB / 0.5937 GB, free: 18.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.222e-05/0.4722, allocations: 80.23 kB / 0.5938 GB, free: 18.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005343/0.4728, allocations: 408.7 kB / 0.5941 GB, free: 17.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4728, allocations: 2.344 kB / 0.5941 GB, free: 17.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.4728, allocations: 0 / 0.5941 GB, free: 17.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.4728, allocations: 0 / 0.5941 GB, free: 17.91 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.0006891/0.4735, allocations: 0.5109 MB / 0.5946 GB, free: 17.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.4736, allocations: 13.67 kB / 0.5947 GB, free: 17.33 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001858/0.4754, allocations: 171.8 kB / 0.5948 GB, free: 17.17 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002824/0.4757, allocations: 221.8 kB / 0.595 GB, free: 16.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/0.4758, allocations: 12.7 kB / 0.595 GB, free: 16.9 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/0.4758, allocations: 16.38 kB / 0.5951 GB, free: 16.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005497/0.4763, allocations: 304.1 kB / 0.5954 GB, free: 16.56 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.4764, allocations: 4 kB / 0.5954 GB, free: 16.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.202e-05/0.4764, allocations: 12.47 kB / 0.5954 GB, free: 16.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.895e-05/0.4764, allocations: 4.938 kB / 0.5954 GB, free: 16.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005984/0.477, allocations: 261.4 kB / 0.5956 GB, free: 16.29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.4784, allocations: 1.384 MB / 0.597 GB, free: 14.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005505/0.4789, allocations: 191.8 kB / 0.5972 GB, free: 14.6 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/0.4791, allocations: 83.31 kB / 0.5972 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.4792, allocations: 4 kB / 0.5972 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.4792, allocations: 34.56 kB / 0.5973 GB, free: 14.47 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.743e-06/0.4792, allocations: 0 / 0.5973 GB, free: 14.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006761/0.4799, allocations: 251.6 kB / 0.5975 GB, free: 14.22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.4799, allocations: 55.94 kB / 0.5976 GB, free: 14.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.48, allocations: 158.5 kB / 0.5977 GB, free: 14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.4801, allocations: 29.7 kB / 0.5977 GB, free: 13.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.674e-05/0.4801, allocations: 124 kB / 0.5979 GB, free: 13.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.4802, allocations: 63.09 kB / 0.5979 GB, free: 13.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.266e-05/0.4803, allocations: 48.25 kB / 0.598 GB, free: 13.72 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.112e-05/0.4803, allocations: 322.8 kB / 0.5983 GB, free: 13.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/0.4805, allocations: 68.41 kB / 0.5983 GB, free: 13.33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/0.4807, allocations: 145.2 kB / 0.5985 GB, free: 13.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003804/0.4811, allocations: 220.1 kB / 0.5987 GB, free: 12.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.4811, allocations: 0 / 0.5987 GB, free: 12.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004808/0.4816, allocations: 248.6 kB / 0.5989 GB, free: 12.67 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.4817, allocations: 12.44 kB / 0.5989 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.4817, allocations: 4.797 kB / 0.5989 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.4817, allocations: 7.938 kB / 0.599 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003272/0.482, allocations: 65.11 kB / 0.599 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.482, allocations: 7.938 kB / 0.599 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000226/0.4823, allocations: 37.42 kB / 0.5991 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-05/0.4823, allocations: 12 kB / 0.5991 GB, free: 12.53 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 9.973e-05/0.4824, allocations: 135.6 kB / 0.5992 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.771e-05/0.4825, allocations: 19.81 kB / 0.5992 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005203/0.483, allocations: 223.7 kB / 0.5994 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.483, allocations: 0 / 0.5994 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.483, allocations: 0 / 0.5994 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.483, allocations: 7.984 kB / 0.5994 GB, free: 12.15 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002199/0.4832, allocations: 249.3 kB / 0.5997 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.4833, allocations: 0 / 0.5997 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000283/0.4835, allocations: 54.05 kB / 0.5997 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.4836, allocations: 0 / 0.5997 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/0.4836, allocations: 8 kB / 0.5997 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.4836, allocations: 0 / 0.5997 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4836, allocations: 0 / 0.5997 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004442/0.484, allocations: 293.7 kB / 0.6 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.429e-05/0.4841, allocations: 104.8 kB / 0.6001 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.473e-05/0.4842, allocations: 6.312 kB / 0.6001 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002791/0.4845, allocations: 19.92 kB / 0.6001 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.693e-05/0.4845, allocations: 11.98 kB / 0.6002 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.4845, allocations: 7.984 kB / 0.6002 GB, free: 11.33 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.673e-05/0.4846, allocations: 123 kB / 0.6003 GB, free: 11.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4846, allocations: 3.5 kB / 0.6003 GB, free: 11.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003504/0.4849, allocations: 68.11 kB / 0.6003 GB, free: 11.15 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.0001842/0.4851, allocations: 130.5 kB / 0.6005 GB, free: 11.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004709/0.4856, allocations: 184.5 kB / 0.6006 GB, free: 10.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4856, allocations: 3.438 kB / 0.6007 GB, free: 10.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001907/0.4858, allocations: 91.81 kB / 0.6007 GB, free: 10.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004306/0.4863, allocations: 67.36 kB / 0.6008 GB, free: 10.69 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008378/0.4871, allocations: 408 kB / 0.6012 GB, free: 10.26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/0.4873, allocations: 0.7134 MB / 0.6019 GB, free: 9.516 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002253/0.4875, allocations: 57.92 kB / 0.6019 GB, free: 9.461 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.095e-05/0.4876, allocations: 27.42 kB / 0.602 GB, free: 9.434 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4876, allocations: 0 / 0.602 GB, free: 9.434 MB / 446.1 MB Notification: Performance of Templates: time 0.005894/0.4935, allocations: 3.4 MB / 0.6053 GB, free: 6.109 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)