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.01185/0.01185, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8133/0.8133, allocations: 135.2 MB / 151 MB, free: 13.82 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.412/1.412, allocations: 223.2 MB / 406.8 MB, free: 3.215 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.000868/0.0008677, allocations: 97.44 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003396/0.0003396, allocations: 8 kB / 0.5691 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4101/0.4105, allocations: 82.31 MB / 0.6495 GB, free: 36.1 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1507/0.5613, allocations: 111.8 MB / 0.7587 GB, free: 4.184 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/0.5616, allocations: 75.95 kB / 0.7587 GB, free: 4.109 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002972/0.5646, allocations: 0.9973 MB / 0.7597 GB, free: 3.109 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.823e-06/0.5646, allocations: 0 / 0.7597 GB, free: 3.109 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.5646, allocations: 0 / 0.7597 GB, free: 3.109 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.0003921/0.565, allocations: 343.8 kB / 0.76 GB, free: 2.727 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.5651, allocations: 8.031 kB / 0.7601 GB, free: 2.719 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.523e-05/0.5651, allocations: 38.55 kB / 0.7601 GB, free: 2.672 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.779e-05/0.5652, allocations: 8 kB / 0.7601 GB, free: 2.664 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.5654, allocations: 163 kB / 0.7603 GB, free: 2.465 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.5654, allocations: 4 kB / 0.7603 GB, free: 2.461 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.946e-06/0.5654, allocations: 0 / 0.7603 GB, free: 2.461 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.5656, allocations: 57.61 kB / 0.7603 GB, free: 2.398 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.5656, allocations: 0 / 0.7603 GB, free: 2.398 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.5656, allocations: 0 / 0.7603 GB, free: 2.398 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.5657, allocations: 4 kB / 0.7603 GB, free: 2.395 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/0.5658, allocations: 43.95 kB / 0.7604 GB, free: 2.352 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003419/0.5662, allocations: 252.8 kB / 0.7606 GB, free: 2.055 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.5663, allocations: 46.59 kB / 0.7606 GB, free: 2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.5663, allocations: 7.922 kB / 0.7607 GB, free: 1.992 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.5664, allocations: 30.56 kB / 0.7607 GB, free: 1.953 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 2.495e-06/0.5664, allocations: 0 / 0.7607 GB, free: 1.953 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0003538/0.5667, allocations: 109.5 kB / 0.7608 GB, free: 1.84 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.5668, allocations: 51.41 kB / 0.7608 GB, free: 1.777 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.439e-05/0.5669, allocations: 89 kB / 0.7609 GB, free: 1.684 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.5669, allocations: 33.83 kB / 0.761 GB, free: 1.645 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.391e-05/0.5669, allocations: 80.14 kB / 0.761 GB, free: 1.562 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.889e-05/0.567, allocations: 11.89 kB / 0.761 GB, free: 1.551 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/0.567, allocations: 0 / 0.761 GB, free: 1.551 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.5671, allocations: 318.8 kB / 0.7613 GB, free: 1.23 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.373e-05/0.5672, allocations: 15.98 kB / 0.7614 GB, free: 1.215 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.256e-05/0.5672, allocations: 27.92 kB / 0.7614 GB, free: 1.188 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.081e-05/0.5673, allocations: 23.97 kB / 0.7614 GB, free: 1.164 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5673, allocations: 0 / 0.7614 GB, free: 1.164 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000193/0.5675, allocations: 81.67 kB / 0.7615 GB, free: 1.078 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.5676, allocations: 4 kB / 0.7615 GB, free: 1.074 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.5676, allocations: 0 / 0.7615 GB, free: 1.074 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.5676, allocations: 3.984 kB / 0.7615 GB, free: 1.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.067e-05/0.5677, allocations: 8 kB / 0.7615 GB, free: 1.062 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.5677, allocations: 0 / 0.7615 GB, free: 1.062 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.13e-05/0.5678, allocations: 16.02 kB / 0.7615 GB, free: 1.047 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.5678, allocations: 0 / 0.7615 GB, free: 1.047 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 () * Number of clocked 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.523e-05/0.5679, allocations: 117.8 kB / 0.7616 GB, free: 0.9219 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.214e-05/0.5679, allocations: 0 / 0.7616 GB, free: 0.9219 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002551/0.5682, allocations: 92.7 kB / 0.7617 GB, free: 0.8242 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.5682, allocations: 0 / 0.7617 GB, free: 0.8242 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.5682, allocations: 0 / 0.7617 GB, free: 0.8242 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.5682, allocations: 4 kB / 0.7617 GB, free: 0.8203 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.5684, allocations: 161.6 kB / 0.7619 GB, free: 0.6133 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.5684, allocations: 0 / 0.7619 GB, free: 0.6133 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.109e-05/0.5684, allocations: 12 kB / 0.7619 GB, free: 0.6016 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.5685, allocations: 8 kB / 0.7619 GB, free: 0.5938 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.5685, allocations: 0 / 0.7619 GB, free: 0.5938 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.5685, allocations: 3.984 kB / 0.7619 GB, free: 0.5898 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.5685, allocations: 0 / 0.7619 GB, free: 0.5898 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002757/0.5688, allocations: 187.3 kB / 0.7621 GB, free: 400 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.953e-05/0.5688, allocations: 77.11 kB / 0.7622 GB, free: 304 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.834e-05/0.5688, allocations: 0 / 0.7622 GB, free: 304 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.13e-05/0.5689, allocations: 19.92 kB / 0.7622 GB, free: 284 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.569, allocations: 0 / 0.7622 GB, free: 284 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.569, allocations: 0 / 0.7622 GB, free: 284 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.57e-05/0.569, allocations: 83.27 kB / 0.7622 GB, free: 200 kB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5691, allocations: 0 / 0.7622 GB, free: 200 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002073/0.5693, allocations: 8 kB / 0.7623 GB, free: 192 kB / 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 () * Number of clocked 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.0006735/0.5699, allocations: 0.7128 MB / 0.763 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002192/0.5702, allocations: 47.95 kB / 0.763 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.5702, allocations: 0 / 0.763 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.301e-05/0.5703, allocations: 32.05 kB / 0.763 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.5705, allocations: 1.891 kB / 0.763 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000489/0.571, allocations: 162.3 kB / 0.7632 GB, free: 15.17 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.5713, allocations: 0.6887 MB / 0.7639 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.585e-05/0.5714, allocations: 4 kB / 0.7639 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.963e-05/0.5714, allocations: 19.38 kB / 0.7639 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of SimCode: time 5.21e-07/0.5714, allocations: 0 / 0.7639 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01257/0.584, allocations: 1.065 MB / 0.7649 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002071/0.5843, allocations: 186.2 kB / 0.7651 GB, free: 13.26 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.535/2.119, allocations: 4 kB / 0.7651 GB, free: 13.25 MB / 0.5417 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)