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-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.SaturationPressureLiquid,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",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.00169/0.00169, allocations: 180.9 kB / 7.65 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.7687/0.7687, allocations: 133.6 MB / 141.6 MB, free: 2.906 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.563/1.563, allocations: 221.5 MB / 395.4 MB, free: 10.86 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.0008723/0.0008723, allocations: 109.5 kB / 478.2 MB, free: 1.348 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.971e-05/1.972e-05, allocations: 4 kB / 0.5535 GB, free: 8.988 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4781/0.4782, allocations: 82.3 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1532/0.6314, allocations: 111 MB / 0.7424 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/0.6317, allocations: 75.95 kB / 0.7424 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002908/0.6346, allocations: 0.9895 MB / 0.7434 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6347, allocations: 0 / 0.7434 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.73e-06/0.6347, allocations: 0 / 0.7434 GB, free: 10.58 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.000368/0.6351, allocations: 334.5 kB / 0.7437 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.6351, allocations: 12.03 kB / 0.7437 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.6352, allocations: 11.91 kB / 0.7437 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.6354, allocations: 167 kB / 0.7439 GB, free: 9.984 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.6354, allocations: 0 / 0.7439 GB, free: 9.984 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.6354, allocations: 0 / 0.7439 GB, free: 9.984 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.657e-05/0.6355, allocations: 11.94 kB / 0.7439 GB, free: 9.973 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.194e-05/0.6356, allocations: 37.69 kB / 0.7439 GB, free: 9.93 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.6356, allocations: 4 kB / 0.7439 GB, free: 9.926 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.6356, allocations: 0 / 0.7439 GB, free: 9.926 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.6356, allocations: 0 / 0.7439 GB, free: 9.926 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003346/0.6359, allocations: 225.5 kB / 0.7442 GB, free: 9.668 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.678e-05/0.636, allocations: 26.58 kB / 0.7442 GB, free: 9.633 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.779e-05/0.6361, allocations: 8.922 kB / 0.7442 GB, free: 9.621 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.6361, allocations: 7.938 kB / 0.7442 GB, free: 9.613 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.6361, allocations: 30.56 kB / 0.7442 GB, free: 9.574 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.6361, allocations: 0 / 0.7442 GB, free: 9.574 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001598/0.6363, allocations: 45.62 kB / 0.7443 GB, free: 9.523 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.6363, allocations: 51.41 kB / 0.7443 GB, free: 9.461 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.708e-05/0.6364, allocations: 93 kB / 0.7444 GB, free: 9.363 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.6364, allocations: 25.7 kB / 0.7444 GB, free: 9.332 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.938e-05/0.6365, allocations: 92.11 kB / 0.7445 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.6365, allocations: 3.906 kB / 0.7445 GB, free: 9.234 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-06/0.6365, allocations: 0 / 0.7445 GB, free: 9.234 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.6366, allocations: 322.8 kB / 0.7448 GB, free: 8.91 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.466e-05/0.6367, allocations: 4 kB / 0.7448 GB, free: 8.906 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.534e-05/0.6367, allocations: 8 kB / 0.7448 GB, free: 8.898 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.778e-05/0.6367, allocations: 3.938 kB / 0.7448 GB, free: 8.895 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.227e-06/0.6367, allocations: 0 / 0.7448 GB, free: 8.895 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.592e-05/0.6368, allocations: 49.55 kB / 0.7449 GB, free: 8.84 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.6368, allocations: 9.812 kB / 0.7449 GB, free: 8.832 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.6368, allocations: 0 / 0.7449 GB, free: 8.832 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.6368, allocations: 3.984 kB / 0.7449 GB, free: 8.828 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.171e-05/0.6369, allocations: 8 kB / 0.7449 GB, free: 8.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.637, allocations: 4 kB / 0.7449 GB, free: 8.816 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.773e-05/0.637, allocations: 7.984 kB / 0.7449 GB, free: 8.809 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.637, allocations: 0 / 0.7449 GB, free: 8.809 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.776e-05/0.6371, allocations: 114.8 kB / 0.745 GB, free: 8.691 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.442e-05/0.6372, allocations: 41.69 kB / 0.7451 GB, free: 8.645 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.915e-05/0.6372, allocations: 3.938 kB / 0.7451 GB, free: 8.641 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001155/0.6373, allocations: 49.62 kB / 0.7451 GB, free: 8.586 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.6374, allocations: 4.031 kB / 0.7451 GB, free: 8.582 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.6374, allocations: 0 / 0.7451 GB, free: 8.582 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.6374, allocations: 0 / 0.7451 GB, free: 8.582 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001451/0.6375, allocations: 150.2 kB / 0.7453 GB, free: 8.398 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.6375, allocations: 4.031 kB / 0.7453 GB, free: 8.395 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.457e-05/0.6376, allocations: 12 kB / 0.7453 GB, free: 8.383 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.6376, allocations: 0 / 0.7453 GB, free: 8.383 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.6376, allocations: 0 / 0.7453 GB, free: 8.383 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.6376, allocations: 3.984 kB / 0.7453 GB, free: 8.379 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.6377, allocations: 0 / 0.7453 GB, free: 8.379 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.6378, allocations: 147.4 kB / 0.7454 GB, free: 8.219 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.739e-05/0.6378, allocations: 89.09 kB / 0.7455 GB, free: 8.113 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.6378, allocations: 0 / 0.7455 GB, free: 8.113 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.63e-05/0.6379, allocations: 4 kB / 0.7455 GB, free: 8.109 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.638, allocations: 7.984 kB / 0.7455 GB, free: 8.102 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.638, allocations: 0 / 0.7455 GB, free: 8.102 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.52e-05/0.638, allocations: 79.28 kB / 0.7456 GB, free: 8.023 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/0.638, allocations: 0 / 0.7456 GB, free: 8.023 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002072/0.6383, allocations: 7.938 kB / 0.7456 GB, free: 8.016 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.000366/0.6386, allocations: 0.6759 MB / 0.7463 GB, free: 7.316 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.654e-05/0.6387, allocations: 19.92 kB / 0.7463 GB, free: 7.297 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6387, allocations: 0 / 0.7463 GB, free: 7.297 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.588e-05/0.6388, allocations: 15.94 kB / 0.7463 GB, free: 7.281 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001726/0.6389, allocations: 0 / 0.7463 GB, free: 7.281 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003224/0.6393, allocations: 93.7 kB / 0.7464 GB, free: 7.152 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.6395, allocations: 0.6807 MB / 0.7471 GB, free: 6.445 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.158e-05/0.6396, allocations: 0 / 0.7471 GB, free: 6.445 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.833e-05/0.6396, allocations: 11.44 kB / 0.7471 GB, free: 6.434 MB / 0.5261 GB Notification: Performance of SimCode: time 2.6e-07/0.6396, allocations: 0 / 0.7471 GB, free: 6.434 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01842/0.658, allocations: 0.7683 MB / 0.7478 GB, free: 5.676 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001946/0.6583, allocations: 146 kB / 0.748 GB, free: 5.484 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.498/2.156, allocations: 3 kB / 0.748 GB, free: 5.484 MB / 0.5261 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)