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.001796/0.001796, allocations: 97.2 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002679/0.002679, allocations: 177.2 kB / 16.57 MB, free: 6.859 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.525/2.525, allocations: 223.2 MB / 240.5 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.247/1.247, allocations: 113.7 MB / 405.3 MB, free: 4.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000687/0.0006874, allocations: 8 kB / 493 MB, free: 8.652 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3115, allocations: 77.11 MB / 0.5567 GB, free: 11.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003296/0.3149, allocations: 1.188 MB / 0.5579 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001841/0.3168, allocations: 0.6557 MB / 0.5585 GB, free: 9.891 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.804e-05/0.3169, allocations: 0 / 0.5585 GB, free: 9.891 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.259e-05/0.3169, allocations: 3.938 kB / 0.5585 GB, free: 9.887 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.317, allocations: 11.92 kB / 0.5585 GB, free: 9.875 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006363/0.3177, allocations: 95.77 kB / 0.5586 GB, free: 9.781 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.3178, allocations: 39.83 kB / 0.5587 GB, free: 9.742 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.318, allocations: 23.91 kB / 0.5587 GB, free: 9.719 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.754e-05/0.3181, allocations: 19.92 kB / 0.5587 GB, free: 9.699 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.937e-05/0.3182, allocations: 19.92 kB / 0.5587 GB, free: 9.68 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.3182, allocations: 0 / 0.5587 GB, free: 9.68 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005056/0.3188, allocations: 167.8 kB / 0.5589 GB, free: 9.516 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.411e-05/0.3188, allocations: 4 kB / 0.5589 GB, free: 9.512 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.966e-05/0.3189, allocations: 33.64 kB / 0.5589 GB, free: 9.473 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003206/0.3192, allocations: 92.09 kB / 0.559 GB, free: 9.383 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.3192, allocations: 4 kB / 0.559 GB, free: 9.379 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.834e-06/0.3192, allocations: 0 / 0.559 GB, free: 9.379 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.3192, allocations: 3.938 kB / 0.559 GB, free: 9.375 MB / 430.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.0009022/0.3202, allocations: 399.1 kB / 0.5594 GB, free: 8.938 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.189e-05/0.3202, allocations: 12.03 kB / 0.5594 GB, free: 8.926 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.225e-05/0.3203, allocations: 34.56 kB / 0.5594 GB, free: 8.883 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.613e-05/0.3204, allocations: 7.906 kB / 0.5594 GB, free: 8.875 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.3206, allocations: 167 kB / 0.5596 GB, free: 8.672 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.3206, allocations: 8 kB / 0.5596 GB, free: 8.664 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/0.3206, allocations: 3.953 kB / 0.5596 GB, free: 8.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003831/0.321, allocations: 93.59 kB / 0.5597 GB, free: 8.562 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.321, allocations: 0 / 0.5597 GB, free: 8.562 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.3211, allocations: 0 / 0.5597 GB, free: 8.562 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.3211, allocations: 3.984 kB / 0.5597 GB, free: 8.559 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004355/0.3215, allocations: 91.92 kB / 0.5598 GB, free: 8.469 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006191/0.3222, allocations: 280.8 kB / 0.5601 GB, free: 8.145 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003148/0.3225, allocations: 74.47 kB / 0.5601 GB, free: 8.062 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002776/0.3228, allocations: 89.19 kB / 0.5602 GB, free: 7.957 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.3228, allocations: 30.56 kB / 0.5603 GB, free: 7.918 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.3228, allocations: 0 / 0.5603 GB, free: 7.918 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0008117/0.3237, allocations: 169.5 kB / 0.5604 GB, free: 7.746 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.686e-05/0.3237, allocations: 51.41 kB / 0.5605 GB, free: 7.684 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.3239, allocations: 117.8 kB / 0.5606 GB, free: 7.559 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001349/0.324, allocations: 25.7 kB / 0.5606 GB, free: 7.527 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.237e-05/0.3241, allocations: 88.14 kB / 0.5607 GB, free: 7.438 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.793e-05/0.3242, allocations: 19.83 kB / 0.5607 GB, free: 7.418 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.501e-06/0.3242, allocations: 3.938 kB / 0.5607 GB, free: 7.414 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.3244, allocations: 314.8 kB / 0.561 GB, free: 7.098 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002291/0.3246, allocations: 47.89 kB / 0.5611 GB, free: 7.051 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.3249, allocations: 43.97 kB / 0.5611 GB, free: 7.008 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002148/0.3251, allocations: 47.91 kB / 0.5611 GB, free: 6.961 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.3251, allocations: 0 / 0.5611 GB, free: 6.961 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004974/0.3256, allocations: 125.5 kB / 0.5613 GB, free: 6.832 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.3256, allocations: 4 kB / 0.5613 GB, free: 6.828 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.3257, allocations: 0 / 0.5613 GB, free: 6.828 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.3257, allocations: 0 / 0.5613 GB, free: 6.828 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/0.3259, allocations: 27.98 kB / 0.5613 GB, free: 6.801 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.3259, allocations: 0 / 0.5613 GB, free: 6.801 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.326, allocations: 19.98 kB / 0.5613 GB, free: 6.781 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.3261, allocations: 0 / 0.5613 GB, free: 6.781 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001487/0.3262, allocations: 121.7 kB / 0.5614 GB, free: 6.652 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-05/0.3263, allocations: 4 kB / 0.5614 GB, free: 6.648 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005792/0.3268, allocations: 133.4 kB / 0.5616 GB, free: 6.508 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.3269, allocations: 0 / 0.5616 GB, free: 6.508 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.3269, allocations: 4 kB / 0.5616 GB, free: 6.504 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.3269, allocations: 4 kB / 0.5616 GB, free: 6.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002975/0.3272, allocations: 177.7 kB / 0.5617 GB, free: 6.277 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3272, allocations: 0 / 0.5617 GB, free: 6.277 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/0.3274, allocations: 19.98 kB / 0.5618 GB, free: 6.258 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3274, allocations: 0 / 0.5618 GB, free: 6.258 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.3274, allocations: 0 / 0.5618 GB, free: 6.258 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.3274, allocations: 0 / 0.5618 GB, free: 6.258 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3274, allocations: 0 / 0.5618 GB, free: 6.258 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005901/0.328, allocations: 227.8 kB / 0.562 GB, free: 6.02 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.774e-05/0.3281, allocations: 84.97 kB / 0.562 GB, free: 5.918 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.3281, allocations: 48 / 0.562 GB, free: 5.918 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.3283, allocations: 23.97 kB / 0.5621 GB, free: 5.895 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.819e-05/0.3284, allocations: 7.984 kB / 0.5621 GB, free: 5.887 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.3284, allocations: 0 / 0.5621 GB, free: 5.887 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.691e-05/0.3285, allocations: 95.27 kB / 0.5622 GB, free: 5.793 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.604e-06/0.3285, allocations: 0 / 0.5622 GB, free: 5.793 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004765/0.329, allocations: 35.88 kB / 0.5622 GB, free: 5.758 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001133/0.3302, allocations: 0.7716 MB / 0.563 GB, free: 4.961 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005334/0.3307, allocations: 91.92 kB / 0.563 GB, free: 4.871 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.858e-06/0.3307, allocations: 4 kB / 0.563 GB, free: 4.867 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002172/0.331, allocations: 51.95 kB / 0.5631 GB, free: 4.816 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.3314, allocations: 11.48 kB / 0.5631 GB, free: 4.809 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/0.3332, allocations: 0.5704 MB / 0.5637 GB, free: 4.191 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004292/0.3337, allocations: 0.6926 MB / 0.5643 GB, free: 3.473 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.498e-05/0.3337, allocations: 0 / 0.5643 GB, free: 3.473 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.5e-05/0.3338, allocations: 19.44 kB / 0.5644 GB, free: 3.453 MB / 430.1 MB Notification: Performance of SimCode: time 3.697e-06/0.3338, allocations: 0 / 0.5644 GB, free: 3.453 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0229/0.3567, allocations: 2.068 MB / 0.5664 GB, free: 1.527 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004754/0.3574, allocations: 178.5 kB / 0.5666 GB, free: 1.285 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.239/3.596, allocations: 0 / 0.5666 GB, free: 1.285 MB / 430.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/linux/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) Environment - environmentSimulation: