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.001263/0.001263, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8108/0.8108, allocations: 133.6 MB / 141.6 MB, free: 2.918 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.719/1.719, allocations: 221.5 MB / 395.5 MB, free: 10.78 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.001017/0.001016, allocations: 96.3 kB / 478.2 MB, free: 1.336 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.382e-05/3.383e-05, allocations: 4 kB / 0.5535 GB, free: 8.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6236/0.6237, allocations: 82.31 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9999/1.624, allocations: 318.8 MB / 0.9453 GB, free: 0.5938 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003441/1.624, allocations: 91.25 kB / 0.9454 GB, free: 0.5391 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.04506/1.669, allocations: 16.65 MB / 0.9616 GB, free: 2.746 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.585e-06/1.669, allocations: 0 / 0.9616 GB, free: 2.746 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.316e-05/1.669, allocations: 4 kB / 0.9616 GB, free: 2.742 MB / 0.5886 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.001604/1.671, allocations: 476.5 kB / 0.9621 GB, free: 2.242 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 8.361e-05/1.671, allocations: 12.03 kB / 0.9621 GB, free: 2.23 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002267/1.673, allocations: 174.3 kB / 0.9623 GB, free: 2.074 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005731/1.674, allocations: 218.4 kB / 0.9625 GB, free: 1.828 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.172e-05/1.674, allocations: 4 kB / 0.9625 GB, free: 1.824 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.915e-05/1.674, allocations: 12 kB / 0.9625 GB, free: 1.812 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004896/1.674, allocations: 199.9 kB / 0.9627 GB, free: 1.668 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004666/1.675, allocations: 232.9 kB / 0.9629 GB, free: 1.441 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/1.675, allocations: 4 kB / 0.9629 GB, free: 1.438 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.26e-05/1.675, allocations: 0 / 0.9629 GB, free: 1.438 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.33e-05/1.675, allocations: 4 kB / 0.9629 GB, free: 1.434 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002616/1.678, allocations: 1.352 MB / 0.9642 GB, free: 48 kB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004769/1.678, allocations: 151 kB / 0.9644 GB, free: 15.93 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/1.678, allocations: 51.42 kB / 0.9644 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.537e-05/1.678, allocations: 7.938 kB / 0.9644 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.707e-05/1.679, allocations: 30.56 kB / 0.9645 GB, free: 15.85 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 2.655e-06/1.679, allocations: 4 kB / 0.9645 GB, free: 15.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0004933/1.679, allocations: 149.2 kB / 0.9646 GB, free: 15.72 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.964e-05/1.679, allocations: 55.41 kB / 0.9647 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/1.679, allocations: 125.9 kB / 0.9648 GB, free: 15.53 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.281e-05/1.679, allocations: 33.64 kB / 0.9648 GB, free: 15.49 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/1.68, allocations: 127.3 kB / 0.9649 GB, free: 15.37 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.204e-05/1.68, allocations: 62.36 kB / 0.965 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.641e-05/1.68, allocations: 0 / 0.965 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002779/1.68, allocations: 329.7 kB / 0.9653 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/1.68, allocations: 46.39 kB / 0.9654 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/1.68, allocations: 115.5 kB / 0.9655 GB, free: 14.83 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/1.68, allocations: 59 kB / 0.9655 GB, free: 14.79 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/1.68, allocations: 0 / 0.9655 GB, free: 14.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004197/1.681, allocations: 195 kB / 0.9657 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.122e-05/1.681, allocations: 8.312 kB / 0.9657 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/1.681, allocations: 4 kB / 0.9657 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/1.681, allocations: 8 kB / 0.9657 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004014/1.681, allocations: 67.88 kB / 0.9658 GB, free: 14.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.007e-05/1.681, allocations: 7.984 kB / 0.9658 GB, free: 14.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003233/1.682, allocations: 23.66 kB / 0.9658 GB, free: 14.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-05/1.682, allocations: 11.98 kB / 0.9658 GB, free: 14.5 MB / 0.6042 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.0001712/1.682, allocations: 116.9 kB / 0.9659 GB, free: 14.38 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003266/1.682, allocations: 148.8 kB / 0.9661 GB, free: 14.25 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.387e-05/1.682, allocations: 11.91 kB / 0.9661 GB, free: 14.24 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004526/1.683, allocations: 177.8 kB / 0.9663 GB, free: 14.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/1.683, allocations: 4 kB / 0.9663 GB, free: 14.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/1.683, allocations: 0 / 0.9663 GB, free: 14.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/1.683, allocations: 0 / 0.9663 GB, free: 14.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003863/1.683, allocations: 211.4 kB / 0.9665 GB, free: 13.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/1.683, allocations: 4 kB / 0.9665 GB, free: 13.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003318/1.684, allocations: 55.45 kB / 0.9665 GB, free: 13.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/1.684, allocations: 0 / 0.9665 GB, free: 13.82 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/1.684, allocations: 8 kB / 0.9665 GB, free: 13.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/1.684, allocations: 0 / 0.9665 GB, free: 13.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/1.684, allocations: 0 / 0.9665 GB, free: 13.81 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003984/1.684, allocations: 256 kB / 0.9668 GB, free: 13.58 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002056/1.684, allocations: 104.4 kB / 0.9669 GB, free: 13.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.397e-05/1.684, allocations: 0 / 0.9669 GB, free: 13.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002892/1.685, allocations: 27.97 kB / 0.9669 GB, free: 13.43 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-05/1.685, allocations: 11.92 kB / 0.9669 GB, free: 13.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.588e-05/1.685, allocations: 8 kB / 0.9669 GB, free: 13.42 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001118/1.685, allocations: 99.77 kB / 0.967 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/1.685, allocations: 0 / 0.967 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005252/1.685, allocations: 63.97 kB / 0.9671 GB, free: 13.27 MB / 0.6042 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.001135/1.687, allocations: 0.8169 MB / 0.9679 GB, free: 12.46 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003415/1.687, allocations: 140 kB / 0.968 GB, free: 12.36 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/1.687, allocations: 7.938 kB / 0.968 GB, free: 12.35 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001178/1.687, allocations: 70.23 kB / 0.9681 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004549/1.688, allocations: 31.36 kB / 0.9681 GB, free: 12.27 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/1.689, allocations: 252.8 kB / 0.9684 GB, free: 12 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005802/1.689, allocations: 0.7248 MB / 0.9691 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004185/1.69, allocations: 53.81 kB / 0.9691 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/1.69, allocations: 47.98 kB / 0.9692 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of SimCode: time 2.7e-07/1.69, allocations: 0 / 0.9692 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03516/1.725, allocations: 3.862 MB / 0.9729 GB, free: 7.348 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002849/1.725, allocations: 154.7 kB / 0.9731 GB, free: 7.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.804/3.529, allocations: 1.969 kB / 0.9731 GB, free: 7.16 MB / 0.6042 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)