Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7525/0.7525, allocations: 130.5 MB / 143.8 MB, free: 13.57 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.722/1.722, allocations: 221.3 MB / 396.8 MB, free: 9.125 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000928/0.000928, allocations: 103.5 kB / 479 MB, free: 10.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 2.869e-05/2.872e-05, allocations: 4.125 kB / 0.5551 GB, free: 86.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1333, allocations: 81.59 MB / 0.6348 GB, free: 11.99 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5118/0.6452, allocations: 111.5 MB / 0.7436 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000189/0.6454, allocations: 76.5 kB / 0.7437 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.002846/0.6482, allocations: 0.9932 MB / 0.7446 GB, free: 28 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6483, allocations: 1.641 kB / 0.7446 GB, free: 28 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.6483, allocations: 0 / 0.7446 GB, free: 28 MB / 0.5105 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.0002779/0.6486, allocations: 334.5 kB / 0.745 GB, free: 27.65 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.6486, allocations: 11.53 kB / 0.745 GB, free: 27.65 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.88e-05/0.6487, allocations: 8.344 kB / 0.745 GB, free: 27.65 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.871e-05/0.6488, allocations: 168.3 kB / 0.7451 GB, free: 27.45 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.6488, allocations: 7.438 kB / 0.7451 GB, free: 27.44 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-06/0.6488, allocations: 3.844 kB / 0.7452 GB, free: 27.44 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.376e-05/0.6489, allocations: 37.16 kB / 0.7452 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.6489, allocations: 0 / 0.7452 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.6489, allocations: 0 / 0.7452 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.6489, allocations: 0 / 0.7452 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.105e-05/0.649, allocations: 15.56 kB / 0.7452 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002817/0.6493, allocations: 245.9 kB / 0.7454 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.117e-05/0.6493, allocations: 29.14 kB / 0.7455 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.143e-05/0.6494, allocations: 13.06 kB / 0.7455 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.6494, allocations: 0 / 0.7455 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.6494, allocations: 34.5 kB / 0.7455 GB, free: 27.06 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.6494, allocations: 0 / 0.7455 GB, free: 27.06 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001247/0.6495, allocations: 43.89 kB / 0.7456 GB, free: 27.03 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.6496, allocations: 55.44 kB / 0.7456 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.568e-05/0.6496, allocations: 94.31 kB / 0.7457 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.6497, allocations: 25.7 kB / 0.7457 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.475e-05/0.6497, allocations: 86.52 kB / 0.7458 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.394e-05/0.6497, allocations: 11.14 kB / 0.7458 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.487e-06/0.6497, allocations: 0 / 0.7458 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.6498, allocations: 324.5 kB / 0.7461 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.448e-05/0.6499, allocations: 3.844 kB / 0.7461 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.253e-05/0.6499, allocations: 11.28 kB / 0.7461 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.687e-05/0.6499, allocations: 0 / 0.7461 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.6499, allocations: 0 / 0.7461 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.371e-05/0.65, allocations: 47.3 kB / 0.7462 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.65, allocations: 5.094 kB / 0.7462 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.65, allocations: 3.844 kB / 0.7462 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.807e-06/0.65, allocations: 0 / 0.7462 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.292e-05/0.6501, allocations: 10.5 kB / 0.7462 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.6501, allocations: 0 / 0.7462 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.116e-05/0.6502, allocations: 18.64 kB / 0.7462 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.6502, allocations: 7.5 kB / 0.7462 GB, free: 26.38 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 5.387e-05/0.6502, allocations: 111.8 kB / 0.7463 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/0.6503, allocations: 3.844 kB / 0.7463 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001106/0.6504, allocations: 53.34 kB / 0.7464 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.6504, allocations: 3.844 kB / 0.7464 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.6504, allocations: 6.391 kB / 0.7464 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.6504, allocations: 0 / 0.7464 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.6506, allocations: 158.3 kB / 0.7465 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.6506, allocations: 0 / 0.7465 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.123e-05/0.6507, allocations: 14.31 kB / 0.7466 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.6507, allocations: 0 / 0.7466 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.6507, allocations: 2.812 kB / 0.7466 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.6507, allocations: 0 / 0.7466 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.6507, allocations: 240 / 0.7466 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.6508, allocations: 154.6 kB / 0.7467 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.592e-05/0.6509, allocations: 81.02 kB / 0.7468 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.6509, allocations: 3.938 kB / 0.7468 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.291e-05/0.651, allocations: 10.73 kB / 0.7468 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.771e-05/0.651, allocations: 3.047 kB / 0.7468 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.651, allocations: 3.844 kB / 0.7468 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.213e-05/0.651, allocations: 78.09 kB / 0.7469 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6511, allocations: 7.844 kB / 0.7469 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001956/0.6513, allocations: 3.812 kB / 0.7469 GB, free: 25.71 MB / 0.5105 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 (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 Backend phase and start with SimCode phase: time 8.195e-05/0.6513, allocations: 94.62 kB / 0.747 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.717e-05/0.6514, allocations: 21.33 kB / 0.747 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.6514, allocations: 0 / 0.747 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.095e-05/0.6514, allocations: 7.688 kB / 0.747 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.6516, allocations: 16.77 kB / 0.747 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001774/0.6518, allocations: 61.36 kB / 0.7471 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.652, allocations: 0.6839 MB / 0.7478 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.976e-05/0.6521, allocations: 2.438 kB / 0.7478 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.308e-05/0.6521, allocations: 11.31 kB / 0.7478 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of SimCode: time 3.1e-07/0.6521, allocations: 0 / 0.7478 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of Templates: time 0.001802/0.6539, allocations: 404.7 kB / 0.7482 GB, free: 24.8 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)