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.001302/0.001302, allocations: 103 kB / 16.35 MB, free: 5.875 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.001038/0.001038, allocations: 196.1 kB / 17.3 MB, free: 5.516 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.284/1.284, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7785/0.7785, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001225, allocations: 55.91 kB / 0.5067 GB, free: 7.652 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3561, allocations: 80.92 MB / 0.5858 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004603/0.3607, allocations: 4.045 MB / 0.5897 GB, free: 22.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.3627, allocations: 2.433 MB / 0.5921 GB, free: 19.99 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.921e-05/0.3628, allocations: 0.5312 kB / 0.5921 GB, free: 19.99 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002812/0.3631, allocations: 48.45 kB / 0.5921 GB, free: 19.95 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002642/0.3634, allocations: 100.6 kB / 0.5922 GB, free: 19.85 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.3646, allocations: 0.5171 MB / 0.5927 GB, free: 19.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002515/0.3649, allocations: 259.9 kB / 0.593 GB, free: 19.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.901e-05/0.3649, allocations: 11.28 kB / 0.593 GB, free: 19.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.3651, allocations: 119.5 kB / 0.5931 GB, free: 18.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.3652, allocations: 100.2 kB / 0.5932 GB, free: 18.86 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.3653, allocations: 8 kB / 0.5932 GB, free: 18.86 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006853/0.3659, allocations: 457 kB / 0.5936 GB, free: 18.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.526e-05/0.366, allocations: 43.83 kB / 0.5937 GB, free: 18.37 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.551e-05/0.3661, allocations: 83.59 kB / 0.5938 GB, free: 18.29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004994/0.3666, allocations: 412.7 kB / 0.5942 GB, free: 17.89 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3666, allocations: 2.531 kB / 0.5942 GB, free: 17.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3666, allocations: 0 / 0.5942 GB, free: 17.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.3666, allocations: 0 / 0.5942 GB, free: 17.89 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.0006508/0.3673, allocations: 0.5031 MB / 0.5947 GB, free: 17.33 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.3673, allocations: 9.109 kB / 0.5947 GB, free: 17.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001795/0.3691, allocations: 179.8 kB / 0.5948 GB, free: 17.15 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002686/0.3694, allocations: 208.9 kB / 0.595 GB, free: 16.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/0.3695, allocations: 20.64 kB / 0.5951 GB, free: 16.89 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.146e-05/0.3695, allocations: 16.91 kB / 0.5951 GB, free: 16.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000518/0.37, allocations: 305.2 kB / 0.5954 GB, free: 16.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.37, allocations: 0 / 0.5954 GB, free: 16.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.183e-05/0.3701, allocations: 11.98 kB / 0.5954 GB, free: 16.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.892e-05/0.3701, allocations: 4.5 kB / 0.5954 GB, free: 16.53 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005836/0.3707, allocations: 262.5 kB / 0.5956 GB, free: 16.28 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00129/0.372, allocations: 1.388 MB / 0.597 GB, free: 14.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005419/0.3726, allocations: 188.1 kB / 0.5972 GB, free: 14.59 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001812/0.3727, allocations: 84.16 kB / 0.5972 GB, free: 14.51 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.3728, allocations: 4.953 kB / 0.5972 GB, free: 14.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.3728, allocations: 38.56 kB / 0.5973 GB, free: 14.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.272e-06/0.3728, allocations: 1.156 kB / 0.5973 GB, free: 14.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006525/0.3735, allocations: 247.8 kB / 0.5975 GB, free: 14.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.3735, allocations: 51.41 kB / 0.5976 GB, free: 14.15 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.3736, allocations: 160.5 kB / 0.5977 GB, free: 13.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.3736, allocations: 30.45 kB / 0.5978 GB, free: 13.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.844e-05/0.3737, allocations: 129.4 kB / 0.5979 GB, free: 13.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.298e-05/0.3737, allocations: 59.11 kB / 0.5979 GB, free: 13.76 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.218e-05/0.3738, allocations: 49.92 kB / 0.598 GB, free: 13.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.931e-05/0.3739, allocations: 326.1 kB / 0.5983 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.374, allocations: 64.36 kB / 0.5983 GB, free: 13.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/0.3742, allocations: 141.9 kB / 0.5985 GB, free: 13.15 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000365/0.3746, allocations: 221.5 kB / 0.5987 GB, free: 12.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3746, allocations: 0 / 0.5987 GB, free: 12.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004755/0.3751, allocations: 254.3 kB / 0.5989 GB, free: 12.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.3751, allocations: 4 kB / 0.5989 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.3751, allocations: 7.938 kB / 0.599 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.3752, allocations: 4 kB / 0.599 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003139/0.3755, allocations: 62.05 kB / 0.599 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.3755, allocations: 7.984 kB / 0.599 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/0.3757, allocations: 31.69 kB / 0.5991 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/0.3757, allocations: 15.98 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 8.554e-05/0.3758, allocations: 135.3 kB / 0.5992 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.596e-05/0.3759, allocations: 17.25 kB / 0.5992 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005067/0.3764, allocations: 226.7 kB / 0.5994 GB, free: 12.15 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.3764, allocations: 4 kB / 0.5994 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3764, allocations: 0.9688 kB / 0.5994 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3764, allocations: 0 / 0.5994 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/0.3767, allocations: 257.3 kB / 0.5997 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3767, allocations: 0.5 kB / 0.5997 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002724/0.3769, allocations: 45 kB / 0.5997 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3769, allocations: 1.219 kB / 0.5997 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.377, allocations: 7.984 kB / 0.5997 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.377, allocations: 11.94 kB / 0.5997 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.377, allocations: 0 / 0.5997 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004191/0.3774, allocations: 288.5 kB / 0.6 GB, free: 11.49 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.907e-05/0.3775, allocations: 111.2 kB / 0.6001 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.059e-05/0.3775, allocations: 4 kB / 0.6001 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002456/0.3778, allocations: 15.97 kB / 0.6001 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.647e-05/0.3778, allocations: 15.98 kB / 0.6002 GB, free: 11.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.3778, allocations: 4 kB / 0.6002 GB, free: 11.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.764e-05/0.3779, allocations: 123.5 kB / 0.6003 GB, free: 11.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3779, allocations: 0 / 0.6003 GB, free: 11.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003398/0.3783, allocations: 64.12 kB / 0.6003 GB, free: 11.14 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.0001997/0.3785, allocations: 140.1 kB / 0.6005 GB, free: 11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004639/0.3789, allocations: 194.1 kB / 0.6007 GB, free: 10.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.379, allocations: 0 / 0.6007 GB, free: 10.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001983/0.3792, allocations: 87.3 kB / 0.6007 GB, free: 10.74 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004438/0.3796, allocations: 67.81 kB / 0.6008 GB, free: 10.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009201/0.3805, allocations: 411.6 kB / 0.6012 GB, free: 10.24 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002085/0.3808, allocations: 0.7173 MB / 0.6019 GB, free: 9.496 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002179/0.381, allocations: 49.92 kB / 0.6019 GB, free: 9.449 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.158e-05/0.3811, allocations: 31.38 kB / 0.602 GB, free: 9.418 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3811, allocations: 0 / 0.602 GB, free: 9.418 MB / 446.1 MB Notification: Performance of Templates: time 0.006649/0.3877, allocations: 3.393 MB / 0.6053 GB, free: 6.098 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 cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)