Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="IDEAS_IDEAS_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.008941/0.008941, allocations: 97.84 kB / 15.73 MB, free: 6.043 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.001925/0.001925, allocations: 197.1 kB / 16.67 MB, free: 5.969 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.494/1.494, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8763/0.8763, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 64.86 kB / 0.5809 GB, free: 1.129 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1814, allocations: 80.2 MB / 0.6592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003573/0.185, allocations: 1.877 MB / 0.661 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.2095/0.3945, allocations: 155.4 MB / 0.8128 GB, free: 100 kB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002082/0.3948, allocations: 0 / 0.8128 GB, free: 100 kB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001988/0.395, allocations: 31.72 kB / 0.8128 GB, free: 68 kB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.4382/0.8333, allocations: 69.94 kB / 0.8129 GB, free: 3.375 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001177/0.8345, allocations: 251.2 kB / 0.8131 GB, free: 3.375 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0004881/0.835, allocations: 257.3 kB / 0.8134 GB, free: 3.375 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002114/0.8352, allocations: 67.38 kB / 0.8134 GB, free: 3.371 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001566/0.8368, allocations: 236.2 kB / 0.8137 GB, free: 3.371 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/0.837, allocations: 92.16 kB / 0.8138 GB, free: 3.371 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.321e-05/0.8371, allocations: 16.19 kB / 0.8138 GB, free: 3.371 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005334/0.8376, allocations: 187.5 kB / 0.8139 GB, free: 3.371 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 8.861e-05/0.8377, allocations: 39.64 kB / 0.814 GB, free: 3.371 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.8379, allocations: 87.91 kB / 0.8141 GB, free: 3.371 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0006317/0.8385, allocations: 281.6 kB / 0.8143 GB, free: 3.355 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.8385, allocations: 0.625 kB / 0.8143 GB, free: 3.355 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.455e-06/0.8385, allocations: 0.9688 kB / 0.8143 GB, free: 3.355 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.8385, allocations: 3.438 kB / 0.8143 GB, free: 3.355 MB / 0.6387 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.001019/0.8396, allocations: 0.5091 MB / 0.8148 GB, free: 2.945 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.8396, allocations: 10.28 kB / 0.8149 GB, free: 2.945 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.581e-05/0.8397, allocations: 48.11 kB / 0.8149 GB, free: 2.906 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008868/0.8406, allocations: 83.39 kB / 0.815 GB, free: 2.898 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.8409, allocations: 231.5 kB / 0.8152 GB, free: 2.688 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.545e-05/0.841, allocations: 41.88 kB / 0.8152 GB, free: 2.656 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.148e-05/0.841, allocations: 22.23 kB / 0.8153 GB, free: 2.656 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000573/0.8416, allocations: 266.4 kB / 0.8155 GB, free: 2.559 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.8416, allocations: 1.781 kB / 0.8155 GB, free: 2.559 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.722e-05/0.8416, allocations: 5.688 kB / 0.8155 GB, free: 2.559 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.8417, allocations: 8.875 kB / 0.8155 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004943/0.8422, allocations: 171.2 kB / 0.8157 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/0.8436, allocations: 1.175 MB / 0.8168 GB, free: 1.68 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007691/0.8444, allocations: 205.4 kB / 0.817 GB, free: 1.656 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001857/0.8446, allocations: 73.41 kB / 0.8171 GB, free: 1.648 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.356e-05/0.8447, allocations: 2.281 kB / 0.8171 GB, free: 1.648 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.8447, allocations: 37.48 kB / 0.8171 GB, free: 1.609 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=12): time 1.883e-06/0.8447, allocations: 1.031 kB / 0.8171 GB, free: 1.609 MB / 0.6387 GB Notification: Performance of matching and sorting (n=12): time 0.002808/0.8475, allocations: 0.6258 MB / 0.8178 GB, free: 1.363 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/0.8475, allocations: 54.92 kB / 0.8178 GB, free: 1.301 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003988/0.8479, allocations: 200.6 kB / 0.818 GB, free: 17.2 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.848, allocations: 33.42 kB / 0.818 GB, free: 17.17 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.152e-05/0.8481, allocations: 143.9 kB / 0.8182 GB, free: 17.06 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/0.8481, allocations: 40.44 kB / 0.8182 GB, free: 17.03 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.8482, allocations: 46.03 kB / 0.8182 GB, free: 17.02 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.8484, allocations: 325.6 kB / 0.8186 GB, free: 16.7 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002346/0.8486, allocations: 70.03 kB / 0.8186 GB, free: 16.7 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000273/0.8489, allocations: 132.2 kB / 0.8188 GB, free: 16.63 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005059/0.8494, allocations: 200 kB / 0.8189 GB, free: 16.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.8494, allocations: 5.438 kB / 0.8189 GB, free: 16.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001701/0.8512, allocations: 371.1 kB / 0.8193 GB, free: 16.51 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.8512, allocations: 9.531 kB / 0.8193 GB, free: 16.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.8512, allocations: 1.625 kB / 0.8193 GB, free: 16.51 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/0.8524, allocations: 163.7 kB / 0.8195 GB, free: 16.49 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002387/0.8526, allocations: 45.52 kB / 0.8195 GB, free: 16.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004805/0.8574, allocations: 3.249 MB / 0.8227 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004545/0.8579, allocations: 39.78 kB / 0.8227 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.545e-05/0.858, allocations: 14.55 kB / 0.8227 GB, free: 13.71 MB / 0.6544 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.0001954/0.8582, allocations: 125.6 kB / 0.8229 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.855e-05/0.8582, allocations: 17.2 kB / 0.8229 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00157/0.8598, allocations: 370.2 kB / 0.8232 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.8598, allocations: 3.281 kB / 0.8232 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.8598, allocations: 0.5 kB / 0.8232 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.8598, allocations: 6.094 kB / 0.8232 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003654/0.8602, allocations: 272.1 kB / 0.8235 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.8602, allocations: 1.5 kB / 0.8235 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/0.8604, allocations: 29.38 kB / 0.8235 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008503/0.8612, allocations: 144.2 kB / 0.8237 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.8613, allocations: 2.516 kB / 0.8237 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004077/0.8654, allocations: 3.292 MB / 0.8269 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.8654, allocations: 4.781 kB / 0.8269 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001372/0.8668, allocations: 434.2 kB / 0.8273 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.8669, allocations: 107.2 kB / 0.8274 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.657e-05/0.8669, allocations: 8.203 kB / 0.8274 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002874/0.8672, allocations: 14.88 kB / 0.8274 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.358e-05/0.8673, allocations: 22.03 kB / 0.8274 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.8674, allocations: 6.078 kB / 0.8274 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002024/0.8676, allocations: 148.4 kB / 0.8276 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.31e-07/0.8676, allocations: 0.6875 kB / 0.8276 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004702/0.868, allocations: 73.3 kB / 0.8277 GB, free: 10.21 MB / 0.6544 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.001916/0.87, allocations: 0.9839 MB / 0.8286 GB, free: 9.516 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001238/0.8712, allocations: 448.5 kB / 0.8291 GB, free: 9.289 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.8712, allocations: 4.812 kB / 0.8291 GB, free: 9.285 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007405/0.872, allocations: 351.6 kB / 0.8294 GB, free: 9.062 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004511/0.8724, allocations: 52.67 kB / 0.8294 GB, free: 9.062 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005557/0.878, allocations: 2.519 MB / 0.8319 GB, free: 7.664 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004329/0.8785, allocations: 0.7331 MB / 0.8326 GB, free: 6.965 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002161/0.8787, allocations: 37.61 kB / 0.8327 GB, free: 6.953 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.8788, allocations: 54.34 kB / 0.8327 GB, free: 6.945 MB / 0.6544 GB Notification: Performance of SimCode: time 7.11e-07/0.8788, allocations: 0 / 0.8327 GB, free: 6.945 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03953/0.9184, allocations: 7.276 MB / 0.8398 GB, free: 6.473 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/13.15, allocations: 20.09 kB / 0.8398 GB, free: 6.465 MB / 0.6544 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)