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.001756/0.001756, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8223/0.8223, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.702/1.702, allocations: 221.3 MB / 400.4 MB, free: 5.832 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 91.84 kB / 483.3 MB, free: 5.879 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.063e-05/4.067e-05, allocations: 1.531 kB / 0.5601 GB, free: 87.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2242, allocations: 82.31 MB / 0.6405 GB, free: 7.73 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.002/1.227, allocations: 319.5 MB / 0.9525 GB, free: 2.043 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003363/1.227, allocations: 81.31 kB / 0.9526 GB, free: 1.996 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.04479/1.272, allocations: 16.75 MB / 0.969 GB, free: 3.906 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.805e-06/1.272, allocations: 0 / 0.969 GB, free: 3.906 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.797e-05/1.272, allocations: 4 kB / 0.969 GB, free: 3.902 MB / 0.6823 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.001169/1.273, allocations: 493.5 kB / 0.9694 GB, free: 3.387 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.476e-05/1.273, allocations: 8.031 kB / 0.9694 GB, free: 3.379 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001196/1.274, allocations: 48.23 kB / 0.9695 GB, free: 3.332 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002049/1.276, allocations: 176.8 kB / 0.9696 GB, free: 3.172 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004154/1.276, allocations: 208.5 kB / 0.9698 GB, free: 2.938 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.126e-05/1.276, allocations: 11.58 kB / 0.9699 GB, free: 2.93 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.703e-05/1.276, allocations: 18 kB / 0.9699 GB, free: 2.918 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006252/1.277, allocations: 272.1 kB / 0.9701 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/1.277, allocations: 3.938 kB / 0.9701 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.224e-05/1.277, allocations: 11 kB / 0.9702 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.15e-05/1.277, allocations: 8 kB / 0.9702 GB, free: 2.656 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004456/1.277, allocations: 220.1 kB / 0.9704 GB, free: 2.488 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001997/1.279, allocations: 1.396 MB / 0.9717 GB, free: 1.055 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004321/1.28, allocations: 150.7 kB / 0.9719 GB, free: 0.9375 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/1.28, allocations: 64.33 kB / 0.9719 GB, free: 0.8906 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.383e-05/1.28, allocations: 3.984 kB / 0.9719 GB, free: 0.8867 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.124e-05/1.28, allocations: 38 kB / 0.972 GB, free: 0.8438 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 2.715e-06/1.28, allocations: 0 / 0.972 GB, free: 0.8438 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.0004591/1.281, allocations: 161.8 kB / 0.9721 GB, free: 0.7109 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/1.281, allocations: 59.41 kB / 0.9722 GB, free: 0.6406 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/1.281, allocations: 146 kB / 0.9723 GB, free: 0.5078 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.691e-05/1.281, allocations: 29.27 kB / 0.9724 GB, free: 488 kB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.972e-05/1.281, allocations: 127.1 kB / 0.9725 GB, free: 364 kB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.711e-05/1.281, allocations: 57.58 kB / 0.9725 GB, free: 316 kB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.364e-05/1.281, allocations: 3.375 kB / 0.9725 GB, free: 316 kB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.5384/1.819, allocations: 322.2 kB / 0.9728 GB, free: 254.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002934/1.82, allocations: 44.19 kB / 0.9729 GB, free: 254.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002432/1.82, allocations: 132.7 kB / 0.973 GB, free: 254.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/1.82, allocations: 64.64 kB / 0.9731 GB, free: 254.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/1.82, allocations: 1.531 kB / 0.9731 GB, free: 254.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006128/1.821, allocations: 222.5 kB / 0.9733 GB, free: 254.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/1.821, allocations: 6.469 kB / 0.9733 GB, free: 254.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/1.821, allocations: 2.531 kB / 0.9733 GB, free: 254.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.265e-05/1.821, allocations: 4.844 kB / 0.9733 GB, free: 254.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000508/1.822, allocations: 69.22 kB / 0.9734 GB, free: 254.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.137e-05/1.822, allocations: 7.969 kB / 0.9734 GB, free: 254.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002887/1.822, allocations: 35.78 kB / 0.9734 GB, free: 254.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.229e-05/1.822, allocations: 10.8 kB / 0.9734 GB, free: 254.2 MB / 0.6823 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 () * 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.0001386/1.822, allocations: 128.8 kB / 0.9735 GB, free: 254.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.262e-05/1.822, allocations: 15.56 kB / 0.9736 GB, free: 254.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005788/1.823, allocations: 203.4 kB / 0.9737 GB, free: 254 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/1.823, allocations: 2.031 kB / 0.9737 GB, free: 254 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/1.823, allocations: 0 / 0.9737 GB, free: 254 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/1.823, allocations: 2.469 kB / 0.9738 GB, free: 254 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003761/1.823, allocations: 245.5 kB / 0.974 GB, free: 253.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/1.823, allocations: 0 / 0.974 GB, free: 253.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003365/1.824, allocations: 53.58 kB / 0.974 GB, free: 253.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/1.824, allocations: 3.625 kB / 0.974 GB, free: 253.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.789e-05/1.824, allocations: 8.547 kB / 0.974 GB, free: 253.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/1.824, allocations: 1.547 kB / 0.9741 GB, free: 253.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/1.824, allocations: 1.375 kB / 0.9741 GB, free: 253.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000428/1.824, allocations: 265.5 kB / 0.9743 GB, free: 253.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/1.824, allocations: 105.9 kB / 0.9744 GB, free: 253.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/1.824, allocations: 8.875 kB / 0.9744 GB, free: 253.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002992/1.825, allocations: 26.59 kB / 0.9744 GB, free: 253.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.549e-05/1.825, allocations: 13.41 kB / 0.9745 GB, free: 253.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.433e-05/1.825, allocations: 10.78 kB / 0.9745 GB, free: 253.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00011/1.825, allocations: 112.4 kB / 0.9746 GB, free: 253.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/1.825, allocations: 3.188 kB / 0.9746 GB, free: 253.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004889/1.825, allocations: 65.36 kB / 0.9746 GB, free: 253.5 MB / 0.6823 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 () * 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.000855/1.826, allocations: 0.8262 MB / 0.9754 GB, free: 252.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004208/1.827, allocations: 160 kB / 0.9756 GB, free: 252.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/1.827, allocations: 0.75 kB / 0.9756 GB, free: 252.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001689/1.827, allocations: 71.38 kB / 0.9757 GB, free: 252.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004873/1.827, allocations: 57.2 kB / 0.9757 GB, free: 252.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/1.828, allocations: 274.5 kB / 0.976 GB, free: 252.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/1.829, allocations: 0.726 MB / 0.9767 GB, free: 252 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003854/1.829, allocations: 56.64 kB / 0.9767 GB, free: 252 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/1.829, allocations: 46.95 kB / 0.9768 GB, free: 252 MB / 0.6823 GB Notification: Performance of SimCode: time 3.01e-07/1.829, allocations: 0 / 0.9768 GB, free: 252 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02612/1.855, allocations: 4.686 MB / 0.9814 GB, free: 251.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002135/1.856, allocations: 176.9 kB / 0.9815 GB, free: 251.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.974/3.829, allocations: 4 kB / 0.9815 GB, free: 251.5 MB / 0.6823 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)