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.001269/0.001269, allocations: 102.9 kB / 16.64 MB, free: 6.824 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.001369/0.001369, allocations: 197.9 kB / 17.57 MB, free: 5.93 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.296/1.296, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7389/0.7389, allocations: 122.9 MB / 414.2 MB, free: 15.96 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 55.91 kB / 0.4912 GB, free: 7.816 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3497, allocations: 77.92 MB / 0.5673 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.00237/0.3521, allocations: 1.328 MB / 0.5686 GB, free: 31.67 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.3533, allocations: 0.8266 MB / 0.5694 GB, free: 31.1 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.591e-05/0.3533, allocations: 0 / 0.5694 GB, free: 31.1 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.37e-05/0.3534, allocations: 5.578 kB / 0.5694 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.585e-05/0.3534, allocations: 6.547 kB / 0.5694 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004642/0.3539, allocations: 114.5 kB / 0.5696 GB, free: 31.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.9e-05/0.354, allocations: 24.59 kB / 0.5696 GB, free: 31.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.764e-05/0.354, allocations: 2.484 kB / 0.5696 GB, free: 31.03 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.097e-05/0.3541, allocations: 12.06 kB / 0.5696 GB, free: 31.03 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.142e-05/0.3541, allocations: 19.89 kB / 0.5696 GB, free: 31.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.3541, allocations: 2.594 kB / 0.5696 GB, free: 31.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003368/0.3545, allocations: 168.1 kB / 0.5698 GB, free: 30.97 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.652e-05/0.3545, allocations: 6.797 kB / 0.5698 GB, free: 30.97 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.87e-05/0.3545, allocations: 15.14 kB / 0.5698 GB, free: 30.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.3547, allocations: 85.05 kB / 0.5699 GB, free: 30.94 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3547, allocations: 1.938 kB / 0.5699 GB, free: 30.94 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3548, allocations: 0 / 0.5699 GB, free: 30.94 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.3548, allocations: 0 / 0.5699 GB, free: 30.94 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.0003575/0.3551, allocations: 366 kB / 0.5702 GB, free: 30.56 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.3552, allocations: 11.22 kB / 0.5702 GB, free: 30.56 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.888e-05/0.3552, allocations: 3.859 kB / 0.5702 GB, free: 30.56 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.998e-05/0.3553, allocations: 163.2 kB / 0.5704 GB, free: 30.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.32e-05/0.3554, allocations: 31.19 kB / 0.5704 GB, free: 30.33 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.185e-06/0.3554, allocations: 2.5 kB / 0.5704 GB, free: 30.33 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.3555, allocations: 45.14 kB / 0.5705 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.3555, allocations: 3.938 kB / 0.5705 GB, free: 30.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.3555, allocations: 1.375 kB / 0.5705 GB, free: 30.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.3555, allocations: 1.156 kB / 0.5705 GB, free: 30.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.203e-05/0.3556, allocations: 23.06 kB / 0.5705 GB, free: 30.29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001199/0.3558, allocations: 158.8 kB / 0.5707 GB, free: 30.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.356, allocations: 46.78 kB / 0.5707 GB, free: 30.06 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.982e-05/0.356, allocations: 19.69 kB / 0.5707 GB, free: 30.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000257/0.3563, allocations: 178.6 kB / 0.5709 GB, free: 29.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.3563, allocations: 37.92 kB / 0.5709 GB, free: 29.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.3563, allocations: 0 / 0.5709 GB, free: 29.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002357/0.3566, allocations: 77.19 kB / 0.571 GB, free: 29.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.295e-05/0.3566, allocations: 52.5 kB / 0.571 GB, free: 29.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.523e-05/0.3567, allocations: 99.5 kB / 0.5711 GB, free: 29.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.3567, allocations: 30.17 kB / 0.5712 GB, free: 29.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.203e-05/0.3567, allocations: 80.84 kB / 0.5712 GB, free: 29.49 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.3567, allocations: 10.48 kB / 0.5713 GB, free: 29.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.051e-05/0.3568, allocations: 22.09 kB / 0.5713 GB, free: 29.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.538e-05/0.3568, allocations: 312.5 kB / 0.5716 GB, free: 29.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.026e-05/0.3569, allocations: 12.78 kB / 0.5716 GB, free: 29.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.021e-05/0.3569, allocations: 9.531 kB / 0.5716 GB, free: 29.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.785e-05/0.357, allocations: 33.45 kB / 0.5716 GB, free: 29.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.357, allocations: 1.688 kB / 0.5716 GB, free: 29.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001212/0.3571, allocations: 61.61 kB / 0.5717 GB, free: 29.08 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.3572, allocations: 9.391 kB / 0.5717 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3572, allocations: 1.25 kB / 0.5717 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.3572, allocations: 0 / 0.5717 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.281e-05/0.3573, allocations: 8.141 kB / 0.5717 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.3573, allocations: 1.672 kB / 0.5717 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.982e-05/0.3573, allocations: 2.703 kB / 0.5717 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.3573, allocations: 6.469 kB / 0.5717 GB, free: 29.07 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 4.92e-05/0.3574, allocations: 114.3 kB / 0.5718 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.082e-05/0.3574, allocations: 6.062 kB / 0.5718 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001648/0.3575, allocations: 67.25 kB / 0.5719 GB, free: 28.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.3576, allocations: 1.688 kB / 0.5719 GB, free: 28.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.3576, allocations: 0 / 0.5719 GB, free: 28.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3576, allocations: 2.672 kB / 0.5719 GB, free: 28.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.947e-05/0.3577, allocations: 154.7 kB / 0.572 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.3577, allocations: 0.75 kB / 0.572 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.477e-05/0.3577, allocations: 8.562 kB / 0.5721 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.3577, allocations: 5.656 kB / 0.5721 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.3577, allocations: 5.828 kB / 0.5721 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3577, allocations: 1.125 kB / 0.5721 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.3577, allocations: 0 / 0.5721 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.3579, allocations: 89.47 kB / 0.5722 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.808e-05/0.3579, allocations: 85.08 kB / 0.5722 GB, free: 28.53 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.3579, allocations: 5.75 kB / 0.5722 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.94e-05/0.358, allocations: 4.406 kB / 0.5722 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-05/0.358, allocations: 2.406 kB / 0.5722 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.3581, allocations: 3.297 kB / 0.5723 GB, free: 28.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.053e-05/0.3581, allocations: 84.88 kB / 0.5723 GB, free: 28.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3581, allocations: 0 / 0.5723 GB, free: 28.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002257/0.3583, allocations: 28.09 kB / 0.5724 GB, free: 28.44 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.000195/0.3585, allocations: 140.2 kB / 0.5725 GB, free: 28.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000143/0.3587, allocations: 30.42 kB / 0.5725 GB, free: 28.33 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3587, allocations: 2.062 kB / 0.5725 GB, free: 28.33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.088e-05/0.3587, allocations: 16.44 kB / 0.5725 GB, free: 28.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.359, allocations: 17.31 kB / 0.5726 GB, free: 28.31 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002426/0.3592, allocations: 147.2 kB / 0.5727 GB, free: 28.17 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.949e-05/0.3593, allocations: 0.6809 MB / 0.5734 GB, free: 27.47 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.1e-05/0.3593, allocations: 10.47 kB / 0.5734 GB, free: 27.46 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3593, allocations: 1.656 kB / 0.5734 GB, free: 27.46 MB / 446.1 MB Notification: Performance of Templates: time 0.002528/0.3619, allocations: 0.993 MB / 0.5743 GB, free: 27.42 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)