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.001766/0.001766, allocations: 101.5 kB / 16.27 MB, free: 5.965 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.001505/0.001506, allocations: 187.9 kB / 17.19 MB, free: 5.594 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.354/1.354, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.786/0.786, allocations: 126.4 MB / 417.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001298, allocations: 75.89 kB / 0.4953 GB, free: 3.082 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4279/0.4293, allocations: 78.77 MB / 0.5723 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002295/0.4316, allocations: 1.262 MB / 0.5735 GB, free: 30.31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.4328, allocations: 0.8191 MB / 0.5743 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.039e-05/0.4328, allocations: 3.938 kB / 0.5743 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.083e-05/0.4328, allocations: 3.938 kB / 0.5743 GB, free: 29.74 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.096e-05/0.4329, allocations: 7.078 kB / 0.5743 GB, free: 29.74 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004978/0.4334, allocations: 136.1 kB / 0.5744 GB, free: 29.67 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.753e-05/0.4335, allocations: 23.98 kB / 0.5745 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.541e-05/0.4335, allocations: 2.844 kB / 0.5745 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.209e-05/0.4335, allocations: 11.23 kB / 0.5745 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.638e-05/0.4336, allocations: 12.52 kB / 0.5745 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.4336, allocations: 1.719 kB / 0.5745 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003337/0.434, allocations: 168.8 kB / 0.5747 GB, free: 29.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.827e-05/0.434, allocations: 9.844 kB / 0.5747 GB, free: 29.61 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.495e-05/0.434, allocations: 8.203 kB / 0.5747 GB, free: 29.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002296/0.4343, allocations: 120 kB / 0.5748 GB, free: 29.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.4343, allocations: 1.062 kB / 0.5748 GB, free: 29.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4343, allocations: 0.6562 kB / 0.5748 GB, free: 29.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.4343, allocations: 0 / 0.5748 GB, free: 29.57 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.0004349/0.4347, allocations: 359.3 kB / 0.5751 GB, free: 29.19 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.4348, allocations: 9.438 kB / 0.5751 GB, free: 29.19 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.84e-05/0.4348, allocations: 4.953 kB / 0.5751 GB, free: 29.19 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.4349, allocations: 162.4 kB / 0.5753 GB, free: 29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.084e-05/0.435, allocations: 34.94 kB / 0.5753 GB, free: 28.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.4351, allocations: 2.75 kB / 0.5753 GB, free: 28.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.4352, allocations: 51.73 kB / 0.5754 GB, free: 28.92 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.4352, allocations: 5.469 kB / 0.5754 GB, free: 28.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.4353, allocations: 1.953 kB / 0.5754 GB, free: 28.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.4353, allocations: 0 / 0.5754 GB, free: 28.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.4354, allocations: 14.69 kB / 0.5754 GB, free: 28.91 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001756/0.4356, allocations: 164.2 kB / 0.5756 GB, free: 28.71 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000232/0.4358, allocations: 43.22 kB / 0.5756 GB, free: 28.69 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.983e-05/0.4359, allocations: 18.38 kB / 0.5756 GB, free: 28.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002724/0.4361, allocations: 182.5 kB / 0.5758 GB, free: 28.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.4362, allocations: 41.42 kB / 0.5758 GB, free: 28.44 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.4362, allocations: 0 / 0.5758 GB, free: 28.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002619/0.4365, allocations: 74.03 kB / 0.5759 GB, free: 28.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.4365, allocations: 53.08 kB / 0.576 GB, free: 28.33 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.291e-05/0.4366, allocations: 95.38 kB / 0.576 GB, free: 28.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.4366, allocations: 26.7 kB / 0.5761 GB, free: 28.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.241e-05/0.4366, allocations: 86.62 kB / 0.5762 GB, free: 28.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.4367, allocations: 14.94 kB / 0.5762 GB, free: 28.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-05/0.4367, allocations: 14.83 kB / 0.5762 GB, free: 28.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.86e-05/0.4368, allocations: 319.2 kB / 0.5765 GB, free: 27.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.399e-05/0.4368, allocations: 7.969 kB / 0.5765 GB, free: 27.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.134e-05/0.4369, allocations: 15.91 kB / 0.5765 GB, free: 27.76 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.437, allocations: 28.45 kB / 0.5765 GB, free: 27.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.437, allocations: 2.875 kB / 0.5765 GB, free: 27.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001389/0.4372, allocations: 60.52 kB / 0.5766 GB, free: 27.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.4372, allocations: 9.328 kB / 0.5766 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.4372, allocations: 1.219 kB / 0.5766 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.4372, allocations: 1.094 kB / 0.5766 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.968e-05/0.4373, allocations: 8.891 kB / 0.5766 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.4373, allocations: 0.9688 kB / 0.5766 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.171e-05/0.4374, allocations: 2.062 kB / 0.5766 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.4374, allocations: 1.406 kB / 0.5766 GB, free: 27.7 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 6.853e-05/0.4375, allocations: 113.7 kB / 0.5767 GB, free: 27.58 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.321e-05/0.4375, allocations: 7.734 kB / 0.5767 GB, free: 27.58 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001894/0.4377, allocations: 72.2 kB / 0.5768 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.4377, allocations: 1.25 kB / 0.5768 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.4377, allocations: 0 / 0.5768 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.4377, allocations: 2.734 kB / 0.5768 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.883e-05/0.4378, allocations: 155.3 kB / 0.577 GB, free: 27.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.4378, allocations: 0.5625 kB / 0.577 GB, free: 27.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.846e-05/0.4379, allocations: 9.234 kB / 0.577 GB, free: 27.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.4379, allocations: 3.938 kB / 0.577 GB, free: 27.33 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.4379, allocations: 2.156 kB / 0.577 GB, free: 27.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.4379, allocations: 4.609 kB / 0.577 GB, free: 27.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.4379, allocations: 1.906 kB / 0.577 GB, free: 27.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/0.4381, allocations: 90.88 kB / 0.5771 GB, free: 27.24 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.274e-05/0.4382, allocations: 87.55 kB / 0.5771 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.4382, allocations: 4.594 kB / 0.5772 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.474e-05/0.4383, allocations: 7.5 kB / 0.5772 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.079e-05/0.4383, allocations: 5.359 kB / 0.5772 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.4383, allocations: 1.375 kB / 0.5772 GB, free: 27.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.717e-05/0.4384, allocations: 79.34 kB / 0.5772 GB, free: 27.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4384, allocations: 0 / 0.5772 GB, free: 27.06 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003057/0.4387, allocations: 36.69 kB / 0.5773 GB, free: 27.05 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.0003083/0.439, allocations: 138.9 kB / 0.5774 GB, free: 26.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001882/0.4392, allocations: 30.3 kB / 0.5774 GB, free: 26.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4392, allocations: 1.375 kB / 0.5774 GB, free: 26.94 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.232e-05/0.4393, allocations: 16.02 kB / 0.5775 GB, free: 26.94 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.4396, allocations: 9.938 kB / 0.5775 GB, free: 26.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004125/0.44, allocations: 131.2 kB / 0.5776 GB, free: 26.81 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001848/0.4402, allocations: 0.6762 MB / 0.5783 GB, free: 26.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.276e-05/0.4403, allocations: 7.656 kB / 0.5783 GB, free: 26.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.1e-05/0.4403, allocations: 12.75 kB / 0.5783 GB, free: 26.11 MB / 446.1 MB Notification: Performance of SimCode: time 2.8e-07/0.4403, allocations: 1.969 kB / 0.5783 GB, free: 26.11 MB / 446.1 MB Notification: Performance of Templates: time 0.003811/0.4441, allocations: 1.057 MB / 0.5793 GB, free: 25.79 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)