Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.455/1.455, allocations: 249.5 MB / 257 MB, free: 6.922 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00122/0.00122, allocations: 176.8 kB / 316.3 MB, free: 3.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.623/1.623, allocations: 205.3 MB / 0.5671 GB, free: 15.87 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007942/0.0007941, allocations: 86.09 kB / 0.6714 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.644e-05/1.638e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1977, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6708/0.8685, allocations: 133.3 MB / 1.015 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/0.8689, allocations: 77.05 kB / 1.016 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00624/0.8752, allocations: 1.928 MB / 1.017 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8752, allocations: 0 / 1.017 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.8752, allocations: 0 / 1.017 GB, free: 2.398 MB / 0.6355 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.0003801/0.8756, allocations: 369.8 kB / 1.018 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.8756, allocations: 8.031 kB / 1.018 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003353/0.876, allocations: 24.84 kB / 1.018 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.8761, allocations: 170.3 kB / 1.018 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.8761, allocations: 0 / 1.018 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.8762, allocations: 3.984 kB / 1.018 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.595e-05/0.8762, allocations: 18.56 kB / 1.018 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.278e-05/0.8763, allocations: 48.92 kB / 1.018 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.8764, allocations: 3.984 kB / 1.018 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.8764, allocations: 0 / 1.018 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.8764, allocations: 0 / 1.018 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004177/0.8768, allocations: 261.9 kB / 1.018 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.805e-05/0.8769, allocations: 33.31 kB / 1.018 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.213e-05/0.8769, allocations: 20.73 kB / 1.018 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.877, allocations: 3.25 kB / 1.018 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.877, allocations: 33.3 kB / 1.018 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.877, allocations: 0 / 1.018 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001711/0.8772, allocations: 56.36 kB / 1.018 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.8772, allocations: 51.41 kB / 1.019 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.982e-05/0.8773, allocations: 95.5 kB / 1.019 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.8773, allocations: 29.73 kB / 1.019 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.515e-05/0.8774, allocations: 80.14 kB / 1.019 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.892e-05/0.8774, allocations: 7.75 kB / 1.019 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.201e-06/0.8774, allocations: 4 kB / 1.019 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.8775, allocations: 318.8 kB / 1.019 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.338e-05/0.8776, allocations: 9.906 kB / 1.019 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.884e-05/0.8776, allocations: 8.75 kB / 1.019 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.742e-05/0.8776, allocations: 15.17 kB / 1.019 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.8776, allocations: 0 / 1.019 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.123e-05/0.8777, allocations: 52.5 kB / 1.019 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.8777, allocations: 8 kB / 1.019 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.8778, allocations: 3.938 kB / 1.019 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.8778, allocations: 192 / 1.019 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.8779, allocations: 19.97 kB / 1.019 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.8779, allocations: 0 / 1.019 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.329e-05/0.878, allocations: 12.03 kB / 1.019 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.878, allocations: 3.984 kB / 1.019 GB, free: 0.543 MB / 0.6355 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 () * 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.831e-05/0.8781, allocations: 108.9 kB / 1.019 GB, free: 440 kB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001005/0.8782, allocations: 55.81 kB / 1.019 GB, free: 388 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.8783, allocations: 7.891 kB / 1.019 GB, free: 380 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.469e-05/0.8783, allocations: 19.52 kB / 1.019 GB, free: 364 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.8783, allocations: 0 / 1.019 GB, free: 364 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.8783, allocations: 4.031 kB / 1.019 GB, free: 360 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.8783, allocations: 3.953 kB / 1.019 GB, free: 356 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.8785, allocations: 145.3 kB / 1.019 GB, free: 180 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.8785, allocations: 0 / 1.019 GB, free: 180 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.8786, allocations: 15.98 kB / 1.019 GB, free: 164 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.8786, allocations: 0 / 1.019 GB, free: 164 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.8786, allocations: 3.984 kB / 1.019 GB, free: 160 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.8786, allocations: 0 / 1.019 GB, free: 160 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.8787, allocations: 7.875 kB / 1.019 GB, free: 156 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.8788, allocations: 154.7 kB / 1.02 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.615e-05/0.8789, allocations: 77.11 kB / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.8789, allocations: 0 / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.879, allocations: 15 kB / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.8791, allocations: 3.984 kB / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.8791, allocations: 0 / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.481e-05/0.8791, allocations: 83.31 kB / 1.02 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8791, allocations: 0 / 1.02 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000229/0.8793, allocations: 16 kB / 1.02 GB, free: 15.79 MB / 0.6511 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 () * 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.0004536/0.8798, allocations: 0.6945 MB / 1.021 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.66e-05/0.8799, allocations: 37.89 kB / 1.021 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.8799, allocations: 0 / 1.021 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.971e-05/0.88, allocations: 11.62 kB / 1.021 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001699/0.8801, allocations: 0 / 1.021 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004265/0.8806, allocations: 112.2 kB / 1.021 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/0.8808, allocations: 0.6806 MB / 1.021 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.078e-05/0.8809, allocations: 16.06 kB / 1.021 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.19e-05/0.881, allocations: 7.438 kB / 1.021 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of SimCode: time 2.91e-07/0.881, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01873/0.8997, allocations: 1.07 MB / 1.022 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000229/0.9, allocations: 169.6 kB / 1.023 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.565/2.465, allocations: 0 / 1.023 GB, free: 12.9 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)