Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006366/0.006366, allocations: 100.8 kB / 15.87 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 195.2 kB / 16.79 MB, free: 6.246 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 222.9 MB / 240.5 MB, free: 13.82 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6904/0.6904, allocations: 115.3 MB / 405.9 MB, free: 6.484 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 64.12 kB / 493 MB, free: 0.7656 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3428, allocations: 76.16 MB / 0.5558 GB, free: 35.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002613/0.3455, allocations: 1.459 MB / 0.5572 GB, free: 34.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.3466, allocations: 0.6083 MB / 0.5578 GB, free: 34.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.839e-05/0.3466, allocations: 0 / 0.5578 GB, free: 34.12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.681e-05/0.3467, allocations: 3.938 kB / 0.5578 GB, free: 34.12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.157e-05/0.3467, allocations: 6.609 kB / 0.5578 GB, free: 34.12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004266/0.3472, allocations: 86.77 kB / 0.5579 GB, free: 34.08 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.586e-05/0.3473, allocations: 22.78 kB / 0.5579 GB, free: 34.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.3474, allocations: 5.453 kB / 0.558 GB, free: 34.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.671e-05/0.3474, allocations: 8.516 kB / 0.558 GB, free: 34.06 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.504e-05/0.3475, allocations: 10.58 kB / 0.558 GB, free: 34.06 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.3475, allocations: 1.375 kB / 0.558 GB, free: 34.06 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003677/0.3479, allocations: 155.7 kB / 0.5581 GB, free: 34.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.368e-05/0.3479, allocations: 7.484 kB / 0.5581 GB, free: 34.01 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.466e-05/0.3479, allocations: 6.906 kB / 0.5581 GB, free: 34.01 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002648/0.3482, allocations: 96.98 kB / 0.5582 GB, free: 33.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3482, allocations: 0 / 0.5582 GB, free: 33.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.3482, allocations: 0 / 0.5582 GB, free: 33.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.3482, allocations: 1.469 kB / 0.5582 GB, free: 33.98 MB / 446.1 MB 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.0004442/0.3487, allocations: 357.1 kB / 0.5586 GB, free: 33.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.3487, allocations: 14.78 kB / 0.5586 GB, free: 33.61 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.009e-05/0.3488, allocations: 43.62 kB / 0.5586 GB, free: 33.56 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000482/0.3493, allocations: 31 kB / 0.5587 GB, free: 33.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.385e-05/0.3493, allocations: 166.9 kB / 0.5588 GB, free: 33.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.3494, allocations: 6.781 kB / 0.5588 GB, free: 33.35 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.3494, allocations: 1.344 kB / 0.5588 GB, free: 33.35 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002381/0.3496, allocations: 65.77 kB / 0.5589 GB, free: 33.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.3497, allocations: 6.219 kB / 0.5589 GB, free: 33.31 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.3497, allocations: 5.156 kB / 0.5589 GB, free: 33.31 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3497, allocations: 0 / 0.5589 GB, free: 33.31 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003378/0.35, allocations: 50.45 kB / 0.5589 GB, free: 33.3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004126/0.3505, allocations: 272.6 kB / 0.5592 GB, free: 33.02 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000221/0.3507, allocations: 64.77 kB / 0.5593 GB, free: 32.99 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.3508, allocations: 31.31 kB / 0.5593 GB, free: 32.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.3509, allocations: 1.25 kB / 0.5593 GB, free: 32.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.3509, allocations: 36.22 kB / 0.5593 GB, free: 32.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.603e-06/0.3509, allocations: 0.75 kB / 0.5593 GB, free: 32.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0005286/0.3514, allocations: 117.7 kB / 0.5594 GB, free: 32.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.3515, allocations: 52.88 kB / 0.5595 GB, free: 32.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.605e-05/0.3515, allocations: 103.3 kB / 0.5596 GB, free: 32.72 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.3515, allocations: 25.7 kB / 0.5596 GB, free: 32.69 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.953e-05/0.3516, allocations: 86.17 kB / 0.5597 GB, free: 32.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.3516, allocations: 7.391 kB / 0.5597 GB, free: 32.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/0.3516, allocations: 19.44 kB / 0.5597 GB, free: 32.58 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.008e-05/0.3517, allocations: 313.5 kB / 0.56 GB, free: 32.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.3518, allocations: 27.19 kB / 0.56 GB, free: 32.26 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.352, allocations: 25.5 kB / 0.5601 GB, free: 32.26 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000259/0.3522, allocations: 56.84 kB / 0.5601 GB, free: 32.24 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.3523, allocations: 3.938 kB / 0.5601 GB, free: 32.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00031/0.3526, allocations: 95.2 kB / 0.5602 GB, free: 32.19 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.3526, allocations: 5.406 kB / 0.5602 GB, free: 32.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3526, allocations: 0 / 0.5602 GB, free: 32.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.3526, allocations: 2.875 kB / 0.5602 GB, free: 32.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.3528, allocations: 15.16 kB / 0.5602 GB, free: 32.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.3528, allocations: 0 / 0.5602 GB, free: 32.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.414e-05/0.3529, allocations: 13.03 kB / 0.5603 GB, free: 32.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.3529, allocations: 1.406 kB / 0.5603 GB, free: 32.19 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.919e-05/0.353, allocations: 113.8 kB / 0.5604 GB, free: 32.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.237e-05/0.353, allocations: 6.469 kB / 0.5604 GB, free: 32.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.375e-05/0.3531, allocations: 10.81 kB / 0.5604 GB, free: 32.06 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.3531, allocations: 0.5 kB / 0.5604 GB, free: 32.06 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.3531, allocations: 2.531 kB / 0.5604 GB, free: 32.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3531, allocations: 2.578 kB / 0.5604 GB, free: 32.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.3533, allocations: 163.7 kB / 0.5605 GB, free: 31.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3533, allocations: 0 / 0.5605 GB, free: 31.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.3534, allocations: 16.05 kB / 0.5606 GB, free: 31.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.3534, allocations: 6.031 kB / 0.5606 GB, free: 31.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.3534, allocations: 0.5938 kB / 0.5606 GB, free: 31.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.3534, allocations: 3.219 kB / 0.5606 GB, free: 31.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3534, allocations: 3.938 kB / 0.5606 GB, free: 31.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003644/0.3538, allocations: 188.9 kB / 0.5608 GB, free: 31.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.607e-05/0.3539, allocations: 82.3 kB / 0.5608 GB, free: 31.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.3539, allocations: 2.062 kB / 0.5608 GB, free: 31.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.354, allocations: 12.38 kB / 0.5608 GB, free: 31.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.354, allocations: 5.562 kB / 0.5609 GB, free: 31.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.3541, allocations: 1.359 kB / 0.5609 GB, free: 31.61 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.796e-05/0.3541, allocations: 81.77 kB / 0.5609 GB, free: 31.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3541, allocations: 0.5 kB / 0.5609 GB, free: 31.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.3544, allocations: 15.16 kB / 0.5609 GB, free: 31.53 MB / 446.1 MB 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000587/0.355, allocations: 0.7272 MB / 0.5617 GB, free: 30.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003223/0.3553, allocations: 56.03 kB / 0.5617 GB, free: 30.85 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3553, allocations: 0.9375 kB / 0.5617 GB, free: 30.85 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.3555, allocations: 36.03 kB / 0.5617 GB, free: 30.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.3558, allocations: 1.188 kB / 0.5617 GB, free: 30.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005724/0.3564, allocations: 172.6 kB / 0.5619 GB, free: 30.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.3565, allocations: 0.6774 MB / 0.5626 GB, free: 29.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.525e-05/0.3566, allocations: 12.33 kB / 0.5626 GB, free: 29.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.409e-05/0.3566, allocations: 13.12 kB / 0.5626 GB, free: 29.97 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3566, allocations: 0 / 0.5626 GB, free: 29.97 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2252/0.5818, allocations: 1.456 MB / 0.564 GB, free: 29.78 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001471/0.582, allocations: 208.4 kB / 0.5642 GB, free: 29.53 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.382/2.964, allocations: 0 / 0.5642 GB, free: 29.53 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)