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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 182.7 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.568/0.568, allocations: 87.5 MB / 104.9 MB, free: 13.03 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 349.1 MB, free: 2.75 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009629/0.0009629, allocations: 101.3 kB / 420 MB, free: 8.492 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001098/0.001099, allocations: 55.92 kB / 0.4891 GB, free: 7.699 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3391, allocations: 70.06 MB / 0.5575 GB, free: 44.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002374/0.3415, allocations: 1.322 MB / 0.5588 GB, free: 43.85 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.3426, allocations: 0.8517 MB / 0.5596 GB, free: 43.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.769e-05/0.3426, allocations: 3.812 kB / 0.5596 GB, free: 43.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.001e-05/0.3427, allocations: 4 kB / 0.5596 GB, free: 43.02 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.156e-05/0.3427, allocations: 3.938 kB / 0.5596 GB, free: 43.01 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003647/0.3431, allocations: 103.6 kB / 0.5597 GB, free: 42.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.412e-05/0.3432, allocations: 27.86 kB / 0.5598 GB, free: 42.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.048e-05/0.3432, allocations: 7.969 kB / 0.5598 GB, free: 42.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.764e-05/0.3433, allocations: 15.94 kB / 0.5598 GB, free: 42.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.186e-05/0.3433, allocations: 11.98 kB / 0.5598 GB, free: 42.85 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.3433, allocations: 0 / 0.5598 GB, free: 42.85 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002652/0.3436, allocations: 175.7 kB / 0.56 GB, free: 42.68 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.561e-05/0.3436, allocations: 4 kB / 0.56 GB, free: 42.67 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.373e-05/0.3437, allocations: 7.938 kB / 0.56 GB, free: 42.66 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.3439, allocations: 125.8 kB / 0.5601 GB, free: 42.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3439, allocations: 0 / 0.5601 GB, free: 42.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3439, allocations: 0 / 0.5601 GB, free: 42.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.3439, allocations: 0 / 0.5601 GB, free: 42.54 MB / 410.7 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.0003723/0.3443, allocations: 363.4 kB / 0.5604 GB, free: 42.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.3443, allocations: 8.031 kB / 0.5604 GB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.122e-05/0.3444, allocations: 8.875 kB / 0.5605 GB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.968e-05/0.3444, allocations: 172.3 kB / 0.5606 GB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.947e-05/0.3445, allocations: 30.27 kB / 0.5606 GB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-06/0.3446, allocations: 384 / 0.5606 GB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.3447, allocations: 42.25 kB / 0.5607 GB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.3447, allocations: 3.938 kB / 0.5607 GB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.3447, allocations: 0 / 0.5607 GB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.3447, allocations: 8 kB / 0.5607 GB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.177e-05/0.3448, allocations: 15.98 kB / 0.5607 GB, free: 41.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001376/0.345, allocations: 157.6 kB / 0.5609 GB, free: 41.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.3452, allocations: 50.55 kB / 0.5609 GB, free: 41.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.371e-05/0.3452, allocations: 16.94 kB / 0.5609 GB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002372/0.3455, allocations: 186.2 kB / 0.5611 GB, free: 41.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.456e-05/0.3455, allocations: 30.56 kB / 0.5611 GB, free: 41.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.3455, allocations: 0 / 0.5611 GB, free: 41.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002336/0.3458, allocations: 69.61 kB / 0.5612 GB, free: 41.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.3458, allocations: 55.34 kB / 0.5613 GB, free: 41.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.035e-05/0.3459, allocations: 93.86 kB / 0.5613 GB, free: 41.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.3459, allocations: 33.7 kB / 0.5614 GB, free: 40.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.775e-05/0.3459, allocations: 84.12 kB / 0.5615 GB, free: 40.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.168e-05/0.3459, allocations: 19.69 kB / 0.5615 GB, free: 40.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.09e-05/0.346, allocations: 17.72 kB / 0.5615 GB, free: 40.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.883e-05/0.346, allocations: 310.8 kB / 0.5618 GB, free: 40.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.651e-05/0.3461, allocations: 7.984 kB / 0.5618 GB, free: 40.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.948e-05/0.3461, allocations: 12 kB / 0.5618 GB, free: 40.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.5e-05/0.3462, allocations: 33.31 kB / 0.5618 GB, free: 40.49 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3462, allocations: 0 / 0.5618 GB, free: 40.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001199/0.3464, allocations: 61.61 kB / 0.5619 GB, free: 40.42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.3464, allocations: 7.938 kB / 0.5619 GB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.3464, allocations: 0 / 0.5619 GB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.3464, allocations: 4.031 kB / 0.5619 GB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.082e-05/0.3465, allocations: 8 kB / 0.5619 GB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.3465, allocations: 0 / 0.5619 GB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.834e-05/0.3465, allocations: 3.984 kB / 0.5619 GB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.3465, allocations: 8 kB / 0.5619 GB, free: 40.39 MB / 410.7 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 5.088e-05/0.3466, allocations: 109.8 kB / 0.562 GB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.879e-06/0.3466, allocations: 7.875 kB / 0.562 GB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001692/0.3468, allocations: 65.17 kB / 0.5621 GB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.3468, allocations: 3.938 kB / 0.5621 GB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-06/0.3468, allocations: 0 / 0.5621 GB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.3468, allocations: 0 / 0.5621 GB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.664e-05/0.3469, allocations: 165.6 kB / 0.5623 GB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3469, allocations: 8 kB / 0.5623 GB, free: 39.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.19e-05/0.3469, allocations: 11.98 kB / 0.5623 GB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.3469, allocations: 3.938 kB / 0.5623 GB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.347, allocations: 0 / 0.5623 GB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.347, allocations: 0 / 0.5623 GB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.347, allocations: 0 / 0.5623 GB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003069/0.3473, allocations: 0.6435 MB / 0.5629 GB, free: 39.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.727e-05/0.3473, allocations: 77.11 kB / 0.563 GB, free: 39.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.3473, allocations: 4 kB / 0.563 GB, free: 39.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.774e-05/0.3474, allocations: 7.984 kB / 0.563 GB, free: 39.15 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.3474, allocations: 0 / 0.563 GB, free: 39.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.3475, allocations: 4 kB / 0.563 GB, free: 39.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.05e-05/0.3475, allocations: 75.28 kB / 0.5631 GB, free: 39.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3475, allocations: 0 / 0.5631 GB, free: 39.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003143/0.3478, allocations: 39.92 kB / 0.5631 GB, free: 39.03 MB / 410.7 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.0002185/0.348, allocations: 139.2 kB / 0.5632 GB, free: 38.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001367/0.3482, allocations: 35.86 kB / 0.5633 GB, free: 38.85 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3482, allocations: 0 / 0.5633 GB, free: 38.85 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.723e-05/0.3482, allocations: 12 kB / 0.5633 GB, free: 38.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.3485, allocations: 14.33 kB / 0.5633 GB, free: 38.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003232/0.3488, allocations: 240.5 kB / 0.5635 GB, free: 38.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.3489, allocations: 0.6809 MB / 0.5642 GB, free: 37.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.263e-05/0.349, allocations: 3.984 kB / 0.5642 GB, free: 37.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.586e-05/0.349, allocations: 15.44 kB / 0.5642 GB, free: 37.82 MB / 410.7 MB Notification: Performance of SimCode: time 2.1e-07/0.349, allocations: 0 / 0.5642 GB, free: 37.82 MB / 410.7 MB Notification: Performance of Templates: time 0.00294/0.3519, allocations: 1.034 MB / 0.5652 GB, free: 36.79 MB / 410.7 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)