Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001087/0.001087, allocations: 112.7 kB / 16.42 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.001107/0.001107, allocations: 190.7 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.247/1.247, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002047/0.002047, allocations: 292.4 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9006/0.9006, allocations: 169.2 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 91.86 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3699, allocations: 86.98 MB / 0.7671 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002042/0.372, allocations: 1.276 MB / 0.7683 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.3731, allocations: 0.8242 MB / 0.7691 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.723e-05/0.3732, allocations: 0 / 0.7691 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.97e-05/0.3732, allocations: 3.938 kB / 0.7691 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.219e-05/0.3732, allocations: 0 / 0.7691 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004238/0.3737, allocations: 131.3 kB / 0.7692 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.577e-05/0.3737, allocations: 27.86 kB / 0.7693 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.601e-05/0.3738, allocations: 7.984 kB / 0.7693 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.365e-05/0.3738, allocations: 8 kB / 0.7693 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.675e-05/0.3739, allocations: 15.92 kB / 0.7693 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.3739, allocations: 4 kB / 0.7693 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002847/0.3742, allocations: 163.8 kB / 0.7695 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.403e-05/0.3742, allocations: 8 kB / 0.7695 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.163e-05/0.3742, allocations: 11.92 kB / 0.7695 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002001/0.3744, allocations: 118 kB / 0.7696 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3744, allocations: 11.92 kB / 0.7696 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3744, allocations: 0 / 0.7696 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.3745, allocations: 0 / 0.7696 GB, free: 1.316 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003925/0.3749, allocations: 359.4 kB / 0.7699 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.3749, allocations: 12.03 kB / 0.77 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.107e-05/0.3749, allocations: 0.9375 kB / 0.77 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.375, allocations: 172.3 kB / 0.7701 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.515e-05/0.3751, allocations: 26.27 kB / 0.7701 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.3751, allocations: 8.375 kB / 0.7702 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.3753, allocations: 38.25 kB / 0.7702 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.3753, allocations: 3.938 kB / 0.7702 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/0.3753, allocations: 8 kB / 0.7702 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-06/0.3753, allocations: 0 / 0.7702 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.456e-05/0.3754, allocations: 19.92 kB / 0.7702 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001597/0.3756, allocations: 157.7 kB / 0.7704 GB, free: 388 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.3757, allocations: 46.55 kB / 0.7704 GB, free: 332 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.746e-05/0.3758, allocations: 20.94 kB / 0.7704 GB, free: 308 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002613/0.3761, allocations: 178.2 kB / 0.7706 GB, free: 92 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.3761, allocations: 38.56 kB / 0.7706 GB, free: 44 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.113e-06/0.3761, allocations: 0 / 0.7706 GB, free: 44 kB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0002339/0.3764, allocations: 73.45 kB / 0.7707 GB, free: 15.96 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.366e-05/0.3764, allocations: 55.41 kB / 0.7708 GB, free: 15.9 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.233e-05/0.3765, allocations: 102 kB / 0.7709 GB, free: 15.79 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.3765, allocations: 25.7 kB / 0.7709 GB, free: 15.76 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.208e-05/0.3765, allocations: 80.14 kB / 0.771 GB, free: 15.68 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.3765, allocations: 7.906 kB / 0.771 GB, free: 15.67 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.989e-05/0.3766, allocations: 13.72 kB / 0.771 GB, free: 15.65 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.3767, allocations: 318.8 kB / 0.7713 GB, free: 15.33 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.68e-05/0.3767, allocations: 7.984 kB / 0.7713 GB, free: 15.32 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.869e-05/0.3768, allocations: 8.188 kB / 0.7713 GB, free: 15.31 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.606e-05/0.3769, allocations: 36.92 kB / 0.7713 GB, free: 15.27 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3769, allocations: 3.938 kB / 0.7713 GB, free: 15.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001276/0.377, allocations: 65.52 kB / 0.7714 GB, free: 15.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.377, allocations: 4 kB / 0.7714 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.377, allocations: 11.92 kB / 0.7714 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.3771, allocations: 0 / 0.7714 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.836e-05/0.3771, allocations: 4 kB / 0.7714 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.3771, allocations: 0 / 0.7714 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.608e-05/0.3772, allocations: 7.984 kB / 0.7714 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.3772, allocations: 4 kB / 0.7714 GB, free: 15.17 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 (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 6.556e-05/0.3772, allocations: 112.2 kB / 0.7715 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.018e-05/0.3773, allocations: 0 / 0.7715 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001604/0.3774, allocations: 77.05 kB / 0.7716 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3774, allocations: 0 / 0.7716 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.3774, allocations: 0 / 0.7716 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.303e-05/0.3775, allocations: 85.03 kB / 0.7717 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.3775, allocations: 4 kB / 0.7717 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.657e-05/0.3776, allocations: 4 kB / 0.7717 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.023e-05/0.3776, allocations: 4 kB / 0.7717 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001554/0.3778, allocations: 133 kB / 0.7718 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001928/0.378, allocations: 242.6 kB / 0.7721 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.431e-05/0.378, allocations: 19.92 kB / 0.7721 GB, free: 14.45 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.375e-05/0.3781, allocations: 79.28 kB / 0.7722 GB, free: 14.37 MB / 0.545 GB Notification: Performance of Backend: time 2.11e-07/0.3781, allocations: 0 / 0.7722 GB, free: 14.37 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004628/0.3785, allocations: 145.3 kB / 0.7723 GB, free: 14.22 MB / 0.545 GB Notification: Performance of SimCode: time 0.0003718/0.3789, allocations: 0.5666 MB / 0.7729 GB, free: 13.6 MB / 0.545 GB Notification: Performance of Templates: time 0.003425/0.3824, allocations: 1.408 MB / 0.7742 GB, free: 12.2 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)