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.001225/0.001225, allocations: 109.2 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.001242/0.001242, allocations: 192.3 kB / 17.35 MB, free: 5.734 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.219/1.219, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00197/0.00197, allocations: 292.2 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.8917/0.8917, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001695/0.001695, allocations: 95.86 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3674, allocations: 86.98 MB / 0.7671 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002168/0.3696, allocations: 1.265 MB / 0.7683 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.3708, allocations: 0.8281 MB / 0.7691 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.823e-05/0.3709, allocations: 0 / 0.7691 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.371e-05/0.3709, allocations: 8 kB / 0.7691 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.576e-05/0.3709, allocations: 7.922 kB / 0.7691 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004768/0.3714, allocations: 127.4 kB / 0.7692 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.033e-05/0.3715, allocations: 23.92 kB / 0.7693 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.098e-05/0.3716, allocations: 4 kB / 0.7693 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.789e-05/0.3716, allocations: 11.98 kB / 0.7693 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.465e-05/0.3717, allocations: 7.938 kB / 0.7693 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.3717, allocations: 4 kB / 0.7693 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003088/0.372, allocations: 171.7 kB / 0.7695 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.653e-05/0.372, allocations: 7.984 kB / 0.7695 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.389e-05/0.372, allocations: 7.938 kB / 0.7695 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002287/0.3723, allocations: 126 kB / 0.7696 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3723, allocations: 0 / 0.7696 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3723, allocations: 0 / 0.7696 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.3723, allocations: 0 / 0.7696 GB, free: 1.324 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.0003934/0.3727, allocations: 363.4 kB / 0.7699 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.3727, allocations: 15.97 kB / 0.77 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.508e-05/0.3728, allocations: 4.938 kB / 0.77 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.533e-05/0.3729, allocations: 164.3 kB / 0.7701 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.72e-05/0.373, allocations: 34.27 kB / 0.7702 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.373, allocations: 384 / 0.7702 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.3731, allocations: 54.17 kB / 0.7702 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.3731, allocations: 3.938 kB / 0.7702 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.3731, allocations: 0 / 0.7702 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.3731, allocations: 0 / 0.7702 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.118e-05/0.3732, allocations: 19.98 kB / 0.7702 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001418/0.3734, allocations: 161.7 kB / 0.7704 GB, free: 380 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.3736, allocations: 42.56 kB / 0.7704 GB, free: 328 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.314e-05/0.3736, allocations: 12.86 kB / 0.7704 GB, free: 312 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002533/0.3739, allocations: 182.3 kB / 0.7706 GB, free: 92 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.3739, allocations: 38.5 kB / 0.7706 GB, free: 44 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.3739, allocations: 4 kB / 0.7706 GB, free: 40 kB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0002373/0.3742, allocations: 69.52 kB / 0.7707 GB, free: 15.96 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.3742, allocations: 55.41 kB / 0.7708 GB, free: 15.9 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.445e-05/0.3743, allocations: 94.17 kB / 0.7709 GB, free: 15.8 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.3743, allocations: 29.7 kB / 0.7709 GB, free: 15.76 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.695e-05/0.3743, allocations: 88.12 kB / 0.771 GB, free: 15.67 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.3744, allocations: 7.906 kB / 0.771 GB, free: 15.66 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.189e-05/0.3744, allocations: 17.7 kB / 0.771 GB, free: 15.64 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.503e-05/0.3745, allocations: 314.8 kB / 0.7713 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.603e-05/0.3745, allocations: 8 kB / 0.7713 GB, free: 15.32 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.175e-05/0.3746, allocations: 16.02 kB / 0.7713 GB, free: 15.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.369e-05/0.3747, allocations: 28.78 kB / 0.7713 GB, free: 15.27 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3747, allocations: 8 kB / 0.7714 GB, free: 15.26 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001299/0.3748, allocations: 61.59 kB / 0.7714 GB, free: 15.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.3748, allocations: 4 kB / 0.7714 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3748, allocations: 3.938 kB / 0.7714 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.3749, allocations: 4 kB / 0.7714 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.11e-05/0.3749, allocations: 7.984 kB / 0.7714 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.3749, allocations: 0 / 0.7714 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.059e-05/0.375, allocations: 4 kB / 0.7714 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.375, allocations: 0 / 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 5.989e-05/0.375, allocations: 113.8 kB / 0.7715 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.25e-05/0.3751, allocations: 4 kB / 0.7715 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001631/0.3752, allocations: 69.11 kB / 0.7716 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3752, allocations: 4 kB / 0.7716 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3752, allocations: 3.984 kB / 0.7716 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.529e-05/0.3753, allocations: 81.05 kB / 0.7717 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.3753, allocations: 3.938 kB / 0.7717 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.714e-05/0.3754, allocations: 4 kB / 0.7717 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.042e-05/0.3754, allocations: 7.984 kB / 0.7717 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001677/0.3756, allocations: 140.9 kB / 0.7718 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001818/0.3758, allocations: 234.6 kB / 0.7721 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.064e-05/0.3758, allocations: 12 kB / 0.7721 GB, free: 14.45 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.926e-05/0.3759, allocations: 83.55 kB / 0.7722 GB, free: 14.37 MB / 0.545 GB Notification: Performance of Backend: time 3.51e-07/0.3759, allocations: 4 kB / 0.7722 GB, free: 14.36 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004916/0.3764, allocations: 150.3 kB / 0.7723 GB, free: 14.21 MB / 0.545 GB Notification: Performance of SimCode: time 0.0003822/0.3768, allocations: 0.5549 MB / 0.7729 GB, free: 13.6 MB / 0.545 GB Notification: Performance of Templates: time 0.003526/0.3803, allocations: 1.413 MB / 0.7742 GB, free: 12.19 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)