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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001536/0.001536, 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.8289/0.8289, allocations: 133.6 MB / 141.6 MB, free: 2.914 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.641/1.641, allocations: 221.5 MB / 395.4 MB, free: 10.82 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.001305/0.001304, allocations: 106.3 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.283e-05/2.284e-05, allocations: 4 kB / 0.5536 GB, free: 8.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.605/0.605, allocations: 82.3 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.054/1.659, allocations: 315.6 MB / 0.9421 GB, free: 3.773 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003009/1.659, allocations: 79.64 kB / 0.9422 GB, free: 3.73 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.02086/1.68, allocations: 9.107 MB / 0.9511 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.104e-06/1.68, allocations: 0 / 0.9511 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.486e-06/1.68, allocations: 4 kB / 0.9511 GB, free: 12.43 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004714/1.681, allocations: 338.2 kB / 0.9514 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/1.681, allocations: 12.03 kB / 0.9515 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.24e-05/1.681, allocations: 3.906 kB / 0.9515 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/1.681, allocations: 167 kB / 0.9516 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.209e-05/1.681, allocations: 25.7 kB / 0.9516 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/1.681, allocations: 3.984 kB / 0.9516 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.965e-05/1.681, allocations: 15.92 kB / 0.9517 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.894e-05/1.682, allocations: 49.25 kB / 0.9517 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/1.682, allocations: 0 / 0.9517 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/1.682, allocations: 0 / 0.9517 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.389e-05/1.682, allocations: 4 kB / 0.9517 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008722/1.682, allocations: 0.5786 MB / 0.9523 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.586e-05/1.683, allocations: 18.58 kB / 0.9523 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.485e-05/1.683, allocations: 8.859 kB / 0.9523 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003277/1.683, allocations: 368 kB / 0.9527 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/1.683, allocations: 30.56 kB / 0.9527 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.603e-06/1.683, allocations: 0 / 0.9527 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0002753/1.683, allocations: 41.69 kB / 0.9527 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/1.683, allocations: 51.41 kB / 0.9528 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/1.683, allocations: 96.8 kB / 0.9529 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/1.683, allocations: 29.73 kB / 0.9529 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.231e-05/1.684, allocations: 95.86 kB / 0.953 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.35e-06/1.684, allocations: 0 / 0.953 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-06/1.684, allocations: 0 / 0.953 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.00015/1.684, allocations: 314.8 kB / 0.9533 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.524e-05/1.684, allocations: 4 kB / 0.9533 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.418e-05/1.684, allocations: 21.52 kB / 0.9533 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/1.684, allocations: 23.92 kB / 0.9533 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/1.684, allocations: 0 / 0.9533 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00022/1.684, allocations: 65.39 kB / 0.9534 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/1.684, allocations: 7.938 kB / 0.9534 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/1.684, allocations: 0 / 0.9534 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/1.684, allocations: 0 / 0.9534 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.863e-05/1.684, allocations: 8 kB / 0.9534 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/1.684, allocations: 0 / 0.9534 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.153e-05/1.684, allocations: 0 / 0.9534 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/1.684, allocations: 4.062 kB / 0.9534 GB, free: 9.762 MB / 0.5886 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.976e-05/1.684, allocations: 114.6 kB / 0.9535 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001429/1.685, allocations: 41.69 kB / 0.9536 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.153e-05/1.685, allocations: 0 / 0.9536 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001495/1.685, allocations: 123.6 kB / 0.9537 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.263e-05/1.685, allocations: 180.2 kB / 0.9539 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.367e-05/1.685, allocations: 180.3 kB / 0.954 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.508e-05/1.685, allocations: 184.2 kB / 0.9542 GB, free: 8.922 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002578/1.685, allocations: 389.4 kB / 0.9546 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.325e-05/1.685, allocations: 105 kB / 0.9547 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.17e-05/1.685, allocations: 105 kB / 0.9548 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.024e-05/1.686, allocations: 184.2 kB / 0.9549 GB, free: 8.094 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.712e-05/1.686, allocations: 180.4 kB / 0.9551 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.006e-05/1.686, allocations: 176.3 kB / 0.9553 GB, free: 7.73 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.396e-05/1.686, allocations: 184.2 kB / 0.9555 GB, free: 7.543 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000184/1.686, allocations: 315.3 kB / 0.9558 GB, free: 7.215 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/1.686, allocations: 186 kB / 0.9559 GB, free: 7.008 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/1.686, allocations: 176.3 kB / 0.9561 GB, free: 6.828 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/1.686, allocations: 105 kB / 0.9562 GB, free: 6.719 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/1.687, allocations: 184.2 kB / 0.9564 GB, free: 6.535 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.918e-05/1.687, allocations: 109 kB / 0.9565 GB, free: 6.422 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.059e-05/1.687, allocations: 87.28 kB / 0.9566 GB, free: 6.336 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.31e-07/1.687, allocations: 0 / 0.9566 GB, free: 6.336 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003082/1.687, allocations: 31.62 kB / 0.9566 GB, free: 6.309 MB / 0.5886 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 (0): * Single equations (assignments): 0 * 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.000674/1.688, allocations: 0.8717 MB / 0.9575 GB, free: 5.41 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 7.396e-05/1.688, allocations: 8 kB / 0.9575 GB, free: 5.402 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/1.688, allocations: 0 / 0.9575 GB, free: 5.402 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.194e-06/1.688, allocations: 0 / 0.9575 GB, free: 5.402 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004244/1.688, allocations: 0.5307 MB / 0.958 GB, free: 4.871 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003896/1.689, allocations: 168.9 kB / 0.9581 GB, free: 4.668 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/1.689, allocations: 0.6768 MB / 0.9588 GB, free: 3.965 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.864e-05/1.689, allocations: 9.969 kB / 0.9588 GB, free: 3.957 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.047e-05/1.689, allocations: 14.98 kB / 0.9588 GB, free: 3.945 MB / 0.5886 GB Notification: Performance of SimCode: time 2.81e-07/1.689, allocations: 11.88 kB / 0.9588 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02434/1.713, allocations: 1.474 MB / 0.9603 GB, free: 2.496 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002442/1.714, allocations: 183.4 kB / 0.9605 GB, free: 2.305 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.797/3.511, allocations: 0 / 0.9605 GB, free: 2.305 MB / 0.5886 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/linux/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)