Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.HumidityRatioPressure,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_HumidityRatioPressure",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.001254/0.001254, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5807/0.5807, 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.544/1.544, allocations: 221.5 MB / 343.2 MB, free: 1.582 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.0009945/0.0009947, allocations: 95.2 kB / 415.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.056e-05/2.058e-05, allocations: 4 kB / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.144, allocations: 72.31 MB / 0.5536 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5263/0.6704, allocations: 103.1 MB / 0.6543 GB, free: 6.977 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/0.6707, allocations: 74.27 kB / 0.6543 GB, free: 6.938 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01025/0.681, allocations: 3.483 MB / 0.6577 GB, free: 4.016 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.681, allocations: 0 / 0.6577 GB, free: 4.016 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.681, allocations: 0 / 0.6577 GB, free: 4.016 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005511/0.6816, allocations: 408.6 kB / 0.6581 GB, free: 3.578 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.6816, allocations: 8.031 kB / 0.6581 GB, free: 3.57 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002226/0.6819, allocations: 36.56 kB / 0.6582 GB, free: 3.535 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.6821, allocations: 189.4 kB / 0.6583 GB, free: 3.316 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.409e-05/0.6822, allocations: 29.7 kB / 0.6584 GB, free: 3.281 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.6822, allocations: 8 kB / 0.6584 GB, free: 3.273 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001341/0.6823, allocations: 49.28 kB / 0.6584 GB, free: 3.242 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.6825, allocations: 80.3 kB / 0.6585 GB, free: 3.172 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.6825, allocations: 0 / 0.6585 GB, free: 3.172 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.6825, allocations: 3.953 kB / 0.6585 GB, free: 3.168 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.6825, allocations: 7.938 kB / 0.6585 GB, free: 3.16 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005808/0.6831, allocations: 351.3 kB / 0.6589 GB, free: 2.809 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004295/0.6836, allocations: 109.3 kB / 0.659 GB, free: 2.711 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.587e-05/0.6836, allocations: 29.95 kB / 0.659 GB, free: 2.688 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.6837, allocations: 4 kB / 0.659 GB, free: 2.684 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.6837, allocations: 38.56 kB / 0.659 GB, free: 2.637 MB / 458.7 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.6837, allocations: 0 / 0.659 GB, free: 2.637 MB / 458.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001832/0.6839, allocations: 78.39 kB / 0.6591 GB, free: 2.566 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.684, allocations: 59.33 kB / 0.6592 GB, free: 2.496 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.038e-05/0.684, allocations: 104.5 kB / 0.6593 GB, free: 2.391 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.6841, allocations: 25.7 kB / 0.6593 GB, free: 2.359 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.862e-05/0.6841, allocations: 104.8 kB / 0.6594 GB, free: 2.262 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.6842, allocations: 26.77 kB / 0.6594 GB, free: 2.238 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.481e-06/0.6842, allocations: 0 / 0.6594 GB, free: 2.238 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.6843, allocations: 318.7 kB / 0.6597 GB, free: 1.922 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.352e-05/0.6844, allocations: 18.38 kB / 0.6597 GB, free: 1.91 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.4e-05/0.6844, allocations: 29.22 kB / 0.6598 GB, free: 1.883 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.641e-05/0.6845, allocations: 19.3 kB / 0.6598 GB, free: 1.871 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.6845, allocations: 0 / 0.6598 GB, free: 1.871 MB / 458.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001229/0.6846, allocations: 87.17 kB / 0.6599 GB, free: 1.793 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.6846, allocations: 4 kB / 0.6599 GB, free: 1.789 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.6846, allocations: 4.031 kB / 0.6599 GB, free: 1.785 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.6846, allocations: 0 / 0.6599 GB, free: 1.785 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.6848, allocations: 19.98 kB / 0.6599 GB, free: 1.766 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.6848, allocations: 4 kB / 0.6599 GB, free: 1.762 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.068e-05/0.6849, allocations: 7.984 kB / 0.6599 GB, free: 1.754 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.6849, allocations: 4 kB / 0.6599 GB, free: 1.75 MB / 458.7 MB 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 8.359e-05/0.685, allocations: 101 kB / 0.66 GB, free: 1.645 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001308/0.6851, allocations: 91.34 kB / 0.6601 GB, free: 1.562 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.789e-05/0.6852, allocations: 7.906 kB / 0.6601 GB, free: 1.555 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.147e-05/0.6852, allocations: 7.875 kB / 0.6601 GB, free: 1.555 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/0.6852, allocations: 4 kB / 0.6601 GB, free: 1.551 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.6852, allocations: 0 / 0.6601 GB, free: 1.551 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.6852, allocations: 0 / 0.6601 GB, free: 1.551 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.6854, allocations: 175.7 kB / 0.6603 GB, free: 1.355 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.6854, allocations: 3.953 kB / 0.6603 GB, free: 1.352 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.6855, allocations: 19.98 kB / 0.6603 GB, free: 1.332 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.6855, allocations: 4 kB / 0.6603 GB, free: 1.328 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.6856, allocations: 0 / 0.6603 GB, free: 1.328 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.6856, allocations: 0 / 0.6603 GB, free: 1.328 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.6856, allocations: 0 / 0.6603 GB, free: 1.328 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001679/0.6857, allocations: 173.8 kB / 0.6605 GB, free: 1.156 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.265e-05/0.6858, allocations: 95.72 kB / 0.6606 GB, free: 1.047 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.6858, allocations: 0 / 0.6606 GB, free: 1.047 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.686, allocations: 19.98 kB / 0.6606 GB, free: 1.027 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.861e-05/0.686, allocations: 0 / 0.6606 GB, free: 1.027 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.6861, allocations: 7.984 kB / 0.6606 GB, free: 1.02 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.419e-05/0.6861, allocations: 93.03 kB / 0.6607 GB, free: 0.9375 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6861, allocations: 0 / 0.6607 GB, free: 0.9375 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002225/0.6863, allocations: 16 kB / 0.6607 GB, free: 0.9219 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 (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.0004622/0.6868, allocations: 0.712 MB / 0.6614 GB, free: 200 kB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001177/0.6869, allocations: 45.31 kB / 0.6614 GB, free: 168 kB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.687, allocations: 0 / 0.6614 GB, free: 168 kB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.864e-05/0.687, allocations: 23.05 kB / 0.6614 GB, free: 152 kB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.6873, allocations: 19.75 kB / 0.6615 GB, free: 136 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004982/0.6878, allocations: 161 kB / 0.6616 GB, free: 15.95 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.6881, allocations: 0.7047 MB / 0.6623 GB, free: 15.22 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 7.667e-05/0.6882, allocations: 12.17 kB / 0.6623 GB, free: 15.21 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.567e-05/0.6882, allocations: 22.12 kB / 0.6623 GB, free: 15.2 MB / 474.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6883, allocations: 0 / 0.6623 GB, free: 15.2 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02165/0.7099, allocations: 1.799 MB / 0.6641 GB, free: 13.42 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002163/0.7102, allocations: 156.8 kB / 0.6642 GB, free: 13.22 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.717/2.427, allocations: 3.938 kB / 0.6642 GB, free: 13.21 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)