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: "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_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.001034/0.001034, allocations: 110.4 kB / 16.27 MB, free: 6.004 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.001109/0.001109, allocations: 186.1 kB / 17.2 MB, free: 5.617 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.297/1.297, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7373/0.7373, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 67.89 kB / 0.4912 GB, free: 7.414 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3507, allocations: 77.92 MB / 0.5673 GB, free: 32.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.00206/0.3528, allocations: 1.253 MB / 0.5685 GB, free: 31.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.3539, allocations: 0.8221 MB / 0.5693 GB, free: 31.22 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.886e-05/0.3539, allocations: 0 / 0.5693 GB, free: 31.22 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.942e-05/0.354, allocations: 3.938 kB / 0.5693 GB, free: 31.22 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.054e-05/0.354, allocations: 10.56 kB / 0.5693 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004371/0.3545, allocations: 128 kB / 0.5695 GB, free: 31.15 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.008e-05/0.3545, allocations: 32.36 kB / 0.5695 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.764e-05/0.3546, allocations: 2.203 kB / 0.5695 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.313e-05/0.3546, allocations: 9.125 kB / 0.5695 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.228e-05/0.3547, allocations: 14.27 kB / 0.5695 GB, free: 31.13 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.3547, allocations: 1.656 kB / 0.5695 GB, free: 31.13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003196/0.355, allocations: 166.6 kB / 0.5697 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.691e-05/0.355, allocations: 7.031 kB / 0.5697 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.391e-05/0.3551, allocations: 9.875 kB / 0.5697 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.3553, allocations: 124.2 kB / 0.5698 GB, free: 31.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.3553, allocations: 1.062 kB / 0.5698 GB, free: 31.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.3553, allocations: 1.875 kB / 0.5698 GB, free: 31.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.3553, allocations: 0 / 0.5698 GB, free: 31.04 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.0003467/0.3557, allocations: 358.2 kB / 0.5701 GB, free: 30.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.3557, allocations: 11.22 kB / 0.5702 GB, free: 30.66 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.73e-05/0.3558, allocations: 33.61 kB / 0.5702 GB, free: 30.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.034e-05/0.3558, allocations: 2.938 kB / 0.5702 GB, free: 30.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.229e-05/0.3559, allocations: 170.6 kB / 0.5704 GB, free: 30.42 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.238e-05/0.3559, allocations: 30.97 kB / 0.5704 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.615e-06/0.356, allocations: 2.094 kB / 0.5704 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.3561, allocations: 50.05 kB / 0.5704 GB, free: 30.35 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.3561, allocations: 3.938 kB / 0.5704 GB, free: 30.35 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.3561, allocations: 0.9375 kB / 0.5704 GB, free: 30.35 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.3561, allocations: 1.094 kB / 0.5704 GB, free: 30.35 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.311e-05/0.3562, allocations: 19.53 kB / 0.5705 GB, free: 30.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001096/0.3563, allocations: 163.2 kB / 0.5706 GB, free: 30.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.3565, allocations: 47.84 kB / 0.5707 GB, free: 30.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.255e-05/0.3566, allocations: 16.86 kB / 0.5707 GB, free: 30.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002384/0.3568, allocations: 179 kB / 0.5708 GB, free: 29.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.463e-05/0.3569, allocations: 41.19 kB / 0.5709 GB, free: 29.87 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.3569, allocations: 0.5 kB / 0.5709 GB, free: 29.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002201/0.3571, allocations: 74.06 kB / 0.571 GB, free: 29.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.105e-05/0.3571, allocations: 53.66 kB / 0.571 GB, free: 29.76 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.813e-05/0.3572, allocations: 99.14 kB / 0.5711 GB, free: 29.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.3572, allocations: 30.5 kB / 0.5711 GB, free: 29.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.162e-05/0.3572, allocations: 86.02 kB / 0.5712 GB, free: 29.54 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.3572, allocations: 7.578 kB / 0.5712 GB, free: 29.53 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.3573, allocations: 21.61 kB / 0.5712 GB, free: 29.51 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.295e-05/0.3573, allocations: 313.5 kB / 0.5715 GB, free: 29.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.661e-05/0.3574, allocations: 13.17 kB / 0.5716 GB, free: 29.19 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.861e-05/0.3574, allocations: 8.234 kB / 0.5716 GB, free: 29.19 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.816e-05/0.3575, allocations: 35.09 kB / 0.5716 GB, free: 29.17 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3575, allocations: 0 / 0.5716 GB, free: 29.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001356/0.3576, allocations: 54.38 kB / 0.5716 GB, free: 29.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.3577, allocations: 8.625 kB / 0.5717 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3577, allocations: 1.188 kB / 0.5717 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.3577, allocations: 1.781 kB / 0.5717 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.07e-05/0.3577, allocations: 8.656 kB / 0.5717 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.3578, allocations: 0.7812 kB / 0.5717 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.964e-05/0.3578, allocations: 3.219 kB / 0.5717 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.431e-06/0.3578, allocations: 2.969 kB / 0.5717 GB, free: 29.13 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.919e-05/0.3579, allocations: 111.9 kB / 0.5718 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.353e-05/0.3579, allocations: 10.22 kB / 0.5718 GB, free: 29.01 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000165/0.358, allocations: 68.67 kB / 0.5719 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.3581, allocations: 1.75 kB / 0.5719 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.3581, allocations: 0 / 0.5719 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3581, allocations: 2.172 kB / 0.5719 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.265e-05/0.3581, allocations: 154.9 kB / 0.572 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3582, allocations: 1.031 kB / 0.572 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.466e-05/0.3582, allocations: 8.484 kB / 0.572 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3582, allocations: 5.719 kB / 0.572 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.3582, allocations: 0 / 0.572 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.3582, allocations: 1.906 kB / 0.572 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3582, allocations: 0.9375 kB / 0.572 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.3584, allocations: 90 kB / 0.5721 GB, free: 28.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.549e-05/0.3584, allocations: 97.78 kB / 0.5722 GB, free: 28.58 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.3584, allocations: 2.016 kB / 0.5722 GB, free: 28.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.615e-05/0.3585, allocations: 4.969 kB / 0.5722 GB, free: 28.58 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.686e-05/0.3585, allocations: 3.422 kB / 0.5722 GB, free: 28.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.3585, allocations: 6.672 kB / 0.5722 GB, free: 28.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.757e-05/0.3585, allocations: 82.62 kB / 0.5723 GB, free: 28.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3585, allocations: 0 / 0.5723 GB, free: 28.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002818/0.3588, allocations: 33 kB / 0.5723 GB, free: 28.49 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.0003883/0.3592, allocations: 0.6649 MB / 0.573 GB, free: 27.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001382/0.3594, allocations: 26.7 kB / 0.573 GB, free: 27.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3594, allocations: 1.281 kB / 0.573 GB, free: 27.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.981e-05/0.3594, allocations: 13.03 kB / 0.573 GB, free: 27.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000179/0.3596, allocations: 12.67 kB / 0.573 GB, free: 27.85 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003786/0.36, allocations: 173 kB / 0.5732 GB, free: 27.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.073e-05/0.3601, allocations: 0.6781 MB / 0.5739 GB, free: 26.99 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.444e-05/0.3602, allocations: 6.281 kB / 0.5739 GB, free: 26.99 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.627e-05/0.3602, allocations: 14.72 kB / 0.5739 GB, free: 26.98 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3602, allocations: 0 / 0.5739 GB, free: 26.98 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01744/0.3777, allocations: 1.92 MB / 0.5758 GB, free: 26.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.079/7.457, allocations: 9.719 kB / 0.5758 GB, free: 26.64 MB / 446.1 MB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)