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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01311/0.01311, allocations: 171.1 kB / 15.11 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.093/1.093, allocations: 135.2 MB / 151 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.887/1.887, allocations: 223.2 MB / 406.8 MB, free: 3.125 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 100.4 kB / 489.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004572/0.0004573, allocations: 12 kB / 0.5692 GB, free: 14.02 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5811/0.5816, allocations: 82.31 MB / 0.6495 GB, free: 35.98 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.045/1.627, allocations: 319.6 MB / 0.9616 GB, free: 4.617 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003654/1.627, allocations: 80.53 kB / 0.9617 GB, free: 4.574 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.04488/1.672, allocations: 16.8 MB / 0.9781 GB, free: 6.422 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.158e-06/1.672, allocations: 0 / 0.9781 GB, free: 6.422 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.315e-05/1.672, allocations: 4 kB / 0.9781 GB, free: 6.418 MB / 0.6198 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.001035/1.673, allocations: 497.6 kB / 0.9786 GB, free: 5.895 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.224e-05/1.673, allocations: 8.031 kB / 0.9786 GB, free: 5.887 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.293e-05/1.673, allocations: 57.73 kB / 0.9786 GB, free: 5.832 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001981/1.675, allocations: 174.1 kB / 0.9788 GB, free: 5.676 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003275/1.676, allocations: 209.9 kB / 0.979 GB, free: 5.438 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.187e-05/1.676, allocations: 8.266 kB / 0.979 GB, free: 5.434 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.921e-05/1.676, allocations: 23.42 kB / 0.979 GB, free: 5.418 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006703/1.676, allocations: 298.4 kB / 0.9793 GB, free: 5.145 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/1.676, allocations: 4 kB / 0.9793 GB, free: 5.141 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.718e-05/1.676, allocations: 11.31 kB / 0.9793 GB, free: 5.137 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.406e-05/1.677, allocations: 4 kB / 0.9793 GB, free: 5.133 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006759/1.677, allocations: 254.5 kB / 0.9796 GB, free: 4.934 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001878/1.679, allocations: 1.384 MB / 0.9809 GB, free: 3.512 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006817/1.68, allocations: 205.5 kB / 0.9811 GB, free: 3.344 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.784e-05/1.68, allocations: 11.97 kB / 0.9811 GB, free: 3.332 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/1.68, allocations: 30.56 kB / 0.9812 GB, free: 3.293 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 2.275e-06/1.68, allocations: 0 / 0.9812 GB, free: 3.293 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0007509/1.681, allocations: 245.5 kB / 0.9814 GB, free: 3.098 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/1.681, allocations: 59.36 kB / 0.9815 GB, free: 3.027 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/1.681, allocations: 136.2 kB / 0.9816 GB, free: 2.902 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.591e-05/1.681, allocations: 33.08 kB / 0.9816 GB, free: 2.867 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.534e-05/1.681, allocations: 122.7 kB / 0.9817 GB, free: 2.754 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.153e-05/1.681, allocations: 70.16 kB / 0.9818 GB, free: 2.691 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.606e-05/1.681, allocations: 7.562 kB / 0.9818 GB, free: 2.688 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001382/1.681, allocations: 325.8 kB / 0.9821 GB, free: 2.367 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/1.681, allocations: 62.36 kB / 0.9822 GB, free: 2.316 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000301/1.682, allocations: 135.5 kB / 0.9823 GB, free: 2.172 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002215/1.682, allocations: 85.31 kB / 0.9824 GB, free: 2.113 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/1.682, allocations: 4 kB / 0.9824 GB, free: 2.109 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005443/1.683, allocations: 250 kB / 0.9826 GB, free: 1.906 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/1.683, allocations: 8 kB / 0.9826 GB, free: 1.898 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/1.683, allocations: 0 / 0.9826 GB, free: 1.898 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/1.683, allocations: 4 kB / 0.9826 GB, free: 1.895 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003862/1.683, allocations: 67.89 kB / 0.9827 GB, free: 1.828 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.609e-05/1.683, allocations: 11.92 kB / 0.9827 GB, free: 1.816 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002566/1.683, allocations: 35.39 kB / 0.9827 GB, free: 1.785 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/1.683, allocations: 15.86 kB / 0.9828 GB, free: 1.773 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001315/1.683, allocations: 127.9 kB / 0.9829 GB, free: 1.648 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.466e-05/1.683, allocations: 11.91 kB / 0.9829 GB, free: 1.637 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006412/1.684, allocations: 234.7 kB / 0.9831 GB, free: 1.457 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/1.684, allocations: 0 / 0.9831 GB, free: 1.457 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/1.684, allocations: 4 kB / 0.9831 GB, free: 1.453 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/1.684, allocations: 0 / 0.9831 GB, free: 1.453 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000303/1.684, allocations: 246.7 kB / 0.9834 GB, free: 1.191 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/1.684, allocations: 12 kB / 0.9834 GB, free: 1.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003282/1.685, allocations: 51.89 kB / 0.9834 GB, free: 1.129 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/1.685, allocations: 0 / 0.9834 GB, free: 1.129 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/1.685, allocations: 7.438 kB / 0.9834 GB, free: 1.125 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/1.685, allocations: 0 / 0.9834 GB, free: 1.125 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/1.685, allocations: 0 / 0.9834 GB, free: 1.125 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005377/1.685, allocations: 302.8 kB / 0.9837 GB, free: 0.8555 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/1.686, allocations: 108.7 kB / 0.9838 GB, free: 0.7344 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.379e-05/1.686, allocations: 3.812 kB / 0.9838 GB, free: 0.7344 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002894/1.686, allocations: 19.97 kB / 0.9838 GB, free: 0.7148 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-05/1.686, allocations: 14.92 kB / 0.9839 GB, free: 0.7031 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.469e-05/1.686, allocations: 7.188 kB / 0.9839 GB, free: 0.6992 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001123/1.686, allocations: 117.7 kB / 0.984 GB, free: 0.5938 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.976e-06/1.686, allocations: 0 / 0.984 GB, free: 0.5938 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004291/1.687, allocations: 71.31 kB / 0.984 GB, free: 0.5312 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009898/1.688, allocations: 0.8586 MB / 0.9849 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005042/1.688, allocations: 186.7 kB / 0.9851 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/1.688, allocations: 0 / 0.9851 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002146/1.688, allocations: 85.94 kB / 0.9851 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/1.689, allocations: 67.45 kB / 0.9852 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002911/1.692, allocations: 2.624 MB / 0.9878 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/1.692, allocations: 0.7176 MB / 0.9885 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003713/1.692, allocations: 53.91 kB / 0.9885 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/1.693, allocations: 52.97 kB / 0.9886 GB, free: 12 MB / 0.6355 GB Notification: Performance of SimCode: time 5.21e-07/1.693, allocations: 0 / 0.9886 GB, free: 12 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02003/1.713, allocations: 4.681 MB / 0.9931 GB, free: 7.531 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003095/1.713, allocations: 202.2 kB / 0.9933 GB, free: 7.289 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.95/3.663, allocations: 0 / 0.9933 GB, free: 7.289 MB / 0.6355 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)