Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.SaturationPressureLiquid,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",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.0006617/0.0006617, 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.0007328/0.0007328, allocations: 178.2 kB / 16.58 MB, free: 6.855 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.188/1.188, allocations: 223.2 MB / 240.6 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6026/0.6026, allocations: 113.7 MB / 405.5 MB, free: 4.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002701/0.0002701, allocations: 13.02 kB / 493.1 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1162, allocations: 77.11 MB / 0.5569 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.00105/0.1173, allocations: 1.118 MB / 0.558 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002867/0.1176, allocations: 179.6 kB / 0.5582 GB, free: 10.37 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.585e-05/0.1176, allocations: 4 kB / 0.5582 GB, free: 10.37 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.004e-05/0.1176, allocations: 7.984 kB / 0.5582 GB, free: 10.36 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.393e-05/0.1177, allocations: 3.938 kB / 0.5582 GB, free: 10.36 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001001/0.1178, allocations: 19.91 kB / 0.5582 GB, free: 10.34 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.833e-05/0.1178, allocations: 23.92 kB / 0.5582 GB, free: 10.31 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.515e-05/0.1179, allocations: 4 kB / 0.5582 GB, free: 10.31 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.017e-05/0.1179, allocations: 4 kB / 0.5582 GB, free: 10.3 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.476e-05/0.1179, allocations: 11.92 kB / 0.5582 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.1179, allocations: 4 kB / 0.5582 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.803e-05/0.118, allocations: 31.91 kB / 0.5583 GB, free: 10.26 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.702e-06/0.118, allocations: 3.984 kB / 0.5583 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.624e-05/0.118, allocations: 29.7 kB / 0.5583 GB, free: 10.22 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 5.567e-05/0.1181, allocations: 28.19 kB / 0.5583 GB, free: 10.19 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.1181, allocations: 4 kB / 0.5583 GB, free: 10.19 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1181, allocations: 3.938 kB / 0.5583 GB, free: 10.18 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.475e-06/0.1181, allocations: 0 / 0.5583 GB, free: 10.18 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.0002607/0.1184, allocations: 335.4 kB / 0.5586 GB, free: 9.809 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.62e-05/0.1184, allocations: 12.03 kB / 0.5587 GB, free: 9.797 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.467e-05/0.1185, allocations: 30.56 kB / 0.5587 GB, free: 9.758 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.965e-05/0.1185, allocations: 11.84 kB / 0.5587 GB, free: 9.746 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.584e-05/0.1186, allocations: 171 kB / 0.5589 GB, free: 9.539 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.771e-06/0.1186, allocations: 0 / 0.5589 GB, free: 9.539 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-06/0.1186, allocations: 3.953 kB / 0.5589 GB, free: 9.535 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.1188, allocations: 61.67 kB / 0.5589 GB, free: 9.469 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.097e-06/0.1188, allocations: 0 / 0.5589 GB, free: 9.469 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.559e-06/0.1188, allocations: 0 / 0.5589 GB, free: 9.469 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.044e-06/0.1188, allocations: 4 kB / 0.5589 GB, free: 9.465 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.119, allocations: 43.95 kB / 0.559 GB, free: 9.422 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002211/0.1192, allocations: 252.8 kB / 0.5592 GB, free: 9.125 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.8e-05/0.1193, allocations: 42.59 kB / 0.5593 GB, free: 9.074 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.411e-05/0.1194, allocations: 28.91 kB / 0.5593 GB, free: 9.043 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.1194, allocations: 4 kB / 0.5593 GB, free: 9.039 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.1194, allocations: 30.56 kB / 0.5593 GB, free: 9 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1194, allocations: 0 / 0.5593 GB, free: 9 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002805/0.1197, allocations: 101.6 kB / 0.5594 GB, free: 8.895 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.208e-05/0.1198, allocations: 51.41 kB / 0.5595 GB, free: 8.832 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.223e-05/0.1198, allocations: 101.8 kB / 0.5596 GB, free: 8.723 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.1198, allocations: 25.7 kB / 0.5596 GB, free: 8.691 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.932e-05/0.1199, allocations: 84.14 kB / 0.5597 GB, free: 8.605 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.23e-05/0.1199, allocations: 11.89 kB / 0.5597 GB, free: 8.594 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.1199, allocations: 128 / 0.5597 GB, free: 8.594 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.675e-05/0.12, allocations: 318.8 kB / 0.56 GB, free: 8.273 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.256e-05/0.12, allocations: 23.97 kB / 0.56 GB, free: 8.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.307e-05/0.1201, allocations: 19.98 kB / 0.56 GB, free: 8.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.03e-05/0.1202, allocations: 28.05 kB / 0.56 GB, free: 8.203 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1202, allocations: 3.953 kB / 0.56 GB, free: 8.199 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001701/0.1204, allocations: 81.5 kB / 0.5601 GB, free: 8.113 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.1204, allocations: 8.031 kB / 0.5601 GB, free: 8.105 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-06/0.1204, allocations: 0 / 0.5601 GB, free: 8.105 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.1204, allocations: 0 / 0.5601 GB, free: 8.105 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.978e-05/0.1205, allocations: 11.98 kB / 0.5601 GB, free: 8.094 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.955e-06/0.1205, allocations: 0 / 0.5601 GB, free: 8.094 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.509e-05/0.1206, allocations: 8 kB / 0.5602 GB, free: 8.086 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.1206, allocations: 3.984 kB / 0.5602 GB, free: 8.082 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 5.503e-05/0.1206, allocations: 113.8 kB / 0.5603 GB, free: 7.961 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.1207, allocations: 7.953 kB / 0.5603 GB, free: 7.953 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002061/0.1209, allocations: 84.72 kB / 0.5604 GB, free: 7.859 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1209, allocations: 0 / 0.5604 GB, free: 7.859 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.1209, allocations: 11.98 kB / 0.5604 GB, free: 7.848 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-06/0.1209, allocations: 0 / 0.5604 GB, free: 7.848 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.121, allocations: 153.7 kB / 0.5605 GB, free: 7.648 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.121, allocations: 3.938 kB / 0.5605 GB, free: 7.645 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.336e-05/0.1211, allocations: 19.94 kB / 0.5605 GB, free: 7.625 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1211, allocations: 240 / 0.5605 GB, free: 7.625 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.13e-06/0.1211, allocations: 0 / 0.5605 GB, free: 7.625 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1211, allocations: 0 / 0.5605 GB, free: 7.625 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1211, allocations: 0 / 0.5605 GB, free: 7.625 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/0.1213, allocations: 179.5 kB / 0.5607 GB, free: 7.434 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.848e-05/0.1214, allocations: 85 kB / 0.5608 GB, free: 7.332 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.1214, allocations: 3.953 kB / 0.5608 GB, free: 7.328 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.444e-05/0.1215, allocations: 12 kB / 0.5608 GB, free: 7.316 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.281e-05/0.1215, allocations: 3.984 kB / 0.5608 GB, free: 7.312 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.1215, allocations: 4 kB / 0.5608 GB, free: 7.309 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.761e-05/0.1215, allocations: 79.28 kB / 0.5609 GB, free: 7.23 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1216, allocations: 0 / 0.5609 GB, free: 7.23 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002033/0.1218, allocations: 8 kB / 0.5609 GB, free: 7.223 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 (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.0003952/0.1222, allocations: 0.7092 MB / 0.5616 GB, free: 6.484 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001647/0.1223, allocations: 47.91 kB / 0.5616 GB, free: 6.438 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1223, allocations: 4 kB / 0.5616 GB, free: 6.434 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.025e-05/0.1224, allocations: 31.91 kB / 0.5617 GB, free: 6.402 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.1227, allocations: 7.953 kB / 0.5617 GB, free: 6.395 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003248/0.123, allocations: 162.3 kB / 0.5618 GB, free: 6.191 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001656/0.1232, allocations: 0.6731 MB / 0.5625 GB, free: 5.492 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.702e-05/0.1232, allocations: 0 / 0.5625 GB, free: 5.492 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.7e-05/0.1232, allocations: 11.42 kB / 0.5625 GB, free: 5.48 MB / 430.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1232, allocations: 0 / 0.5625 GB, free: 5.48 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009123/0.1324, allocations: 1.097 MB / 0.5636 GB, free: 4.555 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00021/0.1326, allocations: 208.3 kB / 0.5638 GB, free: 4.312 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.411/1.543, allocations: 4.062 kB / 0.5638 GB, free: 4.309 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) Environment - environmentSimulation: