Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.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.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 111.5 kB / 17.04 MB, free: 5.812 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.00105/0.00105, allocations: 195 kB / 17.98 MB, free: 5.027 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.271/1.271, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.676/0.676, allocations: 115.1 MB / 406.9 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001815, allocations: 64.12 kB / 494.8 MB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3331, allocations: 76.13 MB / 0.5576 GB, free: 36.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002194/0.3353, allocations: 1.485 MB / 0.559 GB, free: 35.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009425/0.3363, allocations: 0.8028 MB / 0.5598 GB, free: 35 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.127e-05/0.3363, allocations: 0.5312 kB / 0.5598 GB, free: 35 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.426e-05/0.3363, allocations: 9.406 kB / 0.5598 GB, free: 35 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.451e-05/0.3364, allocations: 8.938 kB / 0.5598 GB, free: 34.99 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000358/0.3368, allocations: 127.8 kB / 0.5599 GB, free: 34.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.478e-05/0.3368, allocations: 50.8 kB / 0.56 GB, free: 34.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.696e-05/0.3369, allocations: 22.06 kB / 0.56 GB, free: 34.9 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.025e-05/0.337, allocations: 24.81 kB / 0.56 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.208e-05/0.337, allocations: 24.03 kB / 0.56 GB, free: 34.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.3371, allocations: 4.031 kB / 0.5601 GB, free: 34.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002829/0.3373, allocations: 172.4 kB / 0.5602 GB, free: 34.83 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.279e-05/0.3374, allocations: 11.55 kB / 0.5602 GB, free: 34.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.639e-05/0.3374, allocations: 19.31 kB / 0.5602 GB, free: 34.81 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.3376, allocations: 146.5 kB / 0.5604 GB, free: 34.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3376, allocations: 3.938 kB / 0.5604 GB, free: 34.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3376, allocations: 1.469 kB / 0.5604 GB, free: 34.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.3377, allocations: 1.812 kB / 0.5604 GB, free: 34.77 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004201/0.3381, allocations: 397.8 kB / 0.5608 GB, free: 34.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/0.3381, allocations: 10.06 kB / 0.5608 GB, free: 34.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.95e-05/0.3381, allocations: 7.219 kB / 0.5608 GB, free: 34.37 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.111e-05/0.3382, allocations: 173.5 kB / 0.561 GB, free: 34.17 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.3382, allocations: 12.53 kB / 0.561 GB, free: 34.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.3383, allocations: 2.875 kB / 0.561 GB, free: 34.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.3385, allocations: 72.95 kB / 0.561 GB, free: 34.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.3385, allocations: 1.656 kB / 0.561 GB, free: 34.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.3385, allocations: 3.938 kB / 0.561 GB, free: 34.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.3385, allocations: 2.016 kB / 0.561 GB, free: 34.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002547/0.3388, allocations: 74.16 kB / 0.5611 GB, free: 34.1 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002861/0.3391, allocations: 287.7 kB / 0.5614 GB, free: 33.81 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.3393, allocations: 56.73 kB / 0.5614 GB, free: 33.78 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.3394, allocations: 40.78 kB / 0.5615 GB, free: 33.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001455/0.3395, allocations: 96.02 kB / 0.5616 GB, free: 33.67 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.207e-05/0.3396, allocations: 33.31 kB / 0.5616 GB, free: 33.63 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.3396, allocations: 0 / 0.5616 GB, free: 33.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004616/0.34, allocations: 128.4 kB / 0.5617 GB, free: 33.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.875e-05/0.3401, allocations: 53.06 kB / 0.5618 GB, free: 33.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.161e-05/0.3402, allocations: 118.1 kB / 0.5619 GB, free: 33.42 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.065e-06/0.3402, allocations: 25.7 kB / 0.5619 GB, free: 33.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.61e-05/0.3402, allocations: 91.56 kB / 0.562 GB, free: 33.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.3402, allocations: 18.62 kB / 0.562 GB, free: 33.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.823e-05/0.3403, allocations: 13.12 kB / 0.562 GB, free: 33.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.106e-05/0.3403, allocations: 321.7 kB / 0.5623 GB, free: 32.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.3404, allocations: 32.16 kB / 0.5624 GB, free: 32.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.3406, allocations: 36.14 kB / 0.5624 GB, free: 32.94 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002299/0.3408, allocations: 69.06 kB / 0.5625 GB, free: 32.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3408, allocations: 0 / 0.5625 GB, free: 32.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002701/0.3411, allocations: 96.62 kB / 0.5626 GB, free: 32.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.3411, allocations: 8.422 kB / 0.5626 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.3411, allocations: 0.6875 kB / 0.5626 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.3411, allocations: 1.438 kB / 0.5626 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.3412, allocations: 21.19 kB / 0.5626 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.3412, allocations: 0.6562 kB / 0.5626 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.875e-05/0.3413, allocations: 12.05 kB / 0.5626 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.3413, allocations: 0.7969 kB / 0.5626 GB, free: 32.88 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 (3): * Single equations (assignments): 3 * 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 4.311e-05/0.3414, allocations: 121.7 kB / 0.5627 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/0.3414, allocations: 8.984 kB / 0.5627 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002974/0.3417, allocations: 106 kB / 0.5628 GB, free: 32.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3417, allocations: 0.7031 kB / 0.5628 GB, free: 32.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.3417, allocations: 1.719 kB / 0.5628 GB, free: 32.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.3417, allocations: 0 / 0.5628 GB, free: 32.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.3419, allocations: 174.7 kB / 0.563 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3419, allocations: 1.969 kB / 0.563 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.433e-05/0.342, allocations: 16.23 kB / 0.563 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.342, allocations: 5.406 kB / 0.563 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.342, allocations: 0 / 0.563 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.342, allocations: 0 / 0.563 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.342, allocations: 2.641 kB / 0.563 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/0.3423, allocations: 204.3 kB / 0.5632 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.888e-05/0.3423, allocations: 83.06 kB / 0.5633 GB, free: 32.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.3423, allocations: 1.859 kB / 0.5633 GB, free: 32.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.641e-05/0.3424, allocations: 12.06 kB / 0.5633 GB, free: 32.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.3425, allocations: 4.219 kB / 0.5633 GB, free: 32.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.3425, allocations: 5.938 kB / 0.5633 GB, free: 32.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.191e-05/0.3425, allocations: 96.75 kB / 0.5634 GB, free: 32.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3425, allocations: 0 / 0.5634 GB, free: 32.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002549/0.3428, allocations: 31.62 kB / 0.5634 GB, free: 32.16 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 (3): * Single equations (assignments): 3 * 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.0001658/0.343, allocations: 127.2 kB / 0.5636 GB, free: 32.06 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002949/0.3433, allocations: 72.94 kB / 0.5636 GB, free: 32.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3433, allocations: 6.219 kB / 0.5636 GB, free: 32.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.3434, allocations: 39.53 kB / 0.5637 GB, free: 32.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.3437, allocations: 9.844 kB / 0.5637 GB, free: 32.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002554/0.344, allocations: 154.9 kB / 0.5638 GB, free: 31.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.066e-05/0.3441, allocations: 0.6825 MB / 0.5645 GB, free: 31.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.828e-05/0.3441, allocations: 4.609 kB / 0.5645 GB, free: 31.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.151e-05/0.3441, allocations: 10.25 kB / 0.5645 GB, free: 31.2 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3441, allocations: 2.094 kB / 0.5645 GB, free: 31.2 MB / 446.1 MB Notification: Performance of Templates: time 0.003551/0.3477, allocations: 1.369 MB / 0.5659 GB, free: 31.13 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)