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.004891/0.004891, allocations: 99.53 kB / 15.73 MB, free: 6.48 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.001075/0.001074, allocations: 193.4 kB / 16.68 MB, free: 6.363 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.83/0.83, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 63.91 kB / 0.5808 GB, free: 8.082 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4734/0.4749, allocations: 80.21 MB / 0.6592 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002697/0.4776, allocations: 1.871 MB / 0.661 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1803/0.6579, allocations: 155.4 MB / 0.8128 GB, free: 8.352 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000237/0.6582, allocations: 8 kB / 0.8128 GB, free: 8.344 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.000222/0.6585, allocations: 27.67 kB / 0.8128 GB, free: 8.316 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0003365/0.6588, allocations: 67.48 kB / 0.8129 GB, free: 8.25 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008064/0.6596, allocations: 266.8 kB / 0.8131 GB, free: 7.992 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002902/0.6599, allocations: 255.2 kB / 0.8134 GB, free: 7.742 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000183/0.6601, allocations: 66.27 kB / 0.8134 GB, free: 7.676 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001293/0.6614, allocations: 247.2 kB / 0.8137 GB, free: 7.457 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.6615, allocations: 91.59 kB / 0.8138 GB, free: 7.367 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.229e-05/0.6616, allocations: 16 kB / 0.8138 GB, free: 7.352 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003268/0.6619, allocations: 183.7 kB / 0.814 GB, free: 7.172 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 5.935e-05/0.662, allocations: 35.89 kB / 0.814 GB, free: 7.137 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.6621, allocations: 99.52 kB / 0.8141 GB, free: 7.039 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0004572/0.6626, allocations: 278.6 kB / 0.8143 GB, free: 6.77 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.6626, allocations: 7.938 kB / 0.8144 GB, free: 6.762 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6626, allocations: 0 / 0.8144 GB, free: 6.762 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.6626, allocations: 0 / 0.8144 GB, free: 6.762 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.0009679/0.6636, allocations: 0.5141 MB / 0.8149 GB, free: 6.199 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.526e-05/0.6636, allocations: 8.031 kB / 0.8149 GB, free: 6.191 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.305e-05/0.6637, allocations: 50.55 kB / 0.8149 GB, free: 6.133 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008535/0.6646, allocations: 83.81 kB / 0.815 GB, free: 6.051 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002954/0.6649, allocations: 226.8 kB / 0.8152 GB, free: 5.789 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.103e-05/0.6649, allocations: 41.97 kB / 0.8153 GB, free: 5.742 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.659e-05/0.665, allocations: 16 kB / 0.8153 GB, free: 5.727 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005442/0.6655, allocations: 263.2 kB / 0.8155 GB, free: 5.441 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.6656, allocations: 0 / 0.8155 GB, free: 5.441 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.28e-05/0.6656, allocations: 12 kB / 0.8155 GB, free: 5.43 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.6656, allocations: 4 kB / 0.8155 GB, free: 5.426 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000448/0.6661, allocations: 167.8 kB / 0.8157 GB, free: 5.262 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001614/0.6677, allocations: 1.181 MB / 0.8168 GB, free: 4.004 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007209/0.6684, allocations: 206.6 kB / 0.817 GB, free: 3.793 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/0.6686, allocations: 76.81 kB / 0.8171 GB, free: 3.715 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.6686, allocations: 0 / 0.8171 GB, free: 3.715 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.6687, allocations: 34.56 kB / 0.8171 GB, free: 3.672 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=12): time 9.92e-07/0.6687, allocations: 0 / 0.8171 GB, free: 3.672 MB / 0.6387 GB Notification: Performance of matching and sorting (n=12): time 0.002617/0.6713, allocations: 0.622 MB / 0.8178 GB, free: 3 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.6714, allocations: 59.34 kB / 0.8178 GB, free: 2.93 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/0.6716, allocations: 202.2 kB / 0.818 GB, free: 2.723 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.6716, allocations: 29.7 kB / 0.818 GB, free: 2.688 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 9.942e-05/0.6717, allocations: 135.8 kB / 0.8182 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.736e-05/0.6718, allocations: 51.58 kB / 0.8182 GB, free: 2.5 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.782e-05/0.6719, allocations: 49.67 kB / 0.8183 GB, free: 2.445 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.672, allocations: 322.8 kB / 0.8186 GB, free: 2.121 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002123/0.6723, allocations: 71.95 kB / 0.8186 GB, free: 2.051 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002583/0.6725, allocations: 132.9 kB / 0.8188 GB, free: 1.895 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004333/0.673, allocations: 206.8 kB / 0.819 GB, free: 1.668 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.673, allocations: 0 / 0.819 GB, free: 1.668 MB / 0.6387 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001436/0.6744, allocations: 372.6 kB / 0.8193 GB, free: 1.293 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.6745, allocations: 8 kB / 0.8193 GB, free: 1.285 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.6745, allocations: 0 / 0.8193 GB, free: 1.285 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/0.6756, allocations: 161.8 kB / 0.8195 GB, free: 1.121 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/0.6758, allocations: 43.89 kB / 0.8195 GB, free: 1.078 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004277/0.6801, allocations: 3.257 MB / 0.8227 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003519/0.6804, allocations: 31.77 kB / 0.8227 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/0.6805, allocations: 15.98 kB / 0.8227 GB, free: 13.49 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.0001699/0.6807, allocations: 129.7 kB / 0.8229 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.964e-05/0.6807, allocations: 15.91 kB / 0.8229 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/0.682, allocations: 374.5 kB / 0.8232 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.682, allocations: 4 kB / 0.8232 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.682, allocations: 0 / 0.8232 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.682, allocations: 0 / 0.8232 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003518/0.6824, allocations: 269.4 kB / 0.8235 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.6824, allocations: 3.938 kB / 0.8235 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/0.6826, allocations: 31.84 kB / 0.8235 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008265/0.6834, allocations: 141.6 kB / 0.8237 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.6834, allocations: 0 / 0.8237 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003538/0.687, allocations: 3.308 MB / 0.8269 GB, free: 8.867 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.687, allocations: 0 / 0.8269 GB, free: 8.867 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/0.6882, allocations: 432.8 kB / 0.8273 GB, free: 8.422 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.6884, allocations: 108.9 kB / 0.8274 GB, free: 8.297 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.602e-05/0.6884, allocations: 7.922 kB / 0.8274 GB, free: 8.289 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002792/0.6887, allocations: 16.11 kB / 0.8274 GB, free: 8.273 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.251e-05/0.6888, allocations: 15.98 kB / 0.8275 GB, free: 8.258 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.6888, allocations: 11.98 kB / 0.8275 GB, free: 8.246 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001816/0.689, allocations: 152.2 kB / 0.8276 GB, free: 8.098 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.689, allocations: 0 / 0.8276 GB, free: 8.098 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004539/0.6895, allocations: 71.89 kB / 0.8277 GB, free: 8.027 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.001618/0.6911, allocations: 0.9771 MB / 0.8286 GB, free: 7.016 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001074/0.6922, allocations: 441.8 kB / 0.8291 GB, free: 6.559 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6922, allocations: 4 kB / 0.8291 GB, free: 6.555 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006568/0.6929, allocations: 353.2 kB / 0.8294 GB, free: 6.184 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.6933, allocations: 61.8 kB / 0.8295 GB, free: 6.129 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004731/0.698, allocations: 2.511 MB / 0.8319 GB, free: 3.488 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.6983, allocations: 0.7363 MB / 0.8326 GB, free: 2.727 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000167/0.6985, allocations: 33.94 kB / 0.8327 GB, free: 2.695 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.961e-05/0.6986, allocations: 51.41 kB / 0.8327 GB, free: 2.645 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.6986, allocations: 0 / 0.8327 GB, free: 2.645 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03026/0.7289, allocations: 7.281 MB / 0.8398 GB, free: 11.61 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.52, allocations: 17.97 kB / 0.8398 GB, free: 11.6 MB / 0.67 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)