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/Complex 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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(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/Complex 4.0.0+maint.om/package.mo): time 0.00233/0.00233, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5522/0.5522, allocations: 90.91 MB / 99.34 MB, free: 2.199 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.577/1.577, allocations: 221.5 MB / 343.2 MB, free: 1.59 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 102.5 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.181e-05/2.183e-05, allocations: 7.938 kB / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.176, allocations: 72.32 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5528/0.7288, allocations: 102.2 MB / 0.6534 GB, free: 7.785 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/0.7292, allocations: 80.52 kB / 0.6535 GB, free: 7.738 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006284/0.7355, allocations: 1.972 MB / 0.6554 GB, free: 6.02 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.7355, allocations: 0 / 0.6554 GB, free: 6.02 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.7355, allocations: 0 / 0.6554 GB, free: 6.02 MB / 458.7 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.0004074/0.7359, allocations: 370.6 kB / 0.6558 GB, free: 5.617 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.736, allocations: 8.031 kB / 0.6558 GB, free: 5.609 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000346/0.7363, allocations: 27.92 kB / 0.6558 GB, free: 5.582 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.7365, allocations: 167 kB / 0.656 GB, free: 5.379 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.7365, allocations: 3.984 kB / 0.656 GB, free: 5.375 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.7365, allocations: 0 / 0.656 GB, free: 5.375 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.416e-05/0.7366, allocations: 22.17 kB / 0.656 GB, free: 5.359 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.851e-05/0.7367, allocations: 48.17 kB / 0.656 GB, free: 5.312 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.7367, allocations: 0 / 0.656 GB, free: 5.312 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.7368, allocations: 4 kB / 0.6561 GB, free: 5.309 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.7368, allocations: 3.953 kB / 0.6561 GB, free: 5.305 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004561/0.7372, allocations: 250.2 kB / 0.6563 GB, free: 5.035 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.029e-05/0.7373, allocations: 36.19 kB / 0.6563 GB, free: 4.996 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.266e-05/0.7374, allocations: 18.17 kB / 0.6563 GB, free: 4.98 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.7374, allocations: 4 kB / 0.6564 GB, free: 4.977 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.7374, allocations: 33.3 kB / 0.6564 GB, free: 4.938 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.7374, allocations: 0 / 0.6564 GB, free: 4.938 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001858/0.7376, allocations: 67.16 kB / 0.6564 GB, free: 4.875 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/0.7377, allocations: 51.41 kB / 0.6565 GB, free: 4.812 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.249e-05/0.7377, allocations: 89 kB / 0.6566 GB, free: 4.719 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.7378, allocations: 25.7 kB / 0.6566 GB, free: 4.688 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.134e-05/0.7378, allocations: 87.73 kB / 0.6567 GB, free: 4.602 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/0.7378, allocations: 3.906 kB / 0.6567 GB, free: 4.598 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-06/0.7379, allocations: 0 / 0.6567 GB, free: 4.598 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.738, allocations: 318.8 kB / 0.657 GB, free: 4.277 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.36e-05/0.738, allocations: 11.69 kB / 0.657 GB, free: 4.27 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.939e-05/0.7381, allocations: 9.688 kB / 0.657 GB, free: 4.266 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.775e-05/0.7381, allocations: 11.19 kB / 0.657 GB, free: 4.258 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.7381, allocations: 0 / 0.657 GB, free: 4.258 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.273e-05/0.7382, allocations: 51.3 kB / 0.6571 GB, free: 4.207 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.7382, allocations: 12.03 kB / 0.6571 GB, free: 4.195 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.7382, allocations: 0 / 0.6571 GB, free: 4.195 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.7382, allocations: 3.938 kB / 0.6571 GB, free: 4.191 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.7384, allocations: 15.98 kB / 0.6571 GB, free: 4.176 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.7384, allocations: 3.953 kB / 0.6571 GB, free: 4.172 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.12e-05/0.7385, allocations: 15.11 kB / 0.6571 GB, free: 4.16 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.7385, allocations: 3.984 kB / 0.6571 GB, free: 4.156 MB / 458.7 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 () * 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.075e-05/0.7386, allocations: 108 kB / 0.6572 GB, free: 4.047 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001032/0.7387, allocations: 54.5 kB / 0.6573 GB, free: 3.992 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.7387, allocations: 0 / 0.6573 GB, free: 3.992 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.741e-05/0.7388, allocations: 14.02 kB / 0.6573 GB, free: 3.98 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.7388, allocations: 4 kB / 0.6573 GB, free: 3.977 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.7388, allocations: 0 / 0.6573 GB, free: 3.977 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.7388, allocations: 3.984 kB / 0.6573 GB, free: 3.973 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.739, allocations: 147.8 kB / 0.6574 GB, free: 3.797 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.739, allocations: 0 / 0.6574 GB, free: 3.797 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.7391, allocations: 15.98 kB / 0.6575 GB, free: 3.781 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.7391, allocations: 0 / 0.6575 GB, free: 3.781 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.7391, allocations: 0 / 0.6575 GB, free: 3.781 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.7391, allocations: 0 / 0.6575 GB, free: 3.781 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.828e-06/0.7391, allocations: 3.953 kB / 0.6575 GB, free: 3.777 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.7393, allocations: 157.4 kB / 0.6576 GB, free: 3.617 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.926e-05/0.7394, allocations: 81.11 kB / 0.6577 GB, free: 3.52 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.7394, allocations: 0 / 0.6577 GB, free: 3.52 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.7395, allocations: 15.92 kB / 0.6577 GB, free: 3.504 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.7396, allocations: 3.953 kB / 0.6577 GB, free: 3.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.7396, allocations: 3.984 kB / 0.6577 GB, free: 3.496 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.565e-05/0.7396, allocations: 86.64 kB / 0.6578 GB, free: 3.414 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7396, allocations: 4.031 kB / 0.6578 GB, free: 3.41 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002324/0.7399, allocations: 16 kB / 0.6578 GB, free: 3.395 MB / 458.7 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 () * 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.0004633/0.7403, allocations: 0.6853 MB / 0.6585 GB, free: 2.691 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001062/0.7405, allocations: 25.41 kB / 0.6585 GB, free: 2.676 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.7405, allocations: 0 / 0.6585 GB, free: 2.676 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.383e-05/0.7405, allocations: 19.05 kB / 0.6585 GB, free: 2.66 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001818/0.7407, allocations: 7.688 kB / 0.6585 GB, free: 2.656 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004395/0.7411, allocations: 104.9 kB / 0.6586 GB, free: 2.52 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.7414, allocations: 0.6807 MB / 0.6593 GB, free: 1.812 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 9.402e-05/0.7415, allocations: 19.98 kB / 0.6593 GB, free: 1.793 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.102e-05/0.7416, allocations: 14.94 kB / 0.6593 GB, free: 1.781 MB / 458.7 MB Notification: Performance of SimCode: time 2.61e-07/0.7416, allocations: 0 / 0.6593 GB, free: 1.781 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02127/0.7628, allocations: 1.058 MB / 0.6604 GB, free: 0.7305 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002045/0.7631, allocations: 154.7 kB / 0.6605 GB, free: 0.5312 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.612/2.376, allocations: 0 / 0.6605 GB, free: 0.5312 MB / 458.7 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)