Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.009269/0.009269, allocations: 103.5 kB / 15.74 MB, free: 6.488 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.001918/0.001919, allocations: 195.2 kB / 16.68 MB, free: 6.375 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.525/1.525, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8151/0.8151, allocations: 132.2 MB / 422.7 MB, free: 1.664 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 59.91 kB / 0.5814 GB, free: 7.465 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4652/0.4668, allocations: 80.2 MB / 0.6597 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004717/0.4716, allocations: 4.059 MB / 0.6637 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002183/0.4738, allocations: 2.434 MB / 0.6661 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.435e-05/0.4739, allocations: 0 / 0.6661 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002858/0.4742, allocations: 44.94 kB / 0.6661 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002736/0.4745, allocations: 107.6 kB / 0.6662 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.4757, allocations: 0.5394 MB / 0.6667 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002992/0.476, allocations: 262.6 kB / 0.667 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.198e-05/0.4761, allocations: 17.09 kB / 0.667 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001973/0.4763, allocations: 111.8 kB / 0.6671 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.4764, allocations: 103.1 kB / 0.6672 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.4764, allocations: 8.125 kB / 0.6672 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007284/0.4772, allocations: 458.8 kB / 0.6677 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.373e-05/0.4773, allocations: 39.69 kB / 0.6677 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.095e-05/0.4774, allocations: 76.45 kB / 0.6678 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006243/0.478, allocations: 413.7 kB / 0.6682 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.478, allocations: 0 / 0.6682 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.653e-06/0.478, allocations: 0 / 0.6682 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.478, allocations: 0 / 0.6682 GB, free: 4.094 MB / 0.4981 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.0007078/0.4787, allocations: 0.5151 MB / 0.6687 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.4788, allocations: 9.719 kB / 0.6687 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001886/0.4807, allocations: 166 kB / 0.6688 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.481, allocations: 218.2 kB / 0.669 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.288e-05/0.481, allocations: 14.86 kB / 0.6691 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.264e-05/0.4811, allocations: 14.88 kB / 0.6691 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005946/0.4817, allocations: 315.6 kB / 0.6694 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.4817, allocations: 1.156 kB / 0.6694 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.485e-05/0.4817, allocations: 7.344 kB / 0.6694 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.183e-05/0.4818, allocations: 5.156 kB / 0.6694 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006349/0.4824, allocations: 262.7 kB / 0.6696 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.4837, allocations: 1.382 MB / 0.671 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005781/0.4843, allocations: 182.9 kB / 0.6712 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001974/0.4845, allocations: 80.66 kB / 0.6712 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.693e-05/0.4845, allocations: 14.05 kB / 0.6713 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.4845, allocations: 36.97 kB / 0.6713 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 2.454e-06/0.4845, allocations: 3.938 kB / 0.6713 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0007334/0.4853, allocations: 246.6 kB / 0.6715 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.4853, allocations: 57.88 kB / 0.6716 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.4854, allocations: 163.1 kB / 0.6717 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.4855, allocations: 30.98 kB / 0.6718 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.916e-05/0.4855, allocations: 122.8 kB / 0.6719 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.091e-05/0.4856, allocations: 63.02 kB / 0.6719 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.473e-05/0.4857, allocations: 51.59 kB / 0.672 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.912e-05/0.4858, allocations: 321.7 kB / 0.6723 GB, free: 436 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.486, allocations: 71.66 kB / 0.6724 GB, free: 400 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.4862, allocations: 140 kB / 0.6725 GB, free: 272 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000423/0.4866, allocations: 226.7 kB / 0.6727 GB, free: 92 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4866, allocations: 0 / 0.6727 GB, free: 92 kB / 0.4981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005582/0.4872, allocations: 256.2 kB / 0.673 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.4872, allocations: 8.656 kB / 0.673 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.4872, allocations: 2.469 kB / 0.673 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.4872, allocations: 4.156 kB / 0.673 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003465/0.4876, allocations: 61.67 kB / 0.673 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.4876, allocations: 4.156 kB / 0.673 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002297/0.4879, allocations: 35.8 kB / 0.6731 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.71e-05/0.4879, allocations: 12.81 kB / 0.6731 GB, free: 15.91 MB / 0.5137 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.0001238/0.488, allocations: 133.8 kB / 0.6732 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.253e-05/0.4881, allocations: 15.59 kB / 0.6732 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006481/0.4887, allocations: 228.5 kB / 0.6734 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.299e-06/0.4888, allocations: 2.812 kB / 0.6734 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4888, allocations: 0 / 0.6734 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.4888, allocations: 9.172 kB / 0.6735 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002839/0.4891, allocations: 244.3 kB / 0.6737 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.4891, allocations: 4 kB / 0.6737 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002941/0.4894, allocations: 46.05 kB / 0.6737 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.4894, allocations: 1 kB / 0.6737 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/0.4894, allocations: 6.156 kB / 0.6737 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.4894, allocations: 1.219 kB / 0.6737 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4894, allocations: 0 / 0.6737 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005596/0.49, allocations: 306.6 kB / 0.674 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001674/0.4902, allocations: 104.9 kB / 0.6741 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.242e-05/0.4902, allocations: 5.156 kB / 0.6741 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/0.4905, allocations: 13.77 kB / 0.6742 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.419e-05/0.4905, allocations: 13.48 kB / 0.6742 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.7e-05/0.4905, allocations: 13.48 kB / 0.6742 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.106e-05/0.4906, allocations: 115.4 kB / 0.6743 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4906, allocations: 1.312 kB / 0.6743 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003779/0.491, allocations: 67.17 kB / 0.6744 GB, free: 14.88 MB / 0.5137 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.0002333/0.4913, allocations: 133.5 kB / 0.6745 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005189/0.4918, allocations: 176 kB / 0.6747 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.4918, allocations: 1.812 kB / 0.6747 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002217/0.492, allocations: 97.2 kB / 0.6747 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004577/0.4925, allocations: 70.78 kB / 0.6748 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/0.4935, allocations: 397.5 kB / 0.6752 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.4939, allocations: 0.7155 MB / 0.6759 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002417/0.4941, allocations: 51.98 kB / 0.6759 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.879e-05/0.4942, allocations: 29.3 kB / 0.676 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of SimCode: time 3e-07/0.4942, allocations: 4 kB / 0.676 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of Templates: time 0.007724/0.5019, allocations: 3.404 MB / 0.6793 GB, free: 11.92 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)