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.0011/0.0011, allocations: 87.59 kB / 16.66 MB, free: 5.801 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.001424/0.001424, allocations: 178.8 kB / 17.58 MB, free: 5.473 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.632/1.632, allocations: 223.3 MB / 241.6 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7326/0.7326, allocations: 115.5 MB / 408.2 MB, free: 7.066 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003601/0.0003601, allocations: 8 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3702, allocations: 77.52 MB / 0.5606 GB, free: 36.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001294/0.3716, allocations: 0.9918 MB / 0.5616 GB, free: 35.53 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.3728, allocations: 0.8257 MB / 0.5624 GB, free: 34.96 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.661e-05/0.3729, allocations: 0 / 0.5624 GB, free: 34.96 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.357e-05/0.3729, allocations: 1.781 kB / 0.5624 GB, free: 34.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.739e-05/0.373, allocations: 10.42 kB / 0.5624 GB, free: 34.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004231/0.3734, allocations: 109 kB / 0.5625 GB, free: 34.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.857e-05/0.3735, allocations: 27.08 kB / 0.5625 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.983e-05/0.3735, allocations: 2.141 kB / 0.5625 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.356e-05/0.3736, allocations: 15.98 kB / 0.5625 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.02e-05/0.3736, allocations: 16.53 kB / 0.5625 GB, free: 34.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.3736, allocations: 0.9062 kB / 0.5625 GB, free: 34.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003447/0.374, allocations: 169.5 kB / 0.5627 GB, free: 34.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.53e-05/0.374, allocations: 8.172 kB / 0.5627 GB, free: 34.83 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.655e-05/0.3741, allocations: 40.3 kB / 0.5627 GB, free: 34.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.3742, allocations: 83.95 kB / 0.5628 GB, free: 34.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3743, allocations: 0.8906 kB / 0.5628 GB, free: 34.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3743, allocations: 3 kB / 0.5628 GB, free: 34.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.137e-06/0.3743, allocations: 0 / 0.5628 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003779/0.3747, allocations: 345.9 kB / 0.5632 GB, free: 34.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.3747, allocations: 13.47 kB / 0.5632 GB, free: 34.4 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.278e-05/0.3748, allocations: 7.562 kB / 0.5632 GB, free: 34.4 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.917e-05/0.3748, allocations: 171.3 kB / 0.5633 GB, free: 34.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.955e-05/0.3749, allocations: 31.03 kB / 0.5634 GB, free: 34.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/0.3749, allocations: 1.688 kB / 0.5634 GB, free: 34.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.3751, allocations: 46.73 kB / 0.5634 GB, free: 34.13 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.3751, allocations: 3.938 kB / 0.5634 GB, free: 34.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.3751, allocations: 0 / 0.5634 GB, free: 34.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.3751, allocations: 1.688 kB / 0.5634 GB, free: 34.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.3752, allocations: 23.16 kB / 0.5634 GB, free: 34.12 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001426/0.3754, allocations: 163.3 kB / 0.5636 GB, free: 33.92 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/0.3756, allocations: 46.56 kB / 0.5636 GB, free: 33.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.039e-05/0.3757, allocations: 22.42 kB / 0.5637 GB, free: 33.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002587/0.3759, allocations: 178.7 kB / 0.5638 GB, free: 33.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.376, allocations: 38.11 kB / 0.5639 GB, free: 33.64 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.376, allocations: 0 / 0.5639 GB, free: 33.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002474/0.3762, allocations: 74.52 kB / 0.5639 GB, free: 33.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.3763, allocations: 52.25 kB / 0.564 GB, free: 33.53 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.33e-05/0.3763, allocations: 96.08 kB / 0.5641 GB, free: 33.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.3764, allocations: 30.39 kB / 0.5641 GB, free: 33.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.398e-05/0.3764, allocations: 85.12 kB / 0.5642 GB, free: 33.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.516e-05/0.3764, allocations: 10.12 kB / 0.5642 GB, free: 33.31 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.128e-05/0.3764, allocations: 10.42 kB / 0.5642 GB, free: 33.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.286e-05/0.3765, allocations: 316.8 kB / 0.5645 GB, free: 32.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.889e-05/0.3765, allocations: 9.375 kB / 0.5645 GB, free: 32.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.182e-05/0.3766, allocations: 11.02 kB / 0.5645 GB, free: 32.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.229e-05/0.3767, allocations: 29.67 kB / 0.5646 GB, free: 32.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.3767, allocations: 1.031 kB / 0.5646 GB, free: 32.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001269/0.3768, allocations: 57.69 kB / 0.5646 GB, free: 32.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.3769, allocations: 11.06 kB / 0.5646 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3769, allocations: 0.5156 kB / 0.5646 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.3769, allocations: 0.875 kB / 0.5646 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.43e-05/0.3769, allocations: 9.344 kB / 0.5646 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.377, allocations: 0 / 0.5646 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.165e-05/0.377, allocations: 3.656 kB / 0.5646 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.377, allocations: 0.9375 kB / 0.5646 GB, free: 32.91 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 5.017e-05/0.3771, allocations: 109.8 kB / 0.5648 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.201e-05/0.3771, allocations: 13.19 kB / 0.5648 GB, free: 32.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001829/0.3773, allocations: 73.78 kB / 0.5648 GB, free: 32.74 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.3773, allocations: 1.5 kB / 0.5648 GB, free: 32.74 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.3773, allocations: 0 / 0.5648 GB, free: 32.74 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.3773, allocations: 1.594 kB / 0.5648 GB, free: 32.74 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.545e-05/0.3774, allocations: 159 kB / 0.565 GB, free: 32.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3774, allocations: 1.469 kB / 0.565 GB, free: 32.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.98e-05/0.3775, allocations: 9.594 kB / 0.565 GB, free: 32.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.3775, allocations: 3.938 kB / 0.565 GB, free: 32.54 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.453e-06/0.3775, allocations: 0 / 0.565 GB, free: 32.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.3775, allocations: 2.328 kB / 0.565 GB, free: 32.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3775, allocations: 0 / 0.565 GB, free: 32.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.3777, allocations: 86.86 kB / 0.5651 GB, free: 32.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.187e-05/0.3777, allocations: 85.25 kB / 0.5652 GB, free: 32.37 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.3777, allocations: 5.25 kB / 0.5652 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.953e-05/0.3778, allocations: 7.625 kB / 0.5652 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.334e-05/0.3778, allocations: 3.516 kB / 0.5652 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.3778, allocations: 6.547 kB / 0.5652 GB, free: 32.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.131e-05/0.3779, allocations: 83.77 kB / 0.5653 GB, free: 32.28 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3779, allocations: 0 / 0.5653 GB, free: 32.28 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000239/0.3781, allocations: 33.19 kB / 0.5653 GB, free: 32.27 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.0002027/0.3783, allocations: 135.5 kB / 0.5654 GB, free: 32.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001445/0.3785, allocations: 28.8 kB / 0.5655 GB, free: 32.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3785, allocations: 0 / 0.5655 GB, free: 32.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.46e-05/0.3785, allocations: 21.2 kB / 0.5655 GB, free: 32.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.3788, allocations: 4.938 kB / 0.5655 GB, free: 32.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002829/0.3791, allocations: 169.2 kB / 0.5656 GB, free: 32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.3792, allocations: 0.6777 MB / 0.5663 GB, free: 31.31 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.157e-05/0.3792, allocations: 12.41 kB / 0.5663 GB, free: 31.3 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3792, allocations: 0 / 0.5663 GB, free: 31.3 MB / 446.1 MB Notification: Performance of Templates: time 0.00285/0.3821, allocations: 0.9793 MB / 0.5673 GB, free: 31.27 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)