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/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_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IDEAS_dev_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.008627/0.008626, allocations: 171.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8132/0.8132, allocations: 135.2 MB / 151 MB, free: 13.8 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.622/1.622, allocations: 223.2 MB / 406.9 MB, free: 3.215 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.001013/0.001013, allocations: 102 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004091/0.0004091, allocations: 11.98 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5539/0.5543, allocations: 82.3 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8574/1.412, allocations: 319.6 MB / 0.9616 GB, free: 4.766 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003062/1.412, allocations: 77.8 kB / 0.9617 GB, free: 4.723 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.04421/1.456, allocations: 16.79 MB / 0.9781 GB, free: 6.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.685e-06/1.457, allocations: 4 kB / 0.9781 GB, free: 6.566 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.919e-05/1.457, allocations: 4 kB / 0.9781 GB, free: 6.562 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.001074/1.458, allocations: 493.5 kB / 0.9786 GB, free: 6.043 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.429e-05/1.458, allocations: 8.031 kB / 0.9786 GB, free: 6.035 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.822e-05/1.458, allocations: 53.17 kB / 0.9786 GB, free: 5.984 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001908/1.46, allocations: 177.9 kB / 0.9788 GB, free: 5.824 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003504/1.46, allocations: 213.6 kB / 0.979 GB, free: 5.582 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.684e-05/1.46, allocations: 11.45 kB / 0.979 GB, free: 5.578 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.631e-05/1.46, allocations: 15.5 kB / 0.979 GB, free: 5.566 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007451/1.461, allocations: 302.5 kB / 0.9793 GB, free: 5.293 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/1.461, allocations: 0 / 0.9793 GB, free: 5.293 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.882e-05/1.461, allocations: 7.938 kB / 0.9793 GB, free: 5.289 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.879e-05/1.461, allocations: 4 kB / 0.9793 GB, free: 5.285 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000661/1.462, allocations: 262.4 kB / 0.9796 GB, free: 5.078 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001802/1.464, allocations: 1.391 MB / 0.9809 GB, free: 3.652 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006657/1.464, allocations: 201.8 kB / 0.9811 GB, free: 3.484 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/1.464, allocations: 4 kB / 0.9811 GB, free: 3.48 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/1.464, allocations: 34.25 kB / 0.9812 GB, free: 3.441 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.373e-06/1.464, allocations: 0 / 0.9812 GB, free: 3.441 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0007754/1.465, allocations: 254.4 kB / 0.9814 GB, free: 3.238 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.104e-05/1.465, allocations: 55.36 kB / 0.9814 GB, free: 3.172 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/1.465, allocations: 136 kB / 0.9816 GB, free: 3.047 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.886e-05/1.465, allocations: 33.2 kB / 0.9816 GB, free: 3.012 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/1.465, allocations: 127.4 kB / 0.9817 GB, free: 2.891 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.944e-05/1.466, allocations: 65.98 kB / 0.9818 GB, free: 2.836 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.663e-05/1.466, allocations: 4 kB / 0.9818 GB, free: 2.832 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002005/1.466, allocations: 325.8 kB / 0.9821 GB, free: 2.512 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/1.466, allocations: 69.59 kB / 0.9822 GB, free: 2.457 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002747/1.466, allocations: 135.6 kB / 0.9823 GB, free: 2.312 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002248/1.467, allocations: 81.09 kB / 0.9824 GB, free: 2.254 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/1.467, allocations: 0 / 0.9824 GB, free: 2.254 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005845/1.467, allocations: 241 kB / 0.9826 GB, free: 2.059 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.258e-05/1.467, allocations: 8.312 kB / 0.9826 GB, free: 2.051 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/1.467, allocations: 7.938 kB / 0.9826 GB, free: 2.043 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/1.467, allocations: 4 kB / 0.9826 GB, free: 2.039 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000412/1.468, allocations: 71.81 kB / 0.9827 GB, free: 1.973 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/1.468, allocations: 7.938 kB / 0.9827 GB, free: 1.965 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002632/1.468, allocations: 35.38 kB / 0.9827 GB, free: 1.934 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.294e-05/1.468, allocations: 8 kB / 0.9827 GB, free: 1.926 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.0001682/1.468, allocations: 132.6 kB / 0.9829 GB, free: 1.797 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.311e-05/1.468, allocations: 15.89 kB / 0.9829 GB, free: 1.781 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006638/1.469, allocations: 233 kB / 0.9831 GB, free: 1.605 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/1.469, allocations: 4 kB / 0.9831 GB, free: 1.602 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/1.469, allocations: 4 kB / 0.9831 GB, free: 1.598 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/1.469, allocations: 3.984 kB / 0.9831 GB, free: 1.594 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003382/1.469, allocations: 238.6 kB / 0.9833 GB, free: 1.336 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/1.469, allocations: 0 / 0.9833 GB, free: 1.336 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003343/1.47, allocations: 59.45 kB / 0.9834 GB, free: 1.281 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/1.47, allocations: 0 / 0.9834 GB, free: 1.281 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/1.47, allocations: 7.688 kB / 0.9834 GB, free: 1.277 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/1.47, allocations: 0 / 0.9834 GB, free: 1.277 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/1.47, allocations: 7.969 kB / 0.9834 GB, free: 1.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005519/1.47, allocations: 294.9 kB / 0.9837 GB, free: 1.004 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/1.47, allocations: 112.4 kB / 0.9838 GB, free: 0.8789 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.579e-05/1.47, allocations: 3.562 kB / 0.9838 GB, free: 0.8789 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000303/1.471, allocations: 23.53 kB / 0.9838 GB, free: 0.8594 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.355e-05/1.471, allocations: 11.98 kB / 0.9838 GB, free: 0.8477 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.608e-05/1.471, allocations: 11.44 kB / 0.9839 GB, free: 0.8398 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.739e-05/1.471, allocations: 117 kB / 0.984 GB, free: 0.7383 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/1.471, allocations: 0 / 0.984 GB, free: 0.7383 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004121/1.471, allocations: 71.25 kB / 0.984 GB, free: 0.6758 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.001152/1.473, allocations: 0.8679 MB / 0.9849 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005487/1.473, allocations: 179.5 kB / 0.9851 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.473, allocations: 0 / 0.9851 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002124/1.473, allocations: 88.59 kB / 0.9851 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004215/1.474, allocations: 62.84 kB / 0.9852 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002886/1.477, allocations: 2.622 MB / 0.9878 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/1.477, allocations: 0.7215 MB / 0.9885 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003642/1.477, allocations: 53.91 kB / 0.9885 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/1.477, allocations: 52.28 kB / 0.9886 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of SimCode: time 2.41e-07/1.477, allocations: 3.938 kB / 0.9886 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02014/1.498, allocations: 4.686 MB / 0.9931 GB, free: 7.672 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002424/1.498, allocations: 200.5 kB / 0.9933 GB, free: 7.438 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.89/3.388, allocations: 0 / 0.9933 GB, free: 7.438 MB / 0.6355 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)