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.0006727/0.0006727, allocations: 92.16 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007327/0.0007326, allocations: 178.5 kB / 16.58 MB, free: 6.859 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.184/1.184, allocations: 223.3 MB / 240.6 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5987/0.5987, allocations: 113.7 MB / 405.4 MB, free: 4.516 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000268/0.0002681, allocations: 12.69 kB / 493.1 MB, free: 8.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1172, allocations: 77.11 MB / 0.5569 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001176/0.1184, allocations: 1.126 MB / 0.558 GB, free: 10.49 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007056/0.1191, allocations: 0.5387 MB / 0.5585 GB, free: 9.949 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.709e-05/0.1191, allocations: 0 / 0.5585 GB, free: 9.949 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.214e-05/0.1191, allocations: 7.938 kB / 0.5585 GB, free: 9.941 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.692e-05/0.1192, allocations: 7.984 kB / 0.5585 GB, free: 9.934 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002507/0.1195, allocations: 83.64 kB / 0.5586 GB, free: 9.852 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.541e-05/0.1195, allocations: 23.86 kB / 0.5586 GB, free: 9.828 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.793e-05/0.1196, allocations: 7.984 kB / 0.5586 GB, free: 9.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.932e-05/0.1196, allocations: 7.938 kB / 0.5586 GB, free: 9.812 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.62e-05/0.1197, allocations: 11.92 kB / 0.5587 GB, free: 9.801 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.087e-06/0.1197, allocations: 4 kB / 0.5587 GB, free: 9.797 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002224/0.1199, allocations: 151.7 kB / 0.5588 GB, free: 9.648 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.563e-06/0.1199, allocations: 0 / 0.5588 GB, free: 9.648 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.963e-05/0.1199, allocations: 29.7 kB / 0.5588 GB, free: 9.613 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.1201, allocations: 72.12 kB / 0.5589 GB, free: 9.543 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1201, allocations: 0 / 0.5589 GB, free: 9.543 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1201, allocations: 0 / 0.5589 GB, free: 9.543 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.755e-06/0.1201, allocations: 0 / 0.5589 GB, free: 9.543 MB / 430.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.000335/0.1204, allocations: 363.3 kB / 0.5593 GB, free: 9.141 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.1205, allocations: 8.031 kB / 0.5593 GB, free: 9.133 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.677e-05/0.1205, allocations: 30.56 kB / 0.5593 GB, free: 9.094 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003308/0.1208, allocations: 35.86 kB / 0.5593 GB, free: 9.059 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.433e-05/0.1209, allocations: 163 kB / 0.5595 GB, free: 8.859 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.903e-06/0.1209, allocations: 4 kB / 0.5595 GB, free: 8.855 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.121, allocations: 3.953 kB / 0.5595 GB, free: 8.852 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.1212, allocations: 77.64 kB / 0.5596 GB, free: 8.77 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.453e-06/0.1212, allocations: 0 / 0.5596 GB, free: 8.77 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-06/0.1212, allocations: 0 / 0.5596 GB, free: 8.77 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.1212, allocations: 0 / 0.5596 GB, free: 8.77 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002146/0.1214, allocations: 63.94 kB / 0.5596 GB, free: 8.707 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003459/0.1218, allocations: 280.8 kB / 0.5599 GB, free: 8.383 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.1219, allocations: 70.47 kB / 0.56 GB, free: 8.305 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.1221, allocations: 40.89 kB / 0.56 GB, free: 8.262 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.1221, allocations: 4 kB / 0.56 GB, free: 8.258 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.539e-05/0.1221, allocations: 30.56 kB / 0.56 GB, free: 8.219 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1221, allocations: 0 / 0.56 GB, free: 8.219 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004069/0.1225, allocations: 125.6 kB / 0.5601 GB, free: 8.09 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.1226, allocations: 55.34 kB / 0.5602 GB, free: 8.023 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.43e-05/0.1226, allocations: 101.8 kB / 0.5603 GB, free: 7.914 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.1226, allocations: 25.7 kB / 0.5603 GB, free: 7.883 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.106e-05/0.1227, allocations: 88.05 kB / 0.5604 GB, free: 7.793 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.369e-05/0.1227, allocations: 8.125 kB / 0.5604 GB, free: 7.785 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-06/0.1227, allocations: 0 / 0.5604 GB, free: 7.785 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.517e-05/0.1228, allocations: 318.8 kB / 0.5607 GB, free: 7.465 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.1229, allocations: 31.97 kB / 0.5607 GB, free: 7.434 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.842e-05/0.123, allocations: 31.98 kB / 0.5608 GB, free: 7.402 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.1231, allocations: 27.97 kB / 0.5608 GB, free: 7.375 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1231, allocations: 0 / 0.5608 GB, free: 7.375 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002485/0.1234, allocations: 105.6 kB / 0.5609 GB, free: 7.266 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.1234, allocations: 4 kB / 0.5609 GB, free: 7.262 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.1234, allocations: 3.938 kB / 0.5609 GB, free: 7.258 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.897e-06/0.1234, allocations: 0 / 0.5609 GB, free: 7.258 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.1235, allocations: 23.95 kB / 0.5609 GB, free: 7.234 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.1236, allocations: 0 / 0.5609 GB, free: 7.234 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.931e-05/0.1236, allocations: 15.98 kB / 0.561 GB, free: 7.219 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.1237, allocations: 0 / 0.561 GB, free: 7.219 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.344e-05/0.1237, allocations: 118.4 kB / 0.5611 GB, free: 7.094 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.23e-05/0.1238, allocations: 0 / 0.5611 GB, free: 7.094 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.295e-05/0.1238, allocations: 7.125 kB / 0.5611 GB, free: 7.082 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1238, allocations: 192 / 0.5611 GB, free: 7.082 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.1238, allocations: 4 kB / 0.5611 GB, free: 7.078 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1238, allocations: 3.984 kB / 0.5611 GB, free: 7.074 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.1239, allocations: 165.6 kB / 0.5612 GB, free: 6.863 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.124, allocations: 3.938 kB / 0.5612 GB, free: 6.859 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.733e-05/0.1241, allocations: 19.97 kB / 0.5613 GB, free: 6.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1241, allocations: 0 / 0.5613 GB, free: 6.84 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.1241, allocations: 4 kB / 0.5613 GB, free: 6.836 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1241, allocations: 0 / 0.5613 GB, free: 6.836 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1241, allocations: 0 / 0.5613 GB, free: 6.836 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000281/0.1244, allocations: 199.4 kB / 0.5615 GB, free: 6.625 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.717e-05/0.1244, allocations: 84.97 kB / 0.5615 GB, free: 6.523 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.1244, allocations: 4 kB / 0.5615 GB, free: 6.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.1245, allocations: 11.98 kB / 0.5616 GB, free: 6.508 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.465e-05/0.1246, allocations: 0 / 0.5616 GB, free: 6.508 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.1246, allocations: 4 kB / 0.5616 GB, free: 6.504 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.31e-05/0.1246, allocations: 91.3 kB / 0.5616 GB, free: 6.414 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1246, allocations: 0 / 0.5616 GB, free: 6.414 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002182/0.1249, allocations: 12 kB / 0.5617 GB, free: 6.402 MB / 430.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 (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.000532/0.1254, allocations: 0.7365 MB / 0.5624 GB, free: 5.637 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000247/0.1256, allocations: 71.91 kB / 0.5624 GB, free: 5.566 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1257, allocations: 0 / 0.5624 GB, free: 5.566 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.1258, allocations: 44.02 kB / 0.5625 GB, free: 5.523 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.126, allocations: 4 kB / 0.5625 GB, free: 5.52 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004498/0.1265, allocations: 170.2 kB / 0.5626 GB, free: 5.312 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001648/0.1267, allocations: 0.677 MB / 0.5633 GB, free: 4.609 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.591e-05/0.1267, allocations: 12.06 kB / 0.5633 GB, free: 4.598 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.904e-05/0.1268, allocations: 11.44 kB / 0.5633 GB, free: 4.586 MB / 430.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1268, allocations: 3.938 kB / 0.5633 GB, free: 4.582 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01002/0.1368, allocations: 1.4 MB / 0.5647 GB, free: 3.359 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001733/0.137, allocations: 188.2 kB / 0.5649 GB, free: 3.125 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.417/1.554, allocations: 0 / 0.5649 GB, free: 3.125 MB / 430.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/linux/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) Environment - environmentSimulation: