Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.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: "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 102.3 kB / 15.98 MB, free: 6.34 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.001657/0.001657, allocations: 201.4 kB / 16.91 MB, free: 6.188 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.471/1.471, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7406/0.7406, allocations: 115.3 MB / 406.1 MB, free: 6.336 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 63.91 kB / 493.2 MB, free: 0.6211 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.459/0.4606, allocations: 76.17 MB / 0.556 GB, free: 36.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002806/0.4634, allocations: 1.547 MB / 0.5575 GB, free: 35.2 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.4646, allocations: 0.8072 MB / 0.5583 GB, free: 34.64 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.92e-05/0.4647, allocations: 1.562 kB / 0.5583 GB, free: 34.64 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.074e-05/0.4647, allocations: 3.938 kB / 0.5583 GB, free: 34.64 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.261e-05/0.4648, allocations: 8.375 kB / 0.5583 GB, free: 34.64 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005006/0.4653, allocations: 116.2 kB / 0.5584 GB, free: 34.58 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.842e-05/0.4654, allocations: 54.55 kB / 0.5585 GB, free: 34.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.4655, allocations: 20.34 kB / 0.5585 GB, free: 34.55 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.348e-05/0.4656, allocations: 15.08 kB / 0.5585 GB, free: 34.54 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.512e-05/0.4656, allocations: 28.38 kB / 0.5585 GB, free: 34.53 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.4657, allocations: 4.969 kB / 0.5586 GB, free: 34.53 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000352/0.466, allocations: 175.8 kB / 0.5587 GB, free: 34.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.804e-05/0.466, allocations: 10.52 kB / 0.5587 GB, free: 34.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.69e-05/0.4661, allocations: 23.48 kB / 0.5588 GB, free: 34.46 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002775/0.4664, allocations: 151.7 kB / 0.5589 GB, free: 34.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.4664, allocations: 0.5625 kB / 0.5589 GB, free: 34.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4664, allocations: 1.25 kB / 0.5589 GB, free: 34.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.4664, allocations: 0.5938 kB / 0.5589 GB, free: 34.41 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005457/0.467, allocations: 395.5 kB / 0.5593 GB, free: 34.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.467, allocations: 10.84 kB / 0.5593 GB, free: 34.02 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.159e-05/0.4671, allocations: 39.75 kB / 0.5593 GB, free: 33.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.078e-05/0.4671, allocations: 9.984 kB / 0.5593 GB, free: 33.97 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.954e-05/0.4672, allocations: 171.8 kB / 0.5595 GB, free: 33.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.4672, allocations: 1.625 kB / 0.5595 GB, free: 33.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.4672, allocations: 8.906 kB / 0.5595 GB, free: 33.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002822/0.4675, allocations: 72.19 kB / 0.5596 GB, free: 33.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.4675, allocations: 3.938 kB / 0.5596 GB, free: 33.72 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.4676, allocations: 1.266 kB / 0.5596 GB, free: 33.72 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.4676, allocations: 1.188 kB / 0.5596 GB, free: 33.72 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002851/0.4679, allocations: 71.16 kB / 0.5597 GB, free: 33.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003014/0.4682, allocations: 287.9 kB / 0.5599 GB, free: 33.42 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001918/0.4684, allocations: 54.16 kB / 0.56 GB, free: 33.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.4685, allocations: 43.8 kB / 0.56 GB, free: 33.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001577/0.4687, allocations: 94.02 kB / 0.5601 GB, free: 33.28 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.4687, allocations: 37.12 kB / 0.5601 GB, free: 33.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.4687, allocations: 1 kB / 0.5601 GB, free: 33.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005055/0.4692, allocations: 126.4 kB / 0.5603 GB, free: 33.19 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.295e-05/0.4693, allocations: 52.59 kB / 0.5603 GB, free: 33.13 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.754e-05/0.4693, allocations: 121.1 kB / 0.5604 GB, free: 33.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.766e-06/0.4694, allocations: 25.7 kB / 0.5605 GB, free: 32.99 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.022e-05/0.4694, allocations: 89.75 kB / 0.5605 GB, free: 32.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.4694, allocations: 17.62 kB / 0.5606 GB, free: 32.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.4695, allocations: 12.67 kB / 0.5606 GB, free: 32.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.311e-05/0.4695, allocations: 323.6 kB / 0.5609 GB, free: 32.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.4697, allocations: 33.17 kB / 0.5609 GB, free: 32.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.4698, allocations: 33.23 kB / 0.5609 GB, free: 32.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002583/0.4701, allocations: 72.44 kB / 0.561 GB, free: 32.53 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.4701, allocations: 0 / 0.561 GB, free: 32.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002971/0.4704, allocations: 97.42 kB / 0.5611 GB, free: 32.49 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.4704, allocations: 6.125 kB / 0.5611 GB, free: 32.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.4704, allocations: 0 / 0.5611 GB, free: 32.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.4704, allocations: 2.312 kB / 0.5611 GB, free: 32.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.4706, allocations: 16.02 kB / 0.5611 GB, free: 32.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.4706, allocations: 0.9062 kB / 0.5611 GB, free: 32.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.011e-05/0.4707, allocations: 19.28 kB / 0.5611 GB, free: 32.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.4707, allocations: 0.8125 kB / 0.5611 GB, free: 32.48 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 (3): * Single equations (assignments): 3 * 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.922e-05/0.4707, allocations: 121.6 kB / 0.5613 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/0.4708, allocations: 3.984 kB / 0.5613 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000334/0.4711, allocations: 111.4 kB / 0.5614 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.4711, allocations: 4.703 kB / 0.5614 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.4711, allocations: 2.531 kB / 0.5614 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.4711, allocations: 0 / 0.5614 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.4713, allocations: 173.3 kB / 0.5615 GB, free: 32.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4713, allocations: 2.281 kB / 0.5615 GB, free: 32.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.216e-05/0.4714, allocations: 16.14 kB / 0.5616 GB, free: 32.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.4714, allocations: 1 kB / 0.5616 GB, free: 32.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.4714, allocations: 5.156 kB / 0.5616 GB, free: 32.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4714, allocations: 0.6094 kB / 0.5616 GB, free: 32.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.4714, allocations: 0 / 0.5616 GB, free: 32.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003152/0.4717, allocations: 201.3 kB / 0.5618 GB, free: 31.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.234e-05/0.4718, allocations: 84.59 kB / 0.5618 GB, free: 31.85 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.4718, allocations: 2 kB / 0.5618 GB, free: 31.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.4719, allocations: 11.66 kB / 0.5619 GB, free: 31.85 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/0.472, allocations: 4.797 kB / 0.5619 GB, free: 31.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.472, allocations: 1.938 kB / 0.5619 GB, free: 31.85 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.461e-05/0.472, allocations: 92.5 kB / 0.562 GB, free: 31.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.472, allocations: 0 / 0.562 GB, free: 31.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002741/0.4723, allocations: 36.89 kB / 0.562 GB, free: 31.76 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 (3): * Single equations (assignments): 3 * 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.000556/0.4729, allocations: 0.7625 MB / 0.5627 GB, free: 31.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003248/0.4732, allocations: 70.36 kB / 0.5628 GB, free: 31.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.4732, allocations: 0 / 0.5628 GB, free: 31.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.4733, allocations: 37.02 kB / 0.5628 GB, free: 31.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.4737, allocations: 10.73 kB / 0.5628 GB, free: 31.06 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.4752, allocations: 1.422 MB / 0.5642 GB, free: 29.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.4753, allocations: 0.6884 MB / 0.5649 GB, free: 29.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.735e-05/0.4753, allocations: 7.891 kB / 0.5649 GB, free: 29.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.037e-05/0.4754, allocations: 19.09 kB / 0.5649 GB, free: 29.12 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4754, allocations: 2.375 kB / 0.5649 GB, free: 29.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01219/0.4876, allocations: 2.237 MB / 0.5671 GB, free: 28.86 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001268/0.4877, allocations: 195.5 kB / 0.5673 GB, free: 28.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.736/2.223, allocations: 0 / 0.5673 GB, free: 28.6 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)