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.001485/0.001485, allocations: 173.9 kB / 7.648 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.8215/0.8215, allocations: 133.6 MB / 141.6 MB, free: 2.832 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.713/1.713, 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.001134/0.001133, allocations: 96.91 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.77e-05/2.763e-05, allocations: 4 kB / 0.5536 GB, free: 8.957 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.597/0.5971, allocations: 82.29 MB / 0.6339 GB, free: 40.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9568/1.554, allocations: 318.8 MB / 0.9453 GB, free: 0.7656 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/1.554, allocations: 87.55 kB / 0.9454 GB, free: 0.7148 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.0412/1.595, allocations: 16.64 MB / 0.9616 GB, free: 2.922 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.693e-06/1.596, allocations: 0 / 0.9616 GB, free: 2.922 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.75e-05/1.596, allocations: 4 kB / 0.9616 GB, free: 2.918 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.0008754/1.596, allocations: 482.6 kB / 0.9621 GB, free: 2.414 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/1.597, allocations: 15.97 kB / 0.9621 GB, free: 2.398 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001864/1.598, allocations: 173.9 kB / 0.9623 GB, free: 2.242 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000279/1.599, allocations: 213.1 kB / 0.9625 GB, free: 2.004 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/1.599, allocations: 4 kB / 0.9625 GB, free: 2 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.908e-05/1.599, allocations: 12 kB / 0.9625 GB, free: 1.988 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003943/1.599, allocations: 202.4 kB / 0.9627 GB, free: 1.84 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003602/1.6, allocations: 230.5 kB / 0.9629 GB, free: 1.617 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/1.6, allocations: 4 kB / 0.9629 GB, free: 1.613 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.023e-05/1.6, allocations: 4 kB / 0.9629 GB, free: 1.609 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.53e-05/1.6, allocations: 4 kB / 0.9629 GB, free: 1.605 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001631/1.601, allocations: 1.354 MB / 0.9642 GB, free: 224 kB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003079/1.602, allocations: 140.5 kB / 0.9644 GB, free: 112 kB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.358e-05/1.602, allocations: 62.58 kB / 0.9644 GB, free: 64 kB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.313e-05/1.602, allocations: 7.438 kB / 0.9644 GB, free: 60 kB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/1.602, allocations: 30.56 kB / 0.9645 GB, free: 20 kB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 1.994e-06/1.602, allocations: 8 kB / 0.9645 GB, free: 12 kB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.0003475/1.602, allocations: 143.8 kB / 0.9646 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/1.602, allocations: 51.41 kB / 0.9647 GB, free: 15.83 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/1.602, allocations: 127.8 kB / 0.9648 GB, free: 15.71 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/1.602, allocations: 25.7 kB / 0.9648 GB, free: 15.68 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.803e-05/1.602, allocations: 127.1 kB / 0.9649 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.378e-05/1.603, allocations: 66.09 kB / 0.965 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.457e-05/1.603, allocations: 0 / 0.965 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001303/1.603, allocations: 330.5 kB / 0.9653 GB, free: 15.17 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.478e-05/1.603, allocations: 43.91 kB / 0.9653 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/1.603, allocations: 120 kB / 0.9655 GB, free: 15.01 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.982e-05/1.603, allocations: 57.94 kB / 0.9655 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/1.603, allocations: 0 / 0.9655 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002901/1.603, allocations: 196.2 kB / 0.9657 GB, free: 14.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/1.603, allocations: 8 kB / 0.9657 GB, free: 14.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/1.603, allocations: 0 / 0.9657 GB, free: 14.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/1.603, allocations: 7.984 kB / 0.9657 GB, free: 14.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003684/1.604, allocations: 71.7 kB / 0.9658 GB, free: 14.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/1.604, allocations: 4 kB / 0.9658 GB, free: 14.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002312/1.604, allocations: 28.08 kB / 0.9658 GB, free: 14.69 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.559e-05/1.604, allocations: 15.92 kB / 0.9658 GB, free: 14.67 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.0001146/1.604, allocations: 108.9 kB / 0.9659 GB, free: 14.56 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002468/1.604, allocations: 145.2 kB / 0.9661 GB, free: 14.44 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.128e-05/1.605, allocations: 15.34 kB / 0.9661 GB, free: 14.43 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000367/1.605, allocations: 175.7 kB / 0.9663 GB, free: 14.29 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/1.605, allocations: 7.938 kB / 0.9663 GB, free: 14.28 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.605, allocations: 0 / 0.9663 GB, free: 14.28 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/1.605, allocations: 3.984 kB / 0.9663 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002508/1.605, allocations: 211 kB / 0.9665 GB, free: 14.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/1.605, allocations: 4 kB / 0.9665 GB, free: 14.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003122/1.606, allocations: 55.59 kB / 0.9665 GB, free: 14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/1.606, allocations: 0 / 0.9665 GB, free: 14 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.541e-05/1.606, allocations: 11.98 kB / 0.9665 GB, free: 13.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/1.606, allocations: 0 / 0.9665 GB, free: 13.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.606, allocations: 0 / 0.9665 GB, free: 13.98 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002924/1.606, allocations: 257.7 kB / 0.9668 GB, free: 13.75 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/1.606, allocations: 108.3 kB / 0.9669 GB, free: 13.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.213e-05/1.606, allocations: 4 kB / 0.9669 GB, free: 13.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002752/1.606, allocations: 15.98 kB / 0.9669 GB, free: 13.61 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.484e-05/1.606, allocations: 11.92 kB / 0.9669 GB, free: 13.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-05/1.606, allocations: 15.48 kB / 0.9669 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.219e-05/1.606, allocations: 96.64 kB / 0.967 GB, free: 13.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/1.606, allocations: 0 / 0.967 GB, free: 13.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004221/1.607, allocations: 67.72 kB / 0.9671 GB, free: 13.43 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.0006925/1.608, allocations: 0.8143 MB / 0.9679 GB, free: 12.63 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002639/1.608, allocations: 132.2 kB / 0.968 GB, free: 12.53 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/1.608, allocations: 0 / 0.968 GB, free: 12.53 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001151/1.608, allocations: 73.92 kB / 0.9681 GB, free: 12.48 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/1.608, allocations: 34.36 kB / 0.9681 GB, free: 12.45 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008406/1.609, allocations: 253 kB / 0.9684 GB, free: 12.18 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/1.61, allocations: 0.7249 MB / 0.9691 GB, free: 11.43 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003373/1.61, allocations: 49.77 kB / 0.9691 GB, free: 11.38 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/1.61, allocations: 52.22 kB / 0.9692 GB, free: 11.35 MB / 0.6042 GB Notification: Performance of SimCode: time 2.71e-07/1.61, allocations: 0 / 0.9692 GB, free: 11.35 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02749/1.638, allocations: 3.854 MB / 0.9729 GB, free: 7.523 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002847/1.638, allocations: 164.4 kB / 0.9731 GB, free: 7.336 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.812/3.45, allocations: 1.719 kB / 0.9731 GB, free: 7.336 MB / 0.6042 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)