Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.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.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure",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.001537/0.001537, allocations: 175.4 kB / 7.648 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8323/0.8323, allocations: 133.6 MB / 141.6 MB, free: 2.93 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.404/1.404, allocations: 221.5 MB / 395.4 MB, free: 10.8 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.0008905/0.0008905, allocations: 95.05 kB / 478.2 MB, free: 1.277 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.215e-05/2.217e-05, allocations: 4 kB / 0.5535 GB, free: 8.922 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4231/0.4231, allocations: 82.31 MB / 0.6339 GB, free: 40.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.164/0.5872, allocations: 112 MB / 0.7433 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003257/0.5876, allocations: 75.95 kB / 0.7434 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.006645/0.5943, allocations: 1.968 MB / 0.7453 GB, free: 8.605 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5943, allocations: 4 kB / 0.7453 GB, free: 8.602 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.5943, allocations: 0 / 0.7453 GB, free: 8.602 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.0004216/0.5948, allocations: 362.4 kB / 0.7456 GB, free: 8.203 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.715e-05/0.5948, allocations: 8.031 kB / 0.7456 GB, free: 8.195 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000369/0.5952, allocations: 31.88 kB / 0.7457 GB, free: 8.164 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.5954, allocations: 167 kB / 0.7458 GB, free: 7.961 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.5954, allocations: 0 / 0.7458 GB, free: 7.961 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.5954, allocations: 4 kB / 0.7458 GB, free: 7.957 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.109e-05/0.5955, allocations: 19.98 kB / 0.7459 GB, free: 7.938 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.125e-05/0.5956, allocations: 49.61 kB / 0.7459 GB, free: 7.883 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.5956, allocations: 0 / 0.7459 GB, free: 7.883 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.5956, allocations: 0 / 0.7459 GB, free: 7.883 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.5956, allocations: 0 / 0.7459 GB, free: 7.883 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004585/0.5961, allocations: 261.4 kB / 0.7461 GB, free: 7.59 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.533e-05/0.5962, allocations: 42.48 kB / 0.7462 GB, free: 7.539 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.484e-05/0.5962, allocations: 16.92 kB / 0.7462 GB, free: 7.52 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.5963, allocations: 0 / 0.7462 GB, free: 7.52 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.5963, allocations: 34.56 kB / 0.7462 GB, free: 7.477 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.5963, allocations: 4 kB / 0.7462 GB, free: 7.473 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001922/0.5965, allocations: 53.67 kB / 0.7463 GB, free: 7.414 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.5966, allocations: 51.41 kB / 0.7463 GB, free: 7.352 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.333e-05/0.5966, allocations: 89 kB / 0.7464 GB, free: 7.258 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.5967, allocations: 25.7 kB / 0.7465 GB, free: 7.227 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.552e-05/0.5967, allocations: 88.14 kB / 0.7465 GB, free: 7.137 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.5968, allocations: 3.906 kB / 0.7465 GB, free: 7.133 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.144e-06/0.5968, allocations: 0 / 0.7465 GB, free: 7.133 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.5969, allocations: 322.8 kB / 0.7468 GB, free: 6.809 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.885e-05/0.597, allocations: 15.94 kB / 0.7469 GB, free: 6.793 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.138e-05/0.597, allocations: 11.94 kB / 0.7469 GB, free: 6.781 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.153e-05/0.597, allocations: 11.98 kB / 0.7469 GB, free: 6.77 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.597, allocations: 0 / 0.7469 GB, free: 6.77 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.892e-05/0.5971, allocations: 57.59 kB / 0.7469 GB, free: 6.707 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.5972, allocations: 4 kB / 0.7469 GB, free: 6.703 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.5972, allocations: 0 / 0.7469 GB, free: 6.703 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.5972, allocations: 0 / 0.7469 GB, free: 6.703 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.5974, allocations: 24.06 kB / 0.747 GB, free: 6.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.5974, allocations: 0 / 0.747 GB, free: 6.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.894e-05/0.5975, allocations: 8 kB / 0.747 GB, free: 6.672 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.5975, allocations: 3.984 kB / 0.747 GB, free: 6.668 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 7.527e-05/0.5976, allocations: 108.9 kB / 0.7471 GB, free: 6.555 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001295/0.5977, allocations: 57.62 kB / 0.7471 GB, free: 6.492 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.5977, allocations: 4 kB / 0.7471 GB, free: 6.488 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.161e-05/0.5978, allocations: 3.75 kB / 0.7471 GB, free: 6.484 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.5978, allocations: 3.984 kB / 0.7471 GB, free: 6.48 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.5978, allocations: 0 / 0.7471 GB, free: 6.48 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.5978, allocations: 0 / 0.7471 GB, free: 6.48 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.598, allocations: 150.1 kB / 0.7473 GB, free: 6.297 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.598, allocations: 0 / 0.7473 GB, free: 6.297 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.5981, allocations: 19.95 kB / 0.7473 GB, free: 6.277 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.5981, allocations: 4 kB / 0.7473 GB, free: 6.273 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.5981, allocations: 0 / 0.7473 GB, free: 6.273 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.5981, allocations: 0 / 0.7473 GB, free: 6.273 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.5981, allocations: 3.984 kB / 0.7473 GB, free: 6.27 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.5983, allocations: 155.4 kB / 0.7475 GB, free: 6.102 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.73e-05/0.5983, allocations: 81.11 kB / 0.7475 GB, free: 6.004 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.5983, allocations: 7.969 kB / 0.7476 GB, free: 5.996 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.5985, allocations: 11.98 kB / 0.7476 GB, free: 5.984 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/0.5985, allocations: 7.984 kB / 0.7476 GB, free: 5.977 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.5985, allocations: 0 / 0.7476 GB, free: 5.977 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.662e-05/0.5986, allocations: 79.28 kB / 0.7476 GB, free: 5.898 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5986, allocations: 0 / 0.7476 GB, free: 5.898 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002484/0.5988, allocations: 16 kB / 0.7477 GB, free: 5.883 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 (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 Backend phase and start with SimCode phase: time 0.0005258/0.5993, allocations: 0.7007 MB / 0.7483 GB, free: 5.156 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000109/0.5995, allocations: 27.92 kB / 0.7484 GB, free: 5.129 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.5995, allocations: 3.938 kB / 0.7484 GB, free: 5.125 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.226e-05/0.5995, allocations: 12 kB / 0.7484 GB, free: 5.113 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001916/0.5997, allocations: 10.02 kB / 0.7484 GB, free: 5.105 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004456/0.6002, allocations: 113.5 kB / 0.7485 GB, free: 4.957 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.6005, allocations: 0.6806 MB / 0.7492 GB, free: 4.25 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 9.226e-05/0.6006, allocations: 11.94 kB / 0.7492 GB, free: 4.238 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.561e-05/0.6006, allocations: 7.438 kB / 0.7492 GB, free: 4.23 MB / 0.5261 GB Notification: Performance of SimCode: time 2.61e-07/0.6006, allocations: 4 kB / 0.7492 GB, free: 4.227 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02133/0.622, allocations: 1.065 MB / 0.7502 GB, free: 3.168 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002385/0.6223, allocations: 147.1 kB / 0.7504 GB, free: 2.98 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.516/2.138, allocations: 0 / 0.7504 GB, free: 2.98 MB / 0.5261 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)