Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.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.Functions.Examples.SaturationPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_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.001175/0.001175, 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.7553/0.7553, allocations: 133.6 MB / 141.6 MB, free: 2.887 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.465/1.465, allocations: 221.5 MB / 395.5 MB, free: 10.84 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.0009244/0.0009242, allocations: 95.53 kB / 478.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.824e-05/2.825e-05, allocations: 7.984 kB / 0.5536 GB, free: 8.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5083/0.5084, allocations: 82.3 MB / 0.6339 GB, free: 40.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.153/0.6615, allocations: 111.6 MB / 0.7429 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/0.6618, allocations: 79.95 kB / 0.743 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005646/0.6674, allocations: 1.805 MB / 0.7447 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.617e-06/0.6675, allocations: 0 / 0.7447 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.6675, allocations: 3.938 kB / 0.7447 GB, free: 9.234 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003611/0.6678, allocations: 336.4 kB / 0.745 GB, free: 8.863 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.6679, allocations: 15.97 kB / 0.7451 GB, free: 8.848 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003866/0.6683, allocations: 27.95 kB / 0.7451 GB, free: 8.82 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.6685, allocations: 170.9 kB / 0.7453 GB, free: 8.613 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.6685, allocations: 0 / 0.7453 GB, free: 8.613 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.6685, allocations: 0 / 0.7453 GB, free: 8.613 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.717e-05/0.6686, allocations: 15.98 kB / 0.7453 GB, free: 8.598 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.6687, allocations: 45.67 kB / 0.7453 GB, free: 8.547 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.6687, allocations: 7.984 kB / 0.7453 GB, free: 8.539 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.6687, allocations: 3.938 kB / 0.7453 GB, free: 8.535 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.6688, allocations: 0 / 0.7453 GB, free: 8.535 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001858/0.6689, allocations: 138.2 kB / 0.7455 GB, free: 8.363 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.584e-05/0.669, allocations: 30.58 kB / 0.7455 GB, free: 8.324 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.608e-05/0.6691, allocations: 16.91 kB / 0.7455 GB, free: 8.305 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.6691, allocations: 0 / 0.7455 GB, free: 8.305 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.6691, allocations: 30.56 kB / 0.7455 GB, free: 8.266 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.6692, allocations: 4 kB / 0.7455 GB, free: 8.262 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001761/0.6693, allocations: 41.69 kB / 0.7456 GB, free: 8.215 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.6694, allocations: 55.44 kB / 0.7456 GB, free: 8.148 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.185e-05/0.6695, allocations: 92.94 kB / 0.7457 GB, free: 8.051 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.6695, allocations: 25.7 kB / 0.7457 GB, free: 8.02 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.479e-05/0.6696, allocations: 92.12 kB / 0.7458 GB, free: 7.926 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/0.6696, allocations: 7.844 kB / 0.7458 GB, free: 7.918 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.552e-06/0.6696, allocations: 0 / 0.7458 GB, free: 7.918 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.6698, allocations: 310.8 kB / 0.7461 GB, free: 7.605 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.062e-05/0.6698, allocations: 8 kB / 0.7461 GB, free: 7.598 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.529e-05/0.6698, allocations: 4 kB / 0.7461 GB, free: 7.594 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.418e-05/0.6699, allocations: 16.05 kB / 0.7462 GB, free: 7.578 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.6699, allocations: 3.938 kB / 0.7462 GB, free: 7.574 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.591e-05/0.67, allocations: 49.64 kB / 0.7462 GB, free: 7.52 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.67, allocations: 9.719 kB / 0.7462 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.67, allocations: 0 / 0.7462 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.6701, allocations: 0 / 0.7462 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.6702, allocations: 7.984 kB / 0.7462 GB, free: 7.504 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.6702, allocations: 0 / 0.7462 GB, free: 7.504 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.161e-05/0.6702, allocations: 12.02 kB / 0.7462 GB, free: 7.492 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-06/0.6703, allocations: 0 / 0.7462 GB, free: 7.492 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 9.009e-05/0.6704, allocations: 104.9 kB / 0.7463 GB, free: 7.383 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.923e-05/0.6705, allocations: 57.62 kB / 0.7464 GB, free: 7.32 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.824e-06/0.6705, allocations: 0 / 0.7464 GB, free: 7.32 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.655e-05/0.6705, allocations: 11.67 kB / 0.7464 GB, free: 7.312 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.6705, allocations: 0 / 0.7464 GB, free: 7.312 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.6705, allocations: 0 / 0.7464 GB, free: 7.312 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.6705, allocations: 8.031 kB / 0.7464 GB, free: 7.305 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.6707, allocations: 138.1 kB / 0.7465 GB, free: 7.133 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.6707, allocations: 4 kB / 0.7465 GB, free: 7.129 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.76e-05/0.6708, allocations: 7.984 kB / 0.7466 GB, free: 7.121 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.6708, allocations: 0 / 0.7466 GB, free: 7.121 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.6708, allocations: 0 / 0.7466 GB, free: 7.121 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.6708, allocations: 0 / 0.7466 GB, free: 7.121 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.6708, allocations: 0 / 0.7466 GB, free: 7.121 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.6709, allocations: 85.05 kB / 0.7466 GB, free: 7.02 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.964e-05/0.671, allocations: 81.06 kB / 0.7467 GB, free: 6.922 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.085e-05/0.671, allocations: 3.984 kB / 0.7467 GB, free: 6.918 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6e-05/0.6711, allocations: 4 kB / 0.7467 GB, free: 6.914 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.377e-05/0.6711, allocations: 0 / 0.7467 GB, free: 6.914 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.6711, allocations: 0 / 0.7467 GB, free: 6.914 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.568e-05/0.6712, allocations: 79.28 kB / 0.7468 GB, free: 6.836 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6712, allocations: 0 / 0.7468 GB, free: 6.836 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002171/0.6714, allocations: 20.02 kB / 0.7468 GB, free: 6.816 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.0005302/0.672, allocations: 0.628 MB / 0.7474 GB, free: 6.156 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 9.621e-05/0.6721, allocations: 19.92 kB / 0.7474 GB, free: 6.137 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.6721, allocations: 0 / 0.7474 GB, free: 6.137 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.347e-05/0.6721, allocations: 20.03 kB / 0.7475 GB, free: 6.117 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001555/0.6723, allocations: 7.984 kB / 0.7475 GB, free: 6.109 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003687/0.6727, allocations: 93.64 kB / 0.7476 GB, free: 5.98 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.673, allocations: 0.6768 MB / 0.7482 GB, free: 5.277 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 9.31e-05/0.6731, allocations: 12.33 kB / 0.7482 GB, free: 5.266 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.71e-05/0.6731, allocations: 15.42 kB / 0.7482 GB, free: 5.25 MB / 0.5261 GB Notification: Performance of SimCode: time 4.21e-07/0.6731, allocations: 0 / 0.7482 GB, free: 5.25 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0214/0.6945, allocations: 1.04 MB / 0.7493 GB, free: 4.223 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002721/0.6949, allocations: 151.1 kB / 0.7494 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.512/2.207, allocations: 0 / 0.7494 GB, free: 4.035 MB / 0.5261 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)