Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.813/1.813, allocations: 289.9 MB / 297.4 MB, free: 6.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001761/0.001761, allocations: 176.8 kB / 366.7 MB, free: 1.652 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.935/1.935, allocations: 205.2 MB / 0.626 GB, free: 7.164 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009353/0.0009357, allocations: 89.39 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.259e-05/2.26e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.749/0.749, allocations: 116.3 MB / 0.9733 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2092/0.9583, allocations: 140.5 MB / 1.111 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/0.9586, allocations: 71.95 kB / 1.111 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01098/0.9696, allocations: 3.43 MB / 1.114 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.586e-06/0.9697, allocations: 0 / 1.114 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.565e-05/0.9697, allocations: 7.938 kB / 1.114 GB, free: 6.258 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006311/0.9703, allocations: 405 kB / 1.114 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.9704, allocations: 12.03 kB / 1.114 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002826/0.9707, allocations: 28.94 kB / 1.114 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.971, allocations: 190.8 kB / 1.115 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-05/0.9711, allocations: 34.45 kB / 1.115 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.9711, allocations: 5.844 kB / 1.115 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001602/0.9713, allocations: 51.94 kB / 1.115 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.9714, allocations: 69.67 kB / 1.115 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.9714, allocations: 0 / 1.115 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.9715, allocations: 9.781 kB / 1.115 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.9715, allocations: 0 / 1.115 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007061/0.9722, allocations: 350.5 kB / 1.115 GB, free: 5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004673/0.9727, allocations: 110.6 kB / 1.115 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.071e-05/0.9728, allocations: 32.89 kB / 1.115 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.9728, allocations: 0 / 1.115 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.9728, allocations: 30.56 kB / 1.115 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.9728, allocations: 0 / 1.115 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002233/0.9731, allocations: 81.66 kB / 1.115 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.9731, allocations: 55.39 kB / 1.115 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.9732, allocations: 107 kB / 1.115 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.9733, allocations: 25.7 kB / 1.115 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.382e-05/0.9733, allocations: 99.97 kB / 1.116 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.828e-05/0.9734, allocations: 31.55 kB / 1.116 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.9734, allocations: 0 / 1.116 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.9735, allocations: 318.8 kB / 1.116 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.674e-05/0.9736, allocations: 20 kB / 1.116 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.599e-05/0.9736, allocations: 29.72 kB / 1.116 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.99e-05/0.9737, allocations: 15.98 kB / 1.116 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.9737, allocations: 1.781 kB / 1.116 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001495/0.9739, allocations: 83.56 kB / 1.116 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.9739, allocations: 5.406 kB / 1.116 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.984e-06/0.9739, allocations: 0 / 1.116 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.9739, allocations: 4 kB / 1.116 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.9741, allocations: 35.91 kB / 1.116 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.9741, allocations: 0 / 1.116 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.295e-05/0.9742, allocations: 15.89 kB / 1.116 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.9742, allocations: 0 / 1.116 GB, free: 3.844 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 9.13e-05/0.9743, allocations: 104.9 kB / 1.116 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001352/0.9744, allocations: 72.31 kB / 1.116 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.214e-05/0.9745, allocations: 7.906 kB / 1.116 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.561e-05/0.9745, allocations: 20.58 kB / 1.116 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.9745, allocations: 0 / 1.116 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.9745, allocations: 0 / 1.116 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.9745, allocations: 0 / 1.116 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002066/0.9748, allocations: 182 kB / 1.116 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.9748, allocations: 0 / 1.116 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.9749, allocations: 19.98 kB / 1.116 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.9749, allocations: 3.094 kB / 1.117 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.9749, allocations: 0 / 1.117 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.9749, allocations: 4 kB / 1.117 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.9749, allocations: 3.953 kB / 1.117 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/0.9751, allocations: 177.4 kB / 1.117 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.578e-05/0.9752, allocations: 85 kB / 1.117 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.9752, allocations: 0 / 1.117 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.9754, allocations: 15.98 kB / 1.117 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/0.9754, allocations: 11.95 kB / 1.117 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.9754, allocations: 3.984 kB / 1.117 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.541e-05/0.9755, allocations: 87.28 kB / 1.117 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9755, allocations: 0 / 1.117 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002575/0.9758, allocations: 23.91 kB / 1.117 GB, free: 2.957 MB / 0.7136 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 (7): * Single equations (assignments): 7 * 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.0005045/0.9763, allocations: 0.7007 MB / 1.118 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001441/0.9765, allocations: 47.98 kB / 1.118 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.9765, allocations: 0 / 1.118 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.004e-05/0.9765, allocations: 27.94 kB / 1.118 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.9769, allocations: 22.05 kB / 1.118 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005765/0.9774, allocations: 169.6 kB / 1.118 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.9778, allocations: 0.697 MB / 1.119 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.311e-05/0.9779, allocations: 13.42 kB / 1.119 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.561e-05/0.9779, allocations: 23.44 kB / 1.119 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of SimCode: time 3.31e-07/0.9779, allocations: 0 / 1.119 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02586/1.004, allocations: 1.808 MB / 1.12 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002603/1.004, allocations: 157.4 kB / 1.12 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.609/2.613, allocations: 1.5 kB / 1.12 GB, free: 15.24 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)