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: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="IDEAS_dev_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.006451/0.00645, allocations: 170.4 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7654/0.7654, allocations: 135.2 MB / 151 MB, free: 13.81 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.5/1.5, allocations: 223.2 MB / 406.8 MB, free: 3.242 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.0009031/0.0009031, allocations: 98.08 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003443/0.0003443, allocations: 12 kB / 0.5692 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4522/0.4525, allocations: 82.3 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.206/0.6586, allocations: 111.8 MB / 0.7587 GB, free: 4.23 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003227/0.659, allocations: 79.95 kB / 0.7587 GB, free: 4.152 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.00314/0.6622, allocations: 1.001 MB / 0.7597 GB, free: 3.148 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.345e-06/0.6622, allocations: 4 kB / 0.7597 GB, free: 3.145 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.6623, allocations: 4 kB / 0.7597 GB, free: 3.141 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.0004278/0.6627, allocations: 339.2 kB / 0.7601 GB, free: 2.762 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/0.6628, allocations: 12.03 kB / 0.7601 GB, free: 2.75 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.124e-05/0.6628, allocations: 30.56 kB / 0.7601 GB, free: 2.711 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.6629, allocations: 4 kB / 0.7601 GB, free: 2.707 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.6631, allocations: 171 kB / 0.7603 GB, free: 2.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.6631, allocations: 4 kB / 0.7603 GB, free: 2.496 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-06/0.6631, allocations: 0 / 0.7603 GB, free: 2.496 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.6633, allocations: 57.61 kB / 0.7603 GB, free: 2.434 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.6633, allocations: 4 kB / 0.7603 GB, free: 2.43 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.6633, allocations: 0 / 0.7603 GB, free: 2.43 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.6633, allocations: 0 / 0.7603 GB, free: 2.43 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/0.6635, allocations: 43.97 kB / 0.7604 GB, free: 2.387 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003703/0.6639, allocations: 252.9 kB / 0.7606 GB, free: 2.09 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.664, allocations: 46.5 kB / 0.7607 GB, free: 2.035 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.6641, allocations: 0 / 0.7607 GB, free: 2.035 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.6641, allocations: 34.62 kB / 0.7607 GB, free: 1.992 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 2.134e-06/0.6641, allocations: 0 / 0.7607 GB, free: 1.992 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0003644/0.6645, allocations: 105.5 kB / 0.7608 GB, free: 1.883 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.6645, allocations: 51.41 kB / 0.7608 GB, free: 1.82 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.681e-05/0.6646, allocations: 92.98 kB / 0.7609 GB, free: 1.723 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.6646, allocations: 25.7 kB / 0.7609 GB, free: 1.691 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.93e-05/0.6647, allocations: 88.14 kB / 0.761 GB, free: 1.602 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.6647, allocations: 8.031 kB / 0.761 GB, free: 1.594 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-06/0.6647, allocations: 0 / 0.761 GB, free: 1.594 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.6649, allocations: 314.8 kB / 0.7613 GB, free: 1.277 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.949e-05/0.665, allocations: 31.91 kB / 0.7614 GB, free: 1.246 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.128e-05/0.665, allocations: 15.98 kB / 0.7614 GB, free: 1.23 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.291e-05/0.6651, allocations: 28.05 kB / 0.7614 GB, free: 1.203 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.6651, allocations: 0 / 0.7614 GB, free: 1.203 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001918/0.6653, allocations: 77.66 kB / 0.7615 GB, free: 1.121 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.6654, allocations: 4 kB / 0.7615 GB, free: 1.117 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.6654, allocations: 0 / 0.7615 GB, free: 1.117 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.6654, allocations: 4 kB / 0.7615 GB, free: 1.113 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.205e-05/0.6655, allocations: 11.98 kB / 0.7615 GB, free: 1.102 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.6655, allocations: 0 / 0.7615 GB, free: 1.102 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.961e-05/0.6656, allocations: 7.984 kB / 0.7615 GB, free: 1.094 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.6656, allocations: 7.938 kB / 0.7615 GB, free: 1.086 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 0.0001029/0.6657, allocations: 117.8 kB / 0.7616 GB, free: 0.9609 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.197e-05/0.6658, allocations: 0 / 0.7616 GB, free: 0.9609 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000264/0.666, allocations: 96.89 kB / 0.7617 GB, free: 0.8594 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.6661, allocations: 3.984 kB / 0.7617 GB, free: 0.8555 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.6661, allocations: 0 / 0.7617 GB, free: 0.8555 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.6661, allocations: 0 / 0.7617 GB, free: 0.8555 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.6662, allocations: 157.6 kB / 0.7619 GB, free: 0.6523 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.6663, allocations: 4 kB / 0.7619 GB, free: 0.6484 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.38e-05/0.6663, allocations: 15.98 kB / 0.7619 GB, free: 0.6328 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.6663, allocations: 0 / 0.7619 GB, free: 0.6328 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.6664, allocations: 0 / 0.7619 GB, free: 0.6328 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.6664, allocations: 0 / 0.7619 GB, free: 0.6328 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.6664, allocations: 4 kB / 0.7619 GB, free: 0.6289 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.6666, allocations: 183.3 kB / 0.7621 GB, free: 444 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.702e-05/0.6668, allocations: 81.09 kB / 0.7622 GB, free: 344 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.6668, allocations: 8 kB / 0.7622 GB, free: 336 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.516e-05/0.6669, allocations: 7.938 kB / 0.7622 GB, free: 328 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/0.6669, allocations: 11.98 kB / 0.7622 GB, free: 316 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.6669, allocations: 0 / 0.7622 GB, free: 316 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.71e-05/0.667, allocations: 79.28 kB / 0.7623 GB, free: 236 kB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/0.667, allocations: 0 / 0.7623 GB, free: 236 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001964/0.6672, allocations: 4 kB / 0.7623 GB, free: 232 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.0005582/0.6677, allocations: 0.7124 MB / 0.763 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002042/0.668, allocations: 51.97 kB / 0.763 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.668, allocations: 0 / 0.763 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.32e-05/0.6681, allocations: 23.97 kB / 0.763 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.6683, allocations: 12.06 kB / 0.763 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004625/0.6688, allocations: 166.1 kB / 0.7632 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/0.669, allocations: 0.677 MB / 0.7639 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.158e-05/0.6691, allocations: 4 kB / 0.7639 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.587e-05/0.6691, allocations: 7.438 kB / 0.7639 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of SimCode: time 4.1e-07/0.6691, allocations: 4 kB / 0.7639 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01289/0.682, allocations: 1.073 MB / 0.7649 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002216/0.6823, allocations: 192.6 kB / 0.7651 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.526/2.209, allocations: 0 / 0.7651 GB, free: 13.31 MB / 0.5417 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)