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/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.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001257, allocations: 103.2 kB / 16.94 MB, free: 6.191 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.001199/0.001199, allocations: 191.4 kB / 17.86 MB, free: 5.293 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.255/1.255, allocations: 222.9 MB / 241.6 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7441/0.7441, allocations: 122.9 MB / 414.6 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001433, allocations: 67.88 kB / 0.4917 GB, free: 7.453 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3527, allocations: 77.92 MB / 0.5678 GB, free: 32.87 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002744/0.3555, allocations: 1.649 MB / 0.5694 GB, free: 31.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006252/0.3561, allocations: 393.8 kB / 0.5698 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.131e-05/0.3562, allocations: 1.719 kB / 0.5698 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.935e-05/0.3563, allocations: 11.89 kB / 0.5698 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.973e-05/0.3564, allocations: 21.73 kB / 0.5699 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004444/0.3568, allocations: 126 kB / 0.57 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.357, allocations: 110.6 kB / 0.5701 GB, free: 31.33 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.3571, allocations: 39.62 kB / 0.5701 GB, free: 31.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.466e-05/0.3572, allocations: 40.22 kB / 0.5702 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.86e-05/0.3573, allocations: 39.95 kB / 0.5702 GB, free: 31.28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.3573, allocations: 8.5 kB / 0.5702 GB, free: 31.28 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/0.3574, allocations: 61.11 kB / 0.5703 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.925e-05/0.3575, allocations: 24.91 kB / 0.5703 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.869e-05/0.3575, allocations: 42.73 kB / 0.5703 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.3577, allocations: 139.1 kB / 0.5705 GB, free: 31.17 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3578, allocations: 1.031 kB / 0.5705 GB, free: 31.17 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3578, allocations: 1.562 kB / 0.5705 GB, free: 31.17 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.3578, allocations: 5.109 kB / 0.5705 GB, free: 31.17 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005373/0.3583, allocations: 417.8 kB / 0.5709 GB, free: 30.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.3584, allocations: 11.5 kB / 0.5709 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002435/0.3586, allocations: 30.75 kB / 0.5709 GB, free: 30.76 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.3588, allocations: 190.1 kB / 0.5711 GB, free: 30.55 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.056e-05/0.3588, allocations: 33.5 kB / 0.5711 GB, free: 30.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.3589, allocations: 10.19 kB / 0.5711 GB, free: 30.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002585/0.3591, allocations: 103.3 kB / 0.5712 GB, free: 30.47 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.3591, allocations: 8.719 kB / 0.5712 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.3592, allocations: 1.094 kB / 0.5712 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.3592, allocations: 2.406 kB / 0.5712 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002445/0.3594, allocations: 84.86 kB / 0.5713 GB, free: 30.44 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006502/0.3601, allocations: 396.4 kB / 0.5717 GB, free: 30.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005314/0.3606, allocations: 130.3 kB / 0.5718 GB, free: 30.06 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.3608, allocations: 41 kB / 0.5719 GB, free: 30.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.3608, allocations: 1.812 kB / 0.5719 GB, free: 30.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.3608, allocations: 33.38 kB / 0.5719 GB, free: 30 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.3608, allocations: 0 / 0.5719 GB, free: 30 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004489/0.3613, allocations: 139.4 kB / 0.572 GB, free: 29.94 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.3613, allocations: 53.75 kB / 0.5721 GB, free: 29.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.83e-05/0.3614, allocations: 144.6 kB / 0.5722 GB, free: 29.76 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.3614, allocations: 26.23 kB / 0.5722 GB, free: 29.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.915e-05/0.3615, allocations: 104 kB / 0.5723 GB, free: 29.63 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.369e-05/0.3615, allocations: 28.38 kB / 0.5724 GB, free: 29.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.732e-05/0.3616, allocations: 22.06 kB / 0.5724 GB, free: 29.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.875e-05/0.3616, allocations: 320.6 kB / 0.5727 GB, free: 29.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.3617, allocations: 30.31 kB / 0.5727 GB, free: 29.26 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.3618, allocations: 46.14 kB / 0.5728 GB, free: 29.24 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002023/0.3621, allocations: 79.84 kB / 0.5728 GB, free: 29.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3621, allocations: 1.5 kB / 0.5728 GB, free: 29.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002492/0.3623, allocations: 104.9 kB / 0.5729 GB, free: 29.15 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.3623, allocations: 10.42 kB / 0.573 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3624, allocations: 1.469 kB / 0.573 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.3624, allocations: 1.219 kB / 0.573 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.3625, allocations: 26.08 kB / 0.573 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3625, allocations: 1.969 kB / 0.573 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.952e-05/0.3626, allocations: 7.297 kB / 0.573 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-06/0.3626, allocations: 2.844 kB / 0.573 GB, free: 29.14 MB / 446.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.386e-05/0.3627, allocations: 116.2 kB / 0.5731 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.577e-05/0.3627, allocations: 12.06 kB / 0.5731 GB, free: 29.01 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.147e-05/0.3628, allocations: 16.11 kB / 0.5731 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.3628, allocations: 5.594 kB / 0.5731 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3628, allocations: 1.438 kB / 0.5731 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3628, allocations: 1.156 kB / 0.5731 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.363, allocations: 207.6 kB / 0.5733 GB, free: 28.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.363, allocations: 0.7969 kB / 0.5733 GB, free: 28.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.3631, allocations: 19.5 kB / 0.5734 GB, free: 28.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.3631, allocations: 1.344 kB / 0.5734 GB, free: 28.78 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.3631, allocations: 2.406 kB / 0.5734 GB, free: 28.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.3631, allocations: 5.734 kB / 0.5734 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3631, allocations: 0 / 0.5734 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002643/0.3634, allocations: 200 kB / 0.5736 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.253e-05/0.3634, allocations: 92.25 kB / 0.5736 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.3635, allocations: 0.6094 kB / 0.5736 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.3636, allocations: 15.11 kB / 0.5737 GB, free: 28.51 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/0.3637, allocations: 4.797 kB / 0.5737 GB, free: 28.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.3637, allocations: 8.797 kB / 0.5737 GB, free: 28.51 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.315e-05/0.3637, allocations: 105 kB / 0.5738 GB, free: 28.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3637, allocations: 0 / 0.5738 GB, free: 28.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002492/0.364, allocations: 19.34 kB / 0.5738 GB, free: 28.43 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 (7): * Single equations (assignments): 7 * 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 8.788e-05/0.3641, allocations: 99.59 kB / 0.5739 GB, free: 28.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002632/0.3644, allocations: 71.77 kB / 0.574 GB, free: 28.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3644, allocations: 3.25 kB / 0.574 GB, free: 28.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.3645, allocations: 47.92 kB / 0.574 GB, free: 28.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.3648, allocations: 31.2 kB / 0.574 GB, free: 28.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004591/0.3653, allocations: 230.9 kB / 0.5743 GB, free: 28.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/0.3655, allocations: 0.6968 MB / 0.5749 GB, free: 27.42 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.292e-05/0.3655, allocations: 12.94 kB / 0.5749 GB, free: 27.41 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3655, allocations: 3.938 kB / 0.5749 GB, free: 27.41 MB / 446.1 MB Notification: Performance of Templates: time 0.003128/0.3686, allocations: 1.303 MB / 0.5762 GB, free: 27.35 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (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 & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)