Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004774/0.004774, allocations: 99.78 kB / 15.73 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 189.4 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8808/0.8808, allocations: 132.2 MB / 422.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001738, allocations: 63.91 kB / 0.5809 GB, free: 7.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3609, allocations: 80.2 MB / 0.6592 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003746/0.3646, allocations: 3.296 MB / 0.6624 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 7.516e-05/0.3647, allocations: 49.88 kB / 0.6625 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.678e-05/0.3648, allocations: 1.25 kB / 0.6625 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.708e-05/0.3649, allocations: 8.531 kB / 0.6625 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.853e-05/0.3649, allocations: 13.53 kB / 0.6625 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004285/0.3654, allocations: 187.7 kB / 0.6627 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.26e-05/0.3654, allocations: 33.41 kB / 0.6627 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 2.68e-05/0.3655, allocations: 2.328 kB / 0.6627 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.256e-05/0.3655, allocations: 16.2 kB / 0.6627 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.39e-05/0.3656, allocations: 11.44 kB / 0.6627 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.3656, allocations: 5.219 kB / 0.6627 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002933/0.3659, allocations: 175.3 kB / 0.6629 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.623e-05/0.3659, allocations: 8.891 kB / 0.6629 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.283e-05/0.366, allocations: 9.312 kB / 0.6629 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.3662, allocations: 130.1 kB / 0.663 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3662, allocations: 1.094 kB / 0.663 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3662, allocations: 0 / 0.663 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.3662, allocations: 0 / 0.663 GB, free: 7.262 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002901/0.3665, allocations: 351 kB / 0.6634 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.3666, allocations: 14.62 kB / 0.6634 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.09e-05/0.3666, allocations: 39.25 kB / 0.6634 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.627e-05/0.3666, allocations: 2.406 kB / 0.6634 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.756e-05/0.3667, allocations: 166.7 kB / 0.6636 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.027e-05/0.3667, allocations: 33.12 kB / 0.6636 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.3668, allocations: 5.625 kB / 0.6636 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.3669, allocations: 48 kB / 0.6637 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.3669, allocations: 0 / 0.6637 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.3669, allocations: 1.312 kB / 0.6637 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.3669, allocations: 4 kB / 0.6637 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.676e-05/0.367, allocations: 13.52 kB / 0.6637 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003898/0.3674, allocations: 0.5853 MB / 0.6643 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.064e-05/0.3674, allocations: 19.95 kB / 0.6643 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.124e-05/0.3674, allocations: 6.234 kB / 0.6643 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001276/0.3676, allocations: 342.8 kB / 0.6646 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.479e-05/0.3676, allocations: 34.56 kB / 0.6646 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.3676, allocations: 1.312 kB / 0.6646 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001114/0.3677, allocations: 39.14 kB / 0.6647 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.565e-05/0.3677, allocations: 52.94 kB / 0.6647 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.851e-05/0.3678, allocations: 103.5 kB / 0.6648 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.733e-06/0.3678, allocations: 25.7 kB / 0.6649 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.094e-05/0.3678, allocations: 89.55 kB / 0.6649 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.867e-06/0.3678, allocations: 4.125 kB / 0.665 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-05/0.3679, allocations: 17.94 kB / 0.665 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 2.959e-05/0.3679, allocations: 316 kB / 0.6653 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.231e-05/0.3679, allocations: 2.781 kB / 0.6653 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.787e-05/0.3679, allocations: 25.67 kB / 0.6653 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.564e-05/0.368, allocations: 15.91 kB / 0.6653 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.368, allocations: 4 kB / 0.6653 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.127e-05/0.368, allocations: 50.72 kB / 0.6654 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.368, allocations: 5.344 kB / 0.6654 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.3681, allocations: 5.625 kB / 0.6654 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.3681, allocations: 0 / 0.6654 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.739e-05/0.3681, allocations: 9.281 kB / 0.6654 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.3681, allocations: 0 / 0.6654 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.831e-05/0.3681, allocations: 13.02 kB / 0.6654 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.3682, allocations: 2.219 kB / 0.6654 GB, free: 4.633 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.244e-05/0.3682, allocations: 124.9 kB / 0.6655 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.3682, allocations: 1.406 kB / 0.6655 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.698e-05/0.3683, allocations: 111.5 kB / 0.6656 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.912e-05/0.3683, allocations: 185.5 kB / 0.6658 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.041e-05/0.3684, allocations: 185.6 kB / 0.666 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.946e-05/0.3684, allocations: 180.3 kB / 0.6661 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.3685, allocations: 417 kB / 0.6665 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.3685, allocations: 101 kB / 0.6666 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.023e-05/0.3685, allocations: 102.2 kB / 0.6667 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.621e-05/0.3685, allocations: 181.5 kB / 0.6669 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.3686, allocations: 181.6 kB / 0.6671 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.617e-05/0.3686, allocations: 185.3 kB / 0.6673 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.7e-05/0.3686, allocations: 181.3 kB / 0.6674 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.41e-05/0.3687, allocations: 311.8 kB / 0.6677 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.293e-05/0.3687, allocations: 179.6 kB / 0.6679 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.986e-05/0.3687, allocations: 185.8 kB / 0.6681 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.3688, allocations: 111.7 kB / 0.6682 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.206e-05/0.3689, allocations: 181.7 kB / 0.6684 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.3689, allocations: 101 kB / 0.6685 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.473e-05/0.3689, allocations: 80.38 kB / 0.6685 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3689, allocations: 0 / 0.6685 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002589/0.3692, allocations: 44.36 kB / 0.6686 GB, free: 1.207 MB / 0.4981 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002931/0.3695, allocations: 0.8723 MB / 0.6694 GB, free: 364 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.151e-05/0.3696, allocations: 9.719 kB / 0.6694 GB, free: 360 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3696, allocations: 3.938 kB / 0.6694 GB, free: 356 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.3696, allocations: 1.25 kB / 0.6694 GB, free: 356 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.3699, allocations: 459.8 kB / 0.6699 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.371, allocations: 1.345 MB / 0.6712 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.3713, allocations: 0.6716 MB / 0.6719 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.83e-05/0.3713, allocations: 12.45 kB / 0.6719 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.981e-05/0.3714, allocations: 12.97 kB / 0.6719 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.3714, allocations: 0 / 0.6719 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3076/0.679, allocations: 2.141 MB / 0.674 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.227/8.906, allocations: 8.969 kB / 0.674 GB, free: 12.71 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)