Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001014/0.001014, allocations: 108.5 kB / 16.41 MB, free: 6.512 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.001013/0.001013, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.24/1.24, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002037/0.002037, allocations: 283.7 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8841/0.8841, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001717, allocations: 100.3 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3622, allocations: 86.97 MB / 0.767 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002403/0.3647, allocations: 1.504 MB / 0.7685 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.3658, allocations: 0.8087 MB / 0.7693 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.461e-05/0.3659, allocations: 3.938 kB / 0.7693 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.705e-05/0.3659, allocations: 3.984 kB / 0.7693 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.459e-05/0.366, allocations: 7.875 kB / 0.7693 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004232/0.3664, allocations: 135.4 kB / 0.7694 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.651e-05/0.3665, allocations: 47.8 kB / 0.7695 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.734e-05/0.3666, allocations: 23.64 kB / 0.7695 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.384e-05/0.3667, allocations: 19.92 kB / 0.7695 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.432e-05/0.3667, allocations: 23.92 kB / 0.7695 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.3667, allocations: 4 kB / 0.7695 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003119/0.367, allocations: 171.7 kB / 0.7697 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.548e-05/0.3671, allocations: 11.98 kB / 0.7697 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.898e-05/0.3671, allocations: 27.8 kB / 0.7698 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002452/0.3673, allocations: 150.2 kB / 0.7699 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3674, allocations: 0 / 0.7699 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3674, allocations: 0 / 0.7699 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.453e-06/0.3674, allocations: 0 / 0.7699 GB, free: 1.055 MB / 0.5294 GB 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.0004997/0.3679, allocations: 395.2 kB / 0.7703 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.3679, allocations: 8.031 kB / 0.7703 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.02e-05/0.368, allocations: 4.938 kB / 0.7703 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.3681, allocations: 172.2 kB / 0.7704 GB, free: 408 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.3681, allocations: 12.31 kB / 0.7705 GB, free: 396 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.3681, allocations: 384 / 0.7705 GB, free: 396 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/0.3684, allocations: 78.2 kB / 0.7705 GB, free: 312 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.3684, allocations: 192 / 0.7705 GB, free: 312 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.3684, allocations: 3.938 kB / 0.7705 GB, free: 308 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.3684, allocations: 4 kB / 0.7705 GB, free: 304 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002826/0.3687, allocations: 71.91 kB / 0.7706 GB, free: 232 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003388/0.3691, allocations: 288.7 kB / 0.7709 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.3693, allocations: 46.55 kB / 0.7709 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/0.3694, allocations: 44.91 kB / 0.771 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001586/0.3696, allocations: 93.09 kB / 0.7711 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.3696, allocations: 30.56 kB / 0.7711 GB, free: 15.64 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.3696, allocations: 0 / 0.7711 GB, free: 15.64 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005162/0.3701, allocations: 137.5 kB / 0.7712 GB, free: 15.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/0.3702, allocations: 51.41 kB / 0.7713 GB, free: 15.44 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.348e-05/0.3703, allocations: 113.8 kB / 0.7714 GB, free: 15.32 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.3703, allocations: 29.7 kB / 0.7714 GB, free: 15.29 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.607e-05/0.3703, allocations: 88.05 kB / 0.7715 GB, free: 15.2 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.765e-05/0.3703, allocations: 11.83 kB / 0.7715 GB, free: 15.18 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.871e-05/0.3704, allocations: 17.72 kB / 0.7715 GB, free: 15.16 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.611e-05/0.3705, allocations: 322.8 kB / 0.7718 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.3706, allocations: 27.95 kB / 0.7719 GB, free: 14.81 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.3708, allocations: 27.97 kB / 0.7719 GB, free: 14.78 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002717/0.3711, allocations: 80.98 kB / 0.772 GB, free: 14.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3711, allocations: 0 / 0.772 GB, free: 14.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003124/0.3714, allocations: 105.5 kB / 0.7721 GB, free: 14.59 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.3714, allocations: 8 kB / 0.7721 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.3714, allocations: 0 / 0.7721 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.3714, allocations: 0 / 0.7721 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.3715, allocations: 23.91 kB / 0.7721 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.3716, allocations: 4 kB / 0.7721 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.652e-05/0.3716, allocations: 7.984 kB / 0.7721 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.3717, allocations: 4 kB / 0.7721 GB, free: 14.54 MB / 0.545 GB 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 7.169e-05/0.3717, allocations: 113.7 kB / 0.7722 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.746e-05/0.3718, allocations: 8 kB / 0.7722 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003401/0.3721, allocations: 109.5 kB / 0.7723 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3721, allocations: 0 / 0.7723 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.3721, allocations: 3.984 kB / 0.7723 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.88e-05/0.3722, allocations: 81.02 kB / 0.7724 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.3722, allocations: 12 kB / 0.7724 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.3723, allocations: 7.984 kB / 0.7724 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.235e-05/0.3724, allocations: 11.92 kB / 0.7724 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003894/0.3727, allocations: 184.9 kB / 0.7726 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003589/0.3731, allocations: 266.7 kB / 0.7729 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001451/0.3733, allocations: 39.97 kB / 0.7729 GB, free: 13.66 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.31e-05/0.3733, allocations: 95.27 kB / 0.773 GB, free: 13.57 MB / 0.545 GB Notification: Performance of Backend: time 3.8e-07/0.3733, allocations: 0 / 0.773 GB, free: 13.57 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005757/0.3739, allocations: 166.3 kB / 0.7732 GB, free: 13.4 MB / 0.545 GB Notification: Performance of SimCode: time 0.0004351/0.3744, allocations: 0.5938 MB / 0.7737 GB, free: 12.75 MB / 0.545 GB Notification: Performance of Templates: time 0.003989/0.3784, allocations: 1.897 MB / 0.7756 GB, free: 10.87 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)