Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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_TDryBulXi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",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.001138/0.001138, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.445/1.445, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7947/0.7947, allocations: 132.2 MB / 422.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 64.66 kB / 0.5019 GB, free: 3.816 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4048/0.4063, allocations: 80.2 MB / 0.5802 GB, free: 4.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003609/0.41, allocations: 1.65 MB / 0.5818 GB, free: 3.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.165/0.575, allocations: 149.7 MB / 0.728 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001517/0.5752, allocations: 4 kB / 0.728 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002169/0.5755, allocations: 23.8 kB / 0.728 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000361/0.5759, allocations: 51.64 kB / 0.7281 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005942/0.5765, allocations: 175.3 kB / 0.7282 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002509/0.5768, allocations: 159.5 kB / 0.7284 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.5769, allocations: 34.23 kB / 0.7284 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001405/0.5783, allocations: 181.3 kB / 0.7286 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001833/0.5785, allocations: 63.8 kB / 0.7286 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.84e-05/0.5786, allocations: 12 kB / 0.7287 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004353/0.579, allocations: 155.7 kB / 0.7288 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.612e-05/0.5791, allocations: 27.91 kB / 0.7288 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.323e-05/0.5792, allocations: 55.72 kB / 0.7289 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004195/0.5796, allocations: 195.5 kB / 0.7291 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.5796, allocations: 0 / 0.7291 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5796, allocations: 0 / 0.7291 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.5797, allocations: 0 / 0.7291 GB, free: 8.57 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008695/0.5805, allocations: 463 kB / 0.7295 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.5806, allocations: 8.031 kB / 0.7295 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.794e-05/0.5806, allocations: 38.75 kB / 0.7296 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006396/0.5813, allocations: 64.38 kB / 0.7296 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.5815, allocations: 205.4 kB / 0.7298 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.5815, allocations: 8 kB / 0.7298 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.5816, allocations: 4 kB / 0.7298 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004644/0.582, allocations: 189.8 kB / 0.73 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.5821, allocations: 0 / 0.73 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.14e-05/0.5821, allocations: 0 / 0.73 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.5821, allocations: 7.938 kB / 0.73 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005376/0.5826, allocations: 147.7 kB / 0.7302 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.5841, allocations: 0.8242 MB / 0.731 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004548/0.5846, allocations: 130.5 kB / 0.7311 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002621/0.5848, allocations: 76.8 kB / 0.7312 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.288e-05/0.5849, allocations: 8.156 kB / 0.7312 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.5849, allocations: 30.56 kB / 0.7312 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.753e-06/0.5849, allocations: 3.938 kB / 0.7312 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.002101/0.587, allocations: 459.2 kB / 0.7316 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.5871, allocations: 55.34 kB / 0.7317 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.5873, allocations: 144.1 kB / 0.7318 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.411e-05/0.5873, allocations: 25.7 kB / 0.7318 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.826e-05/0.5874, allocations: 107.9 kB / 0.732 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.139e-05/0.5875, allocations: 31.55 kB / 0.732 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.5876, allocations: 33.64 kB / 0.732 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.5877, allocations: 318.8 kB / 0.7323 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002638/0.588, allocations: 71.94 kB / 0.7324 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002661/0.5883, allocations: 100.2 kB / 0.7325 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006164/0.5889, allocations: 184.1 kB / 0.7327 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5889, allocations: 0 / 0.7327 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001067/0.59, allocations: 274.1 kB / 0.7329 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.59, allocations: 11.94 kB / 0.7329 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.59, allocations: 0 / 0.7329 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006747/0.5907, allocations: 92.8 kB / 0.733 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002516/0.591, allocations: 35.97 kB / 0.7331 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002263/0.5933, allocations: 1.663 MB / 0.7347 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002256/0.5935, allocations: 23.83 kB / 0.7347 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.5935, allocations: 7.938 kB / 0.7347 GB, free: 2.316 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001186/0.5937, allocations: 121.8 kB / 0.7348 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.153e-05/0.5937, allocations: 7.906 kB / 0.7348 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001136/0.5949, allocations: 318.8 kB / 0.7351 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.5949, allocations: 192 / 0.7351 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.5949, allocations: 4 kB / 0.7351 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.5949, allocations: 11.97 kB / 0.7352 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002856/0.5952, allocations: 233.5 kB / 0.7354 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/0.5952, allocations: 0 / 0.7354 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002575/0.5955, allocations: 35.89 kB / 0.7354 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004591/0.5959, allocations: 76.78 kB / 0.7355 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/0.596, allocations: 7.922 kB / 0.7355 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001896/0.5979, allocations: 1.674 MB / 0.7371 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5979, allocations: 0 / 0.7371 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.599, allocations: 372.1 kB / 0.7375 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.545e-05/0.599, allocations: 96.92 kB / 0.7376 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.5991, allocations: 0 / 0.7376 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.5993, allocations: 23.91 kB / 0.7376 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.364e-05/0.5994, allocations: 11.98 kB / 0.7376 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.5994, allocations: 4 kB / 0.7376 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.42e-05/0.5995, allocations: 113.3 kB / 0.7377 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5995, allocations: 0 / 0.7377 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003488/0.5998, allocations: 48 kB / 0.7378 GB, free: 14.93 MB / 0.5762 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001359/0.6012, allocations: 0.9227 MB / 0.7387 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009062/0.6021, allocations: 314.3 kB / 0.739 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.6021, allocations: 0 / 0.739 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000553/0.6027, allocations: 234.7 kB / 0.7392 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.603, allocations: 32.52 kB / 0.7392 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003887/0.6069, allocations: 2.046 MB / 0.7412 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.6072, allocations: 0.7048 MB / 0.7419 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000169/0.6074, allocations: 28.86 kB / 0.7419 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.347e-05/0.6075, allocations: 35.42 kB / 0.742 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.6075, allocations: 0 / 0.742 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02398/0.6315, allocations: 4.649 MB / 0.7465 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.95, allocations: 13.53 kB / 0.7465 GB, free: 5.977 MB / 0.5762 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_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_TDryBulXi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)