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.0012/0.0012, allocations: 103.3 kB / 16.27 MB, free: 5.93 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.001193/0.001193, allocations: 185.9 kB / 17.2 MB, free: 5.574 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.301/1.301, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7428/0.7428, allocations: 122.9 MB / 413.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 63.89 kB / 0.4912 GB, free: 7.367 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3266, allocations: 77.92 MB / 0.5673 GB, free: 32.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002764/0.3294, allocations: 1.478 MB / 0.5687 GB, free: 31.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.3305, allocations: 0.8044 MB / 0.5695 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.315e-05/0.3306, allocations: 1.094 kB / 0.5695 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.928e-05/0.3306, allocations: 7.984 kB / 0.5695 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.778e-05/0.3307, allocations: 14.88 kB / 0.5695 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004379/0.3311, allocations: 125.2 kB / 0.5696 GB, free: 31.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.208e-05/0.3312, allocations: 53.97 kB / 0.5697 GB, free: 31.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.3313, allocations: 16.86 kB / 0.5697 GB, free: 31.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.132e-05/0.3314, allocations: 19.33 kB / 0.5697 GB, free: 31.03 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.246e-05/0.3315, allocations: 25.67 kB / 0.5698 GB, free: 31.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.3315, allocations: 7.453 kB / 0.5698 GB, free: 31.01 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003699/0.3319, allocations: 170.3 kB / 0.5699 GB, free: 30.97 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.697e-05/0.3319, allocations: 7.578 kB / 0.5699 GB, free: 30.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.678e-05/0.3319, allocations: 23.5 kB / 0.57 GB, free: 30.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002838/0.3322, allocations: 147.7 kB / 0.5701 GB, free: 30.9 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3322, allocations: 1.969 kB / 0.5701 GB, free: 30.9 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3322, allocations: 1.344 kB / 0.5701 GB, free: 30.9 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.3322, allocations: 0 / 0.5701 GB, free: 30.9 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.0005365/0.3328, allocations: 402.9 kB / 0.5705 GB, free: 30.51 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.3328, allocations: 11.03 kB / 0.5705 GB, free: 30.51 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.407e-05/0.3329, allocations: 36.33 kB / 0.5705 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.822e-05/0.3329, allocations: 3.438 kB / 0.5705 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.352e-05/0.333, allocations: 181.7 kB / 0.5707 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.333, allocations: 1.812 kB / 0.5707 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.333, allocations: 3.656 kB / 0.5707 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002635/0.3333, allocations: 73.86 kB / 0.5708 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.3333, allocations: 3.938 kB / 0.5708 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.3334, allocations: 6.219 kB / 0.5708 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3334, allocations: 0 / 0.5708 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003136/0.3337, allocations: 76.45 kB / 0.5709 GB, free: 30.19 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003948/0.3341, allocations: 279.6 kB / 0.5711 GB, free: 29.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.3343, allocations: 56.78 kB / 0.5712 GB, free: 29.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.3345, allocations: 38.94 kB / 0.5712 GB, free: 29.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001886/0.3347, allocations: 93.62 kB / 0.5713 GB, free: 29.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.3347, allocations: 36.84 kB / 0.5713 GB, free: 29.72 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3347, allocations: 3.938 kB / 0.5714 GB, free: 29.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005939/0.3353, allocations: 133 kB / 0.5715 GB, free: 29.67 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.3354, allocations: 52.88 kB / 0.5715 GB, free: 29.61 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.3355, allocations: 120.3 kB / 0.5716 GB, free: 29.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.3355, allocations: 26.73 kB / 0.5717 GB, free: 29.47 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.799e-05/0.3355, allocations: 88.48 kB / 0.5718 GB, free: 29.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/0.3356, allocations: 9.281 kB / 0.5718 GB, free: 29.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.295e-05/0.3356, allocations: 18.98 kB / 0.5718 GB, free: 29.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.601e-05/0.3357, allocations: 318.1 kB / 0.5721 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.3358, allocations: 32.3 kB / 0.5721 GB, free: 29.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.336, allocations: 36.62 kB / 0.5721 GB, free: 29.03 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002726/0.3362, allocations: 68.8 kB / 0.5722 GB, free: 29.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3363, allocations: 0 / 0.5722 GB, free: 29.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003744/0.3366, allocations: 101.9 kB / 0.5723 GB, free: 28.97 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.3367, allocations: 6.062 kB / 0.5723 GB, free: 28.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3367, allocations: 4 kB / 0.5723 GB, free: 28.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.3367, allocations: 2.109 kB / 0.5723 GB, free: 28.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.3368, allocations: 15.67 kB / 0.5723 GB, free: 28.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.3368, allocations: 1.438 kB / 0.5723 GB, free: 28.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.045e-05/0.3369, allocations: 16 kB / 0.5724 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.3369, allocations: 1.5 kB / 0.5724 GB, free: 28.96 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 5.796e-05/0.337, allocations: 118.2 kB / 0.5725 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.337, allocations: 2.344 kB / 0.5725 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003666/0.3374, allocations: 110.6 kB / 0.5726 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3374, allocations: 0 / 0.5726 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3374, allocations: 5.156 kB / 0.5726 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3374, allocations: 1.656 kB / 0.5726 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.3376, allocations: 175.8 kB / 0.5728 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.3376, allocations: 0 / 0.5728 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.244e-05/0.3377, allocations: 17.81 kB / 0.5728 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3377, allocations: 0.75 kB / 0.5728 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.3377, allocations: 1.375 kB / 0.5728 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.3377, allocations: 0 / 0.5728 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3377, allocations: 5.188 kB / 0.5728 GB, free: 28.58 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003411/0.3381, allocations: 202.7 kB / 0.573 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.974e-05/0.3381, allocations: 87.7 kB / 0.5731 GB, free: 28.33 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.3381, allocations: 1.375 kB / 0.5731 GB, free: 28.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.3382, allocations: 12.44 kB / 0.5731 GB, free: 28.33 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.95e-05/0.3383, allocations: 9.547 kB / 0.5731 GB, free: 28.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.3383, allocations: 0 / 0.5731 GB, free: 28.33 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.986e-05/0.3383, allocations: 93.08 kB / 0.5732 GB, free: 28.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3383, allocations: 0 / 0.5732 GB, free: 28.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002769/0.3386, allocations: 31.52 kB / 0.5732 GB, free: 28.24 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.0006521/0.3393, allocations: 0.7648 MB / 0.5739 GB, free: 27.56 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003597/0.3396, allocations: 71.48 kB / 0.574 GB, free: 27.55 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3397, allocations: 0.7812 kB / 0.574 GB, free: 27.55 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.3398, allocations: 39.91 kB / 0.574 GB, free: 27.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.3401, allocations: 8.828 kB / 0.5741 GB, free: 27.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.3417, allocations: 1.421 MB / 0.5754 GB, free: 26.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/0.3418, allocations: 0.6845 MB / 0.5761 GB, free: 25.61 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.572e-05/0.3419, allocations: 3.031 kB / 0.5761 GB, free: 25.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.104e-05/0.3419, allocations: 24.14 kB / 0.5761 GB, free: 25.59 MB / 446.1 MB Notification: Performance of SimCode: time 1.91e-07/0.3419, allocations: 0 / 0.5761 GB, free: 25.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01837/0.3603, allocations: 2.421 MB / 0.5785 GB, free: 25.21 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.135/7.495, allocations: 5.078 kB / 0.5785 GB, free: 25.2 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Psychrometrics.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_Examples_Phi_pTX.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)