Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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: translateModel(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.00167/0.00167, allocations: 180.9 kB / 7.651 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.8053/0.8053, allocations: 133.6 MB / 141.6 MB, free: 2.859 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.726/1.726, allocations: 221.5 MB / 395.5 MB, free: 10.73 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.0009158/0.0009158, allocations: 92.11 kB / 478.2 MB, free: 1.266 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.525e-05/2.528e-05, allocations: 4 kB / 0.5535 GB, free: 9.012 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5058/0.5059, allocations: 82.3 MB / 0.6338 GB, free: 40.81 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1539/0.6598, allocations: 111 MB / 0.7423 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.6601, allocations: 83.95 kB / 0.7423 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002889/0.663, allocations: 0.9773 MB / 0.7433 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.042e-06/0.663, allocations: 4 kB / 0.7433 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.6631, allocations: 0 / 0.7433 GB, free: 10.64 MB / 0.5261 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.0003808/0.6635, allocations: 344.3 kB / 0.7436 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.6635, allocations: 12.03 kB / 0.7436 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.6636, allocations: 7.891 kB / 0.7436 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.6638, allocations: 171 kB / 0.7438 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.6639, allocations: 0 / 0.7438 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.6639, allocations: 4 kB / 0.7438 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.979e-05/0.664, allocations: 8 kB / 0.7438 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.19e-05/0.6641, allocations: 37.69 kB / 0.7439 GB, free: 9.98 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.6641, allocations: 0 / 0.7439 GB, free: 9.98 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.6641, allocations: 0 / 0.7439 GB, free: 9.98 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.6641, allocations: 0 / 0.7439 GB, free: 9.98 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004117/0.6645, allocations: 225.5 kB / 0.7441 GB, free: 9.723 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.723e-05/0.6646, allocations: 30.52 kB / 0.7441 GB, free: 9.684 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.617e-05/0.6646, allocations: 8.922 kB / 0.7441 GB, free: 9.672 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.6647, allocations: 0 / 0.7441 GB, free: 9.672 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.6647, allocations: 38.56 kB / 0.7441 GB, free: 9.625 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.6647, allocations: 0 / 0.7441 GB, free: 9.625 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001693/0.6649, allocations: 37.69 kB / 0.7442 GB, free: 9.582 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.665, allocations: 51.41 kB / 0.7442 GB, free: 9.52 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.929e-05/0.665, allocations: 97.03 kB / 0.7443 GB, free: 9.418 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.6651, allocations: 25.7 kB / 0.7443 GB, free: 9.387 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.584e-05/0.6651, allocations: 84.08 kB / 0.7444 GB, free: 9.301 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/0.6652, allocations: 15.89 kB / 0.7444 GB, free: 9.285 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-06/0.6652, allocations: 0 / 0.7444 GB, free: 9.285 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.6653, allocations: 314.8 kB / 0.7447 GB, free: 8.969 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.726e-05/0.6654, allocations: 4 kB / 0.7447 GB, free: 8.965 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.398e-05/0.6654, allocations: 7.938 kB / 0.7448 GB, free: 8.957 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.999e-05/0.6654, allocations: 12 kB / 0.7448 GB, free: 8.945 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6654, allocations: 0 / 0.7448 GB, free: 8.945 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.757e-05/0.6655, allocations: 41.69 kB / 0.7448 GB, free: 8.898 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.6655, allocations: 9.562 kB / 0.7448 GB, free: 8.891 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.6655, allocations: 0 / 0.7448 GB, free: 8.891 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.6656, allocations: 0 / 0.7448 GB, free: 8.891 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.6657, allocations: 8 kB / 0.7448 GB, free: 8.883 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.6657, allocations: 3.984 kB / 0.7448 GB, free: 8.879 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.132e-05/0.6658, allocations: 15.94 kB / 0.7448 GB, free: 8.863 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.6658, allocations: 4 kB / 0.7448 GB, free: 8.859 MB / 0.5261 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 8.58e-05/0.6659, allocations: 104.9 kB / 0.7449 GB, free: 8.75 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.6659, allocations: 4 kB / 0.7449 GB, free: 8.746 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000138/0.666, allocations: 57.55 kB / 0.745 GB, free: 8.684 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.6661, allocations: 4.031 kB / 0.745 GB, free: 8.68 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.6661, allocations: 0 / 0.745 GB, free: 8.68 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.6661, allocations: 7.938 kB / 0.745 GB, free: 8.672 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.6662, allocations: 134.2 kB / 0.7451 GB, free: 8.504 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.6663, allocations: 0 / 0.7451 GB, free: 8.504 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.011e-05/0.6663, allocations: 19.94 kB / 0.7452 GB, free: 8.484 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.6663, allocations: 0 / 0.7452 GB, free: 8.484 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.6664, allocations: 0 / 0.7452 GB, free: 8.484 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.6664, allocations: 0 / 0.7452 GB, free: 8.484 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.6664, allocations: 4 kB / 0.7452 GB, free: 8.48 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001224/0.6665, allocations: 139.5 kB / 0.7453 GB, free: 8.328 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.426e-05/0.6666, allocations: 81.02 kB / 0.7454 GB, free: 8.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.6666, allocations: 11.88 kB / 0.7454 GB, free: 8.219 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.379e-05/0.6667, allocations: 8 kB / 0.7454 GB, free: 8.211 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.6667, allocations: 3.984 kB / 0.7454 GB, free: 8.207 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-06/0.6667, allocations: 0 / 0.7454 GB, free: 8.207 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.511e-05/0.6668, allocations: 83.28 kB / 0.7455 GB, free: 8.125 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6668, allocations: 0 / 0.7455 GB, free: 8.125 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002116/0.667, allocations: 8 kB / 0.7455 GB, free: 8.117 MB / 0.5261 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 0.0001171/0.6671, allocations: 95.25 kB / 0.7456 GB, free: 8.016 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.896e-05/0.6672, allocations: 12 kB / 0.7456 GB, free: 8.004 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.6672, allocations: 0 / 0.7456 GB, free: 8.004 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.267e-05/0.6672, allocations: 8 kB / 0.7456 GB, free: 7.996 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001723/0.6674, allocations: 7.938 kB / 0.7456 GB, free: 7.988 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002279/0.6677, allocations: 63.98 kB / 0.7457 GB, free: 7.902 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003937/0.6681, allocations: 0.6885 MB / 0.7463 GB, free: 7.188 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.215e-05/0.6681, allocations: 0 / 0.7463 GB, free: 7.188 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.893e-05/0.6681, allocations: 11.44 kB / 0.7463 GB, free: 7.176 MB / 0.5261 GB Notification: Performance of SimCode: time 2.2e-07/0.6681, allocations: 0 / 0.7463 GB, free: 7.176 MB / 0.5261 GB Notification: Performance of Templates: time 0.002245/0.6704, allocations: 392 kB / 0.7467 GB, free: 6.793 MB / 0.5261 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)