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.005588/0.005588, allocations: 104.5 kB / 15.73 MB, free: 6.043 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.001221/0.001221, allocations: 192.1 kB / 16.67 MB, free: 5.973 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9565/0.9565, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 59.91 kB / 0.5857 GB, free: 3.289 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5323/0.5335, allocations: 80.91 MB / 0.6647 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005442/0.539, allocations: 4.051 MB / 0.6687 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002437/0.5414, allocations: 2.425 MB / 0.671 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.5416, allocations: 5.188 kB / 0.671 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003422/0.5419, allocations: 48.91 kB / 0.6711 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003336/0.5423, allocations: 107.8 kB / 0.6712 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001541/0.5438, allocations: 0.5332 MB / 0.6717 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003644/0.5442, allocations: 267.5 kB / 0.672 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.571e-05/0.5443, allocations: 8.969 kB / 0.672 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002446/0.5445, allocations: 116.2 kB / 0.6721 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.5447, allocations: 99 kB / 0.6722 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.939e-05/0.5447, allocations: 9.5 kB / 0.6722 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000893/0.5456, allocations: 458.4 kB / 0.6726 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.519e-05/0.5457, allocations: 37.95 kB / 0.6727 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.5459, allocations: 85.3 kB / 0.6727 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007177/0.5466, allocations: 408.5 kB / 0.6731 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.5466, allocations: 1.5 kB / 0.6731 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5466, allocations: 0 / 0.6731 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.904e-06/0.5466, allocations: 0 / 0.6731 GB, free: 1.055 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.000914/0.5475, allocations: 0.5034 MB / 0.6736 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.5476, allocations: 9.156 kB / 0.6736 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00201/0.5496, allocations: 182 kB / 0.6738 GB, free: 496 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.5499, allocations: 214.1 kB / 0.674 GB, free: 256 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.943e-05/0.55, allocations: 11.45 kB / 0.674 GB, free: 252 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.055e-05/0.55, allocations: 18.72 kB / 0.674 GB, free: 244 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006761/0.5507, allocations: 302.1 kB / 0.6743 GB, free: 0 / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.5507, allocations: 1.156 kB / 0.6743 GB, free: 0 / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.855e-05/0.5508, allocations: 11.33 kB / 0.6743 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.143e-05/0.5508, allocations: 8.766 kB / 0.6743 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007725/0.5516, allocations: 260 kB / 0.6746 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001777/0.5534, allocations: 1.379 MB / 0.6759 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007034/0.5541, allocations: 195.4 kB / 0.6761 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002422/0.5544, allocations: 76.91 kB / 0.6762 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.009e-05/0.5544, allocations: 6.219 kB / 0.6762 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.5545, allocations: 49.17 kB / 0.6763 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.553e-06/0.5545, allocations: 0 / 0.6763 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0008297/0.5553, allocations: 247.2 kB / 0.6765 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.5554, allocations: 52.44 kB / 0.6765 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.5555, allocations: 162.5 kB / 0.6767 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/0.5556, allocations: 31.89 kB / 0.6767 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.749e-05/0.5557, allocations: 129.9 kB / 0.6768 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.898e-05/0.5557, allocations: 59.17 kB / 0.6769 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.525e-05/0.5558, allocations: 51.36 kB / 0.677 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.556, allocations: 325.5 kB / 0.6773 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000219/0.5562, allocations: 63.67 kB / 0.6773 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002836/0.5565, allocations: 144.4 kB / 0.6775 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005219/0.557, allocations: 226.3 kB / 0.6777 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.557, allocations: 0 / 0.6777 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006017/0.5576, allocations: 255 kB / 0.6779 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.5577, allocations: 6.438 kB / 0.6779 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.5577, allocations: 2.844 kB / 0.6779 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.5577, allocations: 3.062 kB / 0.6779 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003548/0.5581, allocations: 62.39 kB / 0.678 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.565e-05/0.5581, allocations: 11.58 kB / 0.678 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002257/0.5583, allocations: 27.38 kB / 0.678 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.943e-05/0.5584, allocations: 17.52 kB / 0.678 GB, free: 12.87 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.0001398/0.5585, allocations: 134.4 kB / 0.6782 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.022e-05/0.5586, allocations: 19.86 kB / 0.6782 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006736/0.5593, allocations: 225.9 kB / 0.6784 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.5593, allocations: 3.125 kB / 0.6784 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.5593, allocations: 0 / 0.6784 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.5593, allocations: 0 / 0.6784 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002986/0.5596, allocations: 245.5 kB / 0.6786 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.5596, allocations: 4 kB / 0.6787 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003222/0.5599, allocations: 50.19 kB / 0.6787 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.5599, allocations: 1.094 kB / 0.6787 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.56, allocations: 5.141 kB / 0.6787 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.56, allocations: 1.219 kB / 0.6787 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.56, allocations: 0 / 0.6787 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005982/0.5606, allocations: 305.5 kB / 0.679 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.5607, allocations: 108.8 kB / 0.6791 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.504e-05/0.5607, allocations: 1.312 kB / 0.6791 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002695/0.561, allocations: 22 kB / 0.6791 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.127e-05/0.5611, allocations: 9.078 kB / 0.6791 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.879e-05/0.5611, allocations: 10.84 kB / 0.6791 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.742e-05/0.5612, allocations: 122.8 kB / 0.6793 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5612, allocations: 0 / 0.6793 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003947/0.5616, allocations: 63.81 kB / 0.6793 GB, free: 11.84 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.0002465/0.5619, allocations: 132 kB / 0.6794 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005773/0.5624, allocations: 184.3 kB / 0.6796 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.5625, allocations: 1.25 kB / 0.6796 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002566/0.5627, allocations: 86.67 kB / 0.6797 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005129/0.5632, allocations: 66.2 kB / 0.6798 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.5643, allocations: 405.5 kB / 0.6802 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.5646, allocations: 0.719 MB / 0.6809 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002555/0.5649, allocations: 52.7 kB / 0.6809 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.297e-05/0.565, allocations: 19.88 kB / 0.6809 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of SimCode: time 2.11e-07/0.565, allocations: 0 / 0.6809 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of Templates: time 0.008053/0.573, allocations: 3.424 MB / 0.6843 GB, free: 8.84 MB / 0.5137 GB 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)