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/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: translateModel(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 107.1 kB / 15.99 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 191.3 kB / 16.91 MB, free: 6.195 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.364/1.364, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7674/0.7674, allocations: 122.9 MB / 413.6 MB, free: 15.96 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 59.91 kB / 0.4906 GB, free: 7.82 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5411/0.5428, allocations: 77.92 MB / 0.5667 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002423/0.5452, allocations: 1.459 MB / 0.5681 GB, free: 31.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008468/0.5461, allocations: 0.5934 MB / 0.5687 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.53e-05/0.5461, allocations: 1.938 kB / 0.5687 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.85e-05/0.5462, allocations: 0 / 0.5687 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.168e-05/0.5462, allocations: 7.078 kB / 0.5687 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002846/0.5465, allocations: 84.8 kB / 0.5688 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.811e-05/0.5465, allocations: 24.5 kB / 0.5688 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.806e-05/0.5466, allocations: 9.547 kB / 0.5688 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.301e-05/0.5466, allocations: 13.38 kB / 0.5688 GB, free: 31.28 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.361e-05/0.5467, allocations: 14.83 kB / 0.5688 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.535e-06/0.5467, allocations: 4.812 kB / 0.5688 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002537/0.5469, allocations: 146.9 kB / 0.569 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.738e-06/0.547, allocations: 1.125 kB / 0.569 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.912e-05/0.547, allocations: 16.19 kB / 0.569 GB, free: 31.22 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.5472, allocations: 103.9 kB / 0.5691 GB, free: 31.19 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.5472, allocations: 0 / 0.5691 GB, free: 31.19 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.5472, allocations: 0 / 0.5691 GB, free: 31.19 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.5472, allocations: 2 kB / 0.5691 GB, free: 31.19 MB / 446.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.0003003/0.5475, allocations: 359.6 kB / 0.5694 GB, free: 30.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.5476, allocations: 12.23 kB / 0.5694 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004152/0.548, allocations: 27.23 kB / 0.5695 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.565e-05/0.5481, allocations: 164.2 kB / 0.5696 GB, free: 30.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.103e-06/0.5481, allocations: 2.281 kB / 0.5696 GB, free: 30.62 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.5481, allocations: 1.844 kB / 0.5696 GB, free: 30.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.5483, allocations: 75.39 kB / 0.5697 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.989e-06/0.5483, allocations: 1.375 kB / 0.5697 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.5483, allocations: 5.562 kB / 0.5697 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.5483, allocations: 0 / 0.5697 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002515/0.5486, allocations: 54.64 kB / 0.5698 GB, free: 30.56 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003682/0.549, allocations: 275.8 kB / 0.57 GB, free: 30.28 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.5492, allocations: 65.88 kB / 0.5701 GB, free: 30.24 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.5493, allocations: 36.08 kB / 0.5701 GB, free: 30.22 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.5493, allocations: 1.031 kB / 0.5701 GB, free: 30.22 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.472e-05/0.5494, allocations: 32.45 kB / 0.5702 GB, free: 30.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.5494, allocations: 0.5625 kB / 0.5702 GB, free: 30.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004682/0.5498, allocations: 111.8 kB / 0.5703 GB, free: 30.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.73e-05/0.5499, allocations: 52.31 kB / 0.5703 GB, free: 30.08 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.119e-05/0.5499, allocations: 102.5 kB / 0.5704 GB, free: 29.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.55, allocations: 30.44 kB / 0.5704 GB, free: 29.94 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.625e-05/0.55, allocations: 85.42 kB / 0.5705 GB, free: 29.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.544e-05/0.55, allocations: 5.859 kB / 0.5705 GB, free: 29.85 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.742e-05/0.55, allocations: 15.69 kB / 0.5705 GB, free: 29.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.412e-05/0.5501, allocations: 314.9 kB / 0.5708 GB, free: 29.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.5502, allocations: 24.92 kB / 0.5709 GB, free: 29.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.5504, allocations: 31.62 kB / 0.5709 GB, free: 29.51 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002321/0.5506, allocations: 56.61 kB / 0.571 GB, free: 29.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.5506, allocations: 2.688 kB / 0.571 GB, free: 29.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002792/0.5509, allocations: 93.16 kB / 0.571 GB, free: 29.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.5509, allocations: 5 kB / 0.571 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-06/0.5509, allocations: 0 / 0.571 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.5509, allocations: 6.141 kB / 0.5711 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.5511, allocations: 17.42 kB / 0.5711 GB, free: 29.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.5511, allocations: 1.438 kB / 0.5711 GB, free: 29.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.859e-05/0.5512, allocations: 9.984 kB / 0.5711 GB, free: 29.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.5512, allocations: 0.5156 kB / 0.5711 GB, free: 29.44 MB / 446.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.367e-05/0.5513, allocations: 119.1 kB / 0.5712 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/0.5513, allocations: 2.609 kB / 0.5712 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.157e-05/0.5513, allocations: 4.938 kB / 0.5712 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.5513, allocations: 1.531 kB / 0.5712 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.5513, allocations: 0 / 0.5712 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.5514, allocations: 1.25 kB / 0.5712 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.5515, allocations: 173.5 kB / 0.5714 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5515, allocations: 3.938 kB / 0.5714 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.5516, allocations: 14.31 kB / 0.5714 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.5516, allocations: 1.344 kB / 0.5714 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.5517, allocations: 2.781 kB / 0.5714 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.5517, allocations: 1.922 kB / 0.5714 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.5517, allocations: 0 / 0.5714 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003186/0.552, allocations: 190.1 kB / 0.5716 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.977e-05/0.552, allocations: 82.55 kB / 0.5717 GB, free: 28.87 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.552, allocations: 2.25 kB / 0.5717 GB, free: 28.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.5522, allocations: 9.453 kB / 0.5717 GB, free: 28.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.548e-05/0.5522, allocations: 1.875 kB / 0.5717 GB, free: 28.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.5522, allocations: 2.531 kB / 0.5717 GB, free: 28.87 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.372e-05/0.5522, allocations: 84.94 kB / 0.5718 GB, free: 28.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5522, allocations: 1.188 kB / 0.5718 GB, free: 28.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002348/0.5525, allocations: 17.09 kB / 0.5718 GB, free: 28.79 MB / 446.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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001498/0.5526, allocations: 113.5 kB / 0.5719 GB, free: 28.69 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002901/0.5529, allocations: 57.47 kB / 0.5719 GB, free: 28.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.5529, allocations: 1.906 kB / 0.5719 GB, free: 28.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.5531, allocations: 31.7 kB / 0.572 GB, free: 28.67 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.5534, allocations: 12.86 kB / 0.572 GB, free: 28.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003507/0.5537, allocations: 134.8 kB / 0.5721 GB, free: 28.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.5538, allocations: 0.68 MB / 0.5728 GB, free: 27.85 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.887e-05/0.5539, allocations: 13.95 kB / 0.5728 GB, free: 27.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.291e-05/0.554, allocations: 11.55 kB / 0.5728 GB, free: 27.84 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.554, allocations: 0.8438 kB / 0.5728 GB, free: 27.84 MB / 446.1 MB Notification: Performance of Templates: time 0.002884/0.5569, allocations: 0.7186 MB / 0.5735 GB, free: 27.79 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (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 & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)