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/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/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: translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 176.1 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8288/0.8288, allocations: 130.7 MB / 138.7 MB, free: 3.531 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.611/1.611, allocations: 221.5 MB / 391.8 MB, free: 14.21 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.001002/0.001002, allocations: 95.91 kB / 473.9 MB, free: 4.473 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.715e-05/1.719e-05, allocations: 4 kB / 0.5485 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5286/0.5286, allocations: 81.56 MB / 0.6282 GB, free: 42.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8567/1.385, allocations: 315.4 MB / 0.9362 GB, free: 11.29 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/1.386, allocations: 78.39 kB / 0.9362 GB, free: 11.25 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.03065/1.416, allocations: 9.114 MB / 0.9451 GB, free: 3.953 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.684e-06/1.416, allocations: 0 / 0.9451 GB, free: 3.953 MB / 0.573 GB Notification: Performance of Transformations before backend: time 7.394e-06/1.417, allocations: 0 / 0.9451 GB, free: 3.953 MB / 0.573 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.0003731/1.417, allocations: 338.1 kB / 0.9454 GB, free: 3.582 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/1.417, allocations: 16.03 kB / 0.9455 GB, free: 3.566 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.892e-05/1.417, allocations: 0 / 0.9455 GB, free: 3.566 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/1.417, allocations: 170.9 kB / 0.9456 GB, free: 3.359 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/1.417, allocations: 29.7 kB / 0.9457 GB, free: 3.324 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/1.417, allocations: 0 / 0.9457 GB, free: 3.324 MB / 0.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.189e-05/1.417, allocations: 11.98 kB / 0.9457 GB, free: 3.312 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.77e-05/1.417, allocations: 45.12 kB / 0.9457 GB, free: 3.266 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/1.418, allocations: 0 / 0.9457 GB, free: 3.266 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/1.418, allocations: 3.938 kB / 0.9457 GB, free: 3.262 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.715e-05/1.418, allocations: 4 kB / 0.9457 GB, free: 3.258 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000728/1.418, allocations: 0.5822 MB / 0.9463 GB, free: 2.578 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 4.315e-05/1.418, allocations: 14.58 kB / 0.9463 GB, free: 2.555 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.934e-05/1.418, allocations: 8.922 kB / 0.9463 GB, free: 2.543 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002732/1.419, allocations: 355.5 kB / 0.9466 GB, free: 2.129 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/1.419, allocations: 42.48 kB / 0.9467 GB, free: 2.078 MB / 0.573 GB Notification: Performance of pre-optimization done (n=1): time 1.963e-06/1.419, allocations: 0 / 0.9467 GB, free: 2.078 MB / 0.573 GB Notification: Performance of matching and sorting (n=1): time 0.0003185/1.419, allocations: 37.7 kB / 0.9467 GB, free: 2.035 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/1.419, allocations: 55.16 kB / 0.9468 GB, free: 1.973 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.977e-05/1.419, allocations: 92.98 kB / 0.9469 GB, free: 1.875 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/1.419, allocations: 25.7 kB / 0.9469 GB, free: 1.844 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 4.552e-05/1.419, allocations: 99.36 kB / 0.947 GB, free: 1.746 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 6.302e-06/1.419, allocations: 4.031 kB / 0.947 GB, free: 1.742 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.858e-06/1.419, allocations: 0 / 0.947 GB, free: 1.742 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 6.66e-05/1.419, allocations: 314.8 kB / 0.9473 GB, free: 1.426 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.094e-05/1.419, allocations: 7.984 kB / 0.9473 GB, free: 1.418 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.97e-05/1.419, allocations: 17.41 kB / 0.9473 GB, free: 1.398 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002431/1.42, allocations: 15.98 kB / 0.9473 GB, free: 1.383 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/1.42, allocations: 0 / 0.9473 GB, free: 1.383 MB / 0.573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003101/1.42, allocations: 69.14 kB / 0.9474 GB, free: 1.312 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/1.42, allocations: 8 kB / 0.9474 GB, free: 1.305 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/1.42, allocations: 0 / 0.9474 GB, free: 1.305 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/1.42, allocations: 0 / 0.9474 GB, free: 1.305 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.439e-05/1.42, allocations: 8 kB / 0.9474 GB, free: 1.297 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/1.42, allocations: 4 kB / 0.9474 GB, free: 1.293 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.118e-05/1.42, allocations: 0 / 0.9474 GB, free: 1.293 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/1.42, allocations: 3.984 kB / 0.9474 GB, free: 1.289 MB / 0.573 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 6.459e-05/1.42, allocations: 113 kB / 0.9475 GB, free: 1.172 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.086e-05/1.42, allocations: 0 / 0.9475 GB, free: 1.172 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/1.421, allocations: 122.8 kB / 0.9476 GB, free: 1.047 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-05/1.421, allocations: 180.2 kB / 0.9478 GB, free: 0.8633 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.031e-05/1.421, allocations: 180.2 kB / 0.948 GB, free: 0.6797 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.791e-05/1.421, allocations: 176.3 kB / 0.9482 GB, free: 0.5 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/1.421, allocations: 393 kB / 0.9485 GB, free: 76 kB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.545e-05/1.421, allocations: 105 kB / 0.9486 GB, free: 15.96 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.085e-05/1.421, allocations: 105 kB / 0.9487 GB, free: 15.85 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001228/1.421, allocations: 176.3 kB / 0.9489 GB, free: 15.67 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/1.421, allocations: 184.3 kB / 0.9491 GB, free: 15.48 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001159/1.422, allocations: 184.2 kB / 0.9492 GB, free: 15.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.68e-05/1.422, allocations: 176.3 kB / 0.9494 GB, free: 15.12 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/1.422, allocations: 307.1 kB / 0.9497 GB, free: 14.8 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/1.422, allocations: 193.9 kB / 0.9499 GB, free: 14.58 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/1.422, allocations: 183.7 kB / 0.9501 GB, free: 14.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/1.422, allocations: 113 kB / 0.9502 GB, free: 14.28 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/1.423, allocations: 176.5 kB / 0.9503 GB, free: 14.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-05/1.423, allocations: 108.9 kB / 0.9505 GB, free: 13.99 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.047e-05/1.423, allocations: 82.97 kB / 0.9505 GB, free: 13.91 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.5e-07/1.423, allocations: 3.828 kB / 0.9505 GB, free: 13.91 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005149/1.423, allocations: 31.92 kB / 0.9506 GB, free: 13.88 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.0004425/1.424, allocations: 237 kB / 0.9508 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 9.045e-05/1.424, allocations: 7.562 kB / 0.9508 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.979e-05/1.424, allocations: 8.125 kB / 0.9508 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.574e-06/1.424, allocations: 0 / 0.9508 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005687/1.424, allocations: 0.5219 MB / 0.9513 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002829/1.425, allocations: 131.2 kB / 0.9514 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/1.425, allocations: 0.6768 MB / 0.9521 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001105/1.425, allocations: 9.266 kB / 0.9521 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.728e-05/1.425, allocations: 7.438 kB / 0.9521 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of SimCode: time 4.01e-07/1.425, allocations: 0 / 0.9521 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of Templates: time 0.00495/1.43, allocations: 1.052 MB / 0.9531 GB, free: 11.23 MB / 0.5886 GB make -j1 -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (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 & ./IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)