Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.TWetBul_TDryBulPhi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",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.001922/0.001922, allocations: 104.1 kB / 16.4 MB, free: 6.457 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.001961/0.001962, allocations: 196 kB / 17.34 MB, free: 5.715 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.453/1.453, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8074/0.8074, allocations: 126.7 MB / 417.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 63.08 kB / 0.5735 GB, free: 27.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1411, allocations: 78.86 MB / 0.6505 GB, free: 3.629 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.00342/0.1445, allocations: 1.91 MB / 0.6524 GB, free: 1.707 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4986/0.6431, allocations: 155.4 MB / 0.8042 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001654/0.6434, allocations: 1.375 kB / 0.8042 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001826/0.6436, allocations: 25.92 kB / 0.8042 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002849/0.6439, allocations: 77.62 kB / 0.8043 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006831/0.6446, allocations: 257.6 kB / 0.8045 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002551/0.6448, allocations: 262.6 kB / 0.8048 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.645, allocations: 68.19 kB / 0.8048 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001405/0.6464, allocations: 248.6 kB / 0.8051 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.6466, allocations: 93.17 kB / 0.8052 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.697e-05/0.6466, allocations: 15.5 kB / 0.8052 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004032/0.647, allocations: 180.1 kB / 0.8054 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 7.516e-05/0.6471, allocations: 45.16 kB / 0.8054 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.6472, allocations: 92.62 kB / 0.8055 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0004307/0.6477, allocations: 293.3 kB / 0.8058 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.6477, allocations: 0 / 0.8058 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.293e-06/0.6477, allocations: 1.406 kB / 0.8058 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.6477, allocations: 0 / 0.8058 GB, free: 11.5 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009428/0.6486, allocations: 0.5267 MB / 0.8063 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.6487, allocations: 9.031 kB / 0.8063 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.78e-05/0.6487, allocations: 52.05 kB / 0.8063 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008204/0.6496, allocations: 91.64 kB / 0.8064 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.6499, allocations: 232.3 kB / 0.8067 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.824e-05/0.65, allocations: 36.22 kB / 0.8067 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.129e-05/0.65, allocations: 25.22 kB / 0.8067 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004957/0.6505, allocations: 256.6 kB / 0.807 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.6505, allocations: 4 kB / 0.807 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.512e-05/0.6506, allocations: 8.969 kB / 0.807 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.6506, allocations: 5.25 kB / 0.807 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000431/0.651, allocations: 166.7 kB / 0.8071 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001623/0.6526, allocations: 1.183 MB / 0.8083 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006953/0.6533, allocations: 208.2 kB / 0.8085 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.6535, allocations: 70.69 kB / 0.8086 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.6536, allocations: 0 / 0.8086 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.6536, allocations: 31.5 kB / 0.8086 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.062e-06/0.6536, allocations: 2.25 kB / 0.8086 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12): time 0.002632/0.6562, allocations: 0.6379 MB / 0.8092 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.6563, allocations: 58.16 kB / 0.8093 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002543/0.6566, allocations: 212.2 kB / 0.8095 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.6566, allocations: 27.92 kB / 0.8095 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.6567, allocations: 140.4 kB / 0.8096 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.554e-05/0.6568, allocations: 46.66 kB / 0.8097 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.369e-05/0.6569, allocations: 52.66 kB / 0.8097 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.657, allocations: 328.4 kB / 0.81 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.6572, allocations: 71 kB / 0.8101 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002738/0.6575, allocations: 134.4 kB / 0.8102 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004148/0.658, allocations: 198.7 kB / 0.8104 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.658, allocations: 2.781 kB / 0.8104 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001436/0.6594, allocations: 376 kB / 0.8108 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.6594, allocations: 5 kB / 0.8108 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.6594, allocations: 2.625 kB / 0.8108 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/0.6605, allocations: 170.1 kB / 0.8109 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.6607, allocations: 37.08 kB / 0.811 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004207/0.665, allocations: 3.249 MB / 0.8142 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003696/0.6653, allocations: 32.42 kB / 0.8142 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/0.6654, allocations: 11.7 kB / 0.8142 GB, free: 5.562 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001701/0.6656, allocations: 140.1 kB / 0.8143 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.584e-05/0.6656, allocations: 19.86 kB / 0.8144 GB, free: 5.422 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001313/0.6669, allocations: 372 kB / 0.8147 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.667, allocations: 6.891 kB / 0.8147 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.667, allocations: 0.875 kB / 0.8147 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.667, allocations: 0 / 0.8147 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003218/0.6673, allocations: 277.9 kB / 0.815 GB, free: 5.031 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.6673, allocations: 0 / 0.815 GB, free: 5.031 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.6675, allocations: 25.38 kB / 0.815 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008493/0.6683, allocations: 142 kB / 0.8151 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.6683, allocations: 11.62 kB / 0.8152 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003834/0.6722, allocations: 3.293 MB / 0.8184 GB, free: 2.008 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.6722, allocations: 0 / 0.8184 GB, free: 2.008 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/0.6735, allocations: 440.3 kB / 0.8188 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.6737, allocations: 117.8 kB / 0.8189 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.536e-05/0.6737, allocations: 4.062 kB / 0.8189 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003056/0.674, allocations: 25.73 kB / 0.8189 GB, free: 1.633 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.965e-05/0.6741, allocations: 16.12 kB / 0.8189 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.6741, allocations: 4.406 kB / 0.8189 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001888/0.6743, allocations: 163 kB / 0.8191 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6743, allocations: 0 / 0.8191 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004061/0.6748, allocations: 68.34 kB / 0.8192 GB, free: 1.527 MB / 0.5919 GB 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001658/0.6764, allocations: 0.98 MB / 0.8201 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001078/0.6775, allocations: 446.2 kB / 0.8205 GB, free: 484 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.6775, allocations: 4 kB / 0.8206 GB, free: 480 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006971/0.6782, allocations: 356.4 kB / 0.8209 GB, free: 216 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004335/0.6787, allocations: 64.77 kB / 0.821 GB, free: 188 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00499/0.6837, allocations: 2.515 MB / 0.8234 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003928/0.6841, allocations: 0.7437 MB / 0.8241 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001885/0.6843, allocations: 41.94 kB / 0.8242 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.29e-05/0.6844, allocations: 55.09 kB / 0.8242 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of SimCode: time 4.11e-07/0.6844, allocations: 0 / 0.8242 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0379/0.7223, allocations: 7.278 MB / 0.8313 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.89, allocations: 9.938 kB / 0.8313 GB, free: 10.03 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_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_TWetBul_TDryBulPhi.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)