Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.00142/0.00142, allocations: 114.9 kB / 16.37 MB, free: 5.539 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.001502/0.001502, allocations: 189.4 kB / 17.3 MB, free: 5.18 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.397/1.397, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7788/0.7788, allocations: 132.2 MB / 423.4 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001979/0.00198, allocations: 63.91 kB / 0.5032 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3648, allocations: 80.18 MB / 0.5815 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002297/0.3671, allocations: 1.491 MB / 0.5829 GB, free: 26.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.3682, allocations: 0.8096 MB / 0.5837 GB, free: 26.03 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.192e-05/0.3682, allocations: 0.9062 kB / 0.5837 GB, free: 26.03 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.099e-05/0.3683, allocations: 3.938 kB / 0.5837 GB, free: 26.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.775e-05/0.3683, allocations: 16.38 kB / 0.5838 GB, free: 26.01 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003891/0.3687, allocations: 129.1 kB / 0.5839 GB, free: 25.92 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.354e-05/0.3688, allocations: 52.27 kB / 0.5839 GB, free: 25.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.829e-05/0.3689, allocations: 16.77 kB / 0.5839 GB, free: 25.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.267e-05/0.369, allocations: 19.17 kB / 0.584 GB, free: 25.87 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.408e-05/0.369, allocations: 27.25 kB / 0.584 GB, free: 25.85 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.369, allocations: 8.688 kB / 0.584 GB, free: 25.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002868/0.3693, allocations: 165.6 kB / 0.5842 GB, free: 25.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.408e-05/0.3693, allocations: 14.33 kB / 0.5842 GB, free: 25.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.39e-05/0.3694, allocations: 24.92 kB / 0.5842 GB, free: 25.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.3696, allocations: 145.9 kB / 0.5843 GB, free: 25.65 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3696, allocations: 2.094 kB / 0.5843 GB, free: 25.65 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3696, allocations: 0 / 0.5843 GB, free: 25.65 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.3696, allocations: 0.5938 kB / 0.5843 GB, free: 25.65 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.0004333/0.3701, allocations: 406.2 kB / 0.5847 GB, free: 25.24 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.3701, allocations: 9.75 kB / 0.5847 GB, free: 25.24 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.137e-05/0.3702, allocations: 7.344 kB / 0.5847 GB, free: 25.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.54e-05/0.3702, allocations: 178.2 kB / 0.5849 GB, free: 25.03 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.833e-06/0.3702, allocations: 384 / 0.5849 GB, free: 25.03 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.3703, allocations: 3 kB / 0.5849 GB, free: 25.03 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.3705, allocations: 78.56 kB / 0.585 GB, free: 24.97 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.3705, allocations: 0.8125 kB / 0.585 GB, free: 24.97 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-06/0.3705, allocations: 9.844 kB / 0.585 GB, free: 24.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3705, allocations: 1.219 kB / 0.585 GB, free: 24.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002547/0.3708, allocations: 72.89 kB / 0.5851 GB, free: 24.93 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002813/0.3711, allocations: 283.5 kB / 0.5853 GB, free: 24.62 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.3713, allocations: 51.48 kB / 0.5854 GB, free: 24.59 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.3714, allocations: 39.31 kB / 0.5854 GB, free: 24.56 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001654/0.3716, allocations: 93.41 kB / 0.5855 GB, free: 24.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.412e-05/0.3716, allocations: 38.03 kB / 0.5856 GB, free: 24.42 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3716, allocations: 0 / 0.5856 GB, free: 24.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004733/0.3721, allocations: 128 kB / 0.5857 GB, free: 24.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.083e-05/0.3721, allocations: 57.42 kB / 0.5857 GB, free: 24.28 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.725e-05/0.3722, allocations: 115.8 kB / 0.5858 GB, free: 24.17 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.744e-06/0.3722, allocations: 27.2 kB / 0.5859 GB, free: 24.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.385e-05/0.3723, allocations: 86.86 kB / 0.5859 GB, free: 24.05 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.506e-05/0.3723, allocations: 8.906 kB / 0.586 GB, free: 24.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.928e-05/0.3723, allocations: 22.64 kB / 0.586 GB, free: 24.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.893e-05/0.3723, allocations: 315.8 kB / 0.5863 GB, free: 23.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.3725, allocations: 34.8 kB / 0.5863 GB, free: 23.69 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.3726, allocations: 31.84 kB / 0.5863 GB, free: 23.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002302/0.3729, allocations: 72.06 kB / 0.5864 GB, free: 23.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.3729, allocations: 0.8125 kB / 0.5864 GB, free: 23.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002778/0.3731, allocations: 103.9 kB / 0.5865 GB, free: 23.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.3732, allocations: 6.125 kB / 0.5865 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3732, allocations: 0 / 0.5865 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.3732, allocations: 1.219 kB / 0.5865 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.3733, allocations: 23.03 kB / 0.5865 GB, free: 23.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.3733, allocations: 1.594 kB / 0.5865 GB, free: 23.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.192e-05/0.3734, allocations: 11.08 kB / 0.5866 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.3734, allocations: 5.156 kB / 0.5866 GB, free: 23.55 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.906e-05/0.3735, allocations: 117.3 kB / 0.5867 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.3735, allocations: 6.312 kB / 0.5867 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003169/0.3738, allocations: 108.2 kB / 0.5868 GB, free: 23.35 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.3738, allocations: 0 / 0.5868 GB, free: 23.35 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.3739, allocations: 5.938 kB / 0.5868 GB, free: 23.35 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3739, allocations: 384 / 0.5868 GB, free: 23.35 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.374, allocations: 180.7 kB / 0.587 GB, free: 23.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.374, allocations: 0 / 0.587 GB, free: 23.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.762e-05/0.3741, allocations: 14.92 kB / 0.587 GB, free: 23.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3741, allocations: 0 / 0.587 GB, free: 23.13 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.3741, allocations: 5.375 kB / 0.587 GB, free: 23.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.3741, allocations: 4.484 kB / 0.587 GB, free: 23.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3741, allocations: 3.984 kB / 0.587 GB, free: 23.12 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002868/0.3744, allocations: 196.6 kB / 0.5872 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.009e-05/0.3744, allocations: 83.55 kB / 0.5872 GB, free: 22.86 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.3745, allocations: 0 / 0.5872 GB, free: 22.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.3746, allocations: 21.09 kB / 0.5873 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.182e-05/0.3746, allocations: 1.344 kB / 0.5873 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.3746, allocations: 1.281 kB / 0.5873 GB, free: 22.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.452e-05/0.3747, allocations: 99.38 kB / 0.5874 GB, free: 22.76 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3747, allocations: 0 / 0.5874 GB, free: 22.76 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002697/0.3749, allocations: 35.19 kB / 0.5874 GB, free: 22.75 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.0001776/0.3751, allocations: 126.6 kB / 0.5875 GB, free: 22.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003101/0.3754, allocations: 72.64 kB / 0.5876 GB, free: 22.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3755, allocations: 0 / 0.5876 GB, free: 22.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.3756, allocations: 33.97 kB / 0.5876 GB, free: 22.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.3759, allocations: 18.86 kB / 0.5876 GB, free: 22.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002693/0.3762, allocations: 147.9 kB / 0.5878 GB, free: 22.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.32e-05/0.3763, allocations: 0.681 MB / 0.5884 GB, free: 21.76 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.979e-05/0.3763, allocations: 6.625 kB / 0.5885 GB, free: 21.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.384e-05/0.3763, allocations: 15.28 kB / 0.5885 GB, free: 21.74 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3763, allocations: 1.469 kB / 0.5885 GB, free: 21.74 MB / 446.1 MB Notification: Performance of Templates: time 0.003519/0.3799, allocations: 1.362 MB / 0.5898 GB, free: 21.1 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)