Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.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.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 104.1 kB / 16.52 MB, free: 6.727 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.001076/0.001076, allocations: 195.2 kB / 17.45 MB, free: 6.051 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.244/1.244, allocations: 222.9 MB / 241.1 MB, free: 15.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7042/0.7042, allocations: 115.3 MB / 406.6 MB, free: 6.406 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 67.89 kB / 493.6 MB, free: 0.8359 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.316, allocations: 76.18 MB / 0.5564 GB, free: 36.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002058/0.3181, allocations: 1.319 MB / 0.5577 GB, free: 35.28 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.3191, allocations: 0.8477 MB / 0.5585 GB, free: 34.71 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.382e-05/0.3192, allocations: 0 / 0.5585 GB, free: 34.71 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.597e-05/0.3192, allocations: 0 / 0.5585 GB, free: 34.71 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.263e-05/0.3192, allocations: 5.281 kB / 0.5585 GB, free: 34.7 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003624/0.3196, allocations: 121.3 kB / 0.5586 GB, free: 34.64 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.395e-05/0.3197, allocations: 24.19 kB / 0.5586 GB, free: 34.63 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.685e-05/0.3197, allocations: 2.562 kB / 0.5586 GB, free: 34.63 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.547e-05/0.3197, allocations: 11.56 kB / 0.5587 GB, free: 34.63 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.19e-05/0.3198, allocations: 12.83 kB / 0.5587 GB, free: 34.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.3198, allocations: 1.344 kB / 0.5587 GB, free: 34.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002932/0.3201, allocations: 177.3 kB / 0.5588 GB, free: 34.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.476e-05/0.3202, allocations: 2.547 kB / 0.5588 GB, free: 34.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.43e-05/0.3202, allocations: 10.72 kB / 0.5589 GB, free: 34.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.3203, allocations: 90.69 kB / 0.5589 GB, free: 34.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3204, allocations: 0 / 0.5589 GB, free: 34.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.81e-07/0.3204, allocations: 0 / 0.5589 GB, free: 34.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.3204, allocations: 1.5 kB / 0.5589 GB, free: 34.55 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000345/0.3207, allocations: 359.2 kB / 0.5593 GB, free: 34.17 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.3208, allocations: 14.47 kB / 0.5593 GB, free: 34.17 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.631e-05/0.3208, allocations: 6.156 kB / 0.5593 GB, free: 34.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.514e-05/0.3209, allocations: 162.5 kB / 0.5595 GB, free: 33.97 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.197e-05/0.321, allocations: 39.91 kB / 0.5595 GB, free: 33.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.321, allocations: 1.719 kB / 0.5595 GB, free: 33.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.3211, allocations: 44.34 kB / 0.5595 GB, free: 33.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.3211, allocations: 5.531 kB / 0.5595 GB, free: 33.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.3211, allocations: 1.688 kB / 0.5595 GB, free: 33.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.3211, allocations: 0 / 0.5595 GB, free: 33.89 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.046e-05/0.3212, allocations: 13.59 kB / 0.5596 GB, free: 33.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001139/0.3214, allocations: 165 kB / 0.5597 GB, free: 33.69 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.3216, allocations: 47.61 kB / 0.5598 GB, free: 33.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.493e-05/0.3216, allocations: 19.86 kB / 0.5598 GB, free: 33.65 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002455/0.3219, allocations: 183.2 kB / 0.56 GB, free: 33.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.643e-05/0.3219, allocations: 35.88 kB / 0.56 GB, free: 33.42 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3219, allocations: 0 / 0.56 GB, free: 33.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002233/0.3221, allocations: 66.48 kB / 0.5601 GB, free: 33.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.972e-05/0.3222, allocations: 53.09 kB / 0.5601 GB, free: 33.31 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.37e-05/0.3222, allocations: 96.59 kB / 0.5602 GB, free: 33.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.905e-06/0.3222, allocations: 26.2 kB / 0.5602 GB, free: 33.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.449e-05/0.3222, allocations: 81.8 kB / 0.5603 GB, free: 33.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/0.3223, allocations: 17.92 kB / 0.5603 GB, free: 33.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.78e-05/0.3223, allocations: 16.62 kB / 0.5603 GB, free: 33.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.089e-05/0.3224, allocations: 317.6 kB / 0.5606 GB, free: 32.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.795e-05/0.3224, allocations: 7.078 kB / 0.5606 GB, free: 32.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.035e-05/0.3225, allocations: 13.12 kB / 0.5607 GB, free: 32.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.241e-05/0.3225, allocations: 25.47 kB / 0.5607 GB, free: 32.74 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3226, allocations: 4.719 kB / 0.5607 GB, free: 32.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001223/0.3227, allocations: 67.7 kB / 0.5607 GB, free: 32.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.3227, allocations: 8.656 kB / 0.5608 GB, free: 32.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.3227, allocations: 3.984 kB / 0.5608 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.3227, allocations: 1 kB / 0.5608 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.316e-05/0.3228, allocations: 13.67 kB / 0.5608 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.3228, allocations: 0 / 0.5608 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.887e-05/0.3228, allocations: 1.438 kB / 0.5608 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.3228, allocations: 2.062 kB / 0.5608 GB, free: 32.68 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 (4): * Single equations (assignments): 4 * 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.29e-05/0.3229, allocations: 110.3 kB / 0.5609 GB, free: 32.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.321e-05/0.3229, allocations: 14.22 kB / 0.5609 GB, free: 32.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001615/0.3231, allocations: 65.16 kB / 0.561 GB, free: 32.51 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.3231, allocations: 0 / 0.561 GB, free: 32.51 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3231, allocations: 3.234 kB / 0.561 GB, free: 32.51 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3231, allocations: 1.469 kB / 0.561 GB, free: 32.51 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.141e-05/0.3232, allocations: 153.8 kB / 0.5611 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3232, allocations: 0 / 0.5611 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.785e-05/0.3232, allocations: 13.56 kB / 0.5611 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3232, allocations: 4.594 kB / 0.5611 GB, free: 32.31 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.3232, allocations: 5.375 kB / 0.5611 GB, free: 32.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3232, allocations: 1 kB / 0.5611 GB, free: 32.31 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3233, allocations: 1.312 kB / 0.5611 GB, free: 32.31 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001339/0.3234, allocations: 81.25 kB / 0.5612 GB, free: 32.24 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.641e-05/0.3234, allocations: 89.73 kB / 0.5613 GB, free: 32.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.3235, allocations: 9.188 kB / 0.5613 GB, free: 32.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.959e-05/0.3235, allocations: 3.094 kB / 0.5613 GB, free: 32.13 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.243e-05/0.3235, allocations: 3.172 kB / 0.5613 GB, free: 32.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.3236, allocations: 3.469 kB / 0.5613 GB, free: 32.13 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.977e-05/0.3236, allocations: 83.95 kB / 0.5614 GB, free: 32.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3236, allocations: 0 / 0.5614 GB, free: 32.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002328/0.3238, allocations: 36.16 kB / 0.5614 GB, free: 32.04 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 (4): * Single equations (assignments): 4 * 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.0001901/0.324, allocations: 143.2 kB / 0.5616 GB, free: 31.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001381/0.3242, allocations: 28.86 kB / 0.5616 GB, free: 31.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3242, allocations: 2.062 kB / 0.5616 GB, free: 31.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.022e-05/0.3242, allocations: 14.69 kB / 0.5616 GB, free: 31.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.3244, allocations: 9.766 kB / 0.5616 GB, free: 31.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000229/0.3247, allocations: 148.5 kB / 0.5618 GB, free: 31.78 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.261e-05/0.3248, allocations: 0.6772 MB / 0.5624 GB, free: 31.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.192e-05/0.3248, allocations: 15.53 kB / 0.5624 GB, free: 31.07 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3248, allocations: 0 / 0.5624 GB, free: 31.07 MB / 446.1 MB Notification: Performance of Templates: time 0.002456/0.3273, allocations: 0.978 MB / 0.5634 GB, free: 31.04 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)