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.005097/0.005098, allocations: 99.11 kB / 15.73 MB, free: 6.035 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.001185/0.001185, allocations: 193.3 kB / 16.67 MB, free: 5.961 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7842/0.7842, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 63.16 kB / 0.5808 GB, free: 1.129 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.1988, allocations: 80.21 MB / 0.6592 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003494/0.2023, allocations: 1.63 MB / 0.6608 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1692/0.3716, allocations: 149.7 MB / 0.807 GB, free: 6.051 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001368/0.3717, allocations: 4 kB / 0.807 GB, free: 6.047 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001838/0.372, allocations: 19.8 kB / 0.807 GB, free: 6.027 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0003184/0.3723, allocations: 55.64 kB / 0.807 GB, free: 5.973 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005398/0.3728, allocations: 183.3 kB / 0.8072 GB, free: 5.793 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002659/0.3731, allocations: 155.5 kB / 0.8074 GB, free: 5.641 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.3733, allocations: 44.17 kB / 0.8074 GB, free: 5.598 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001275/0.3746, allocations: 188.4 kB / 0.8076 GB, free: 5.441 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/0.3747, allocations: 63.75 kB / 0.8076 GB, free: 5.379 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.041e-05/0.3747, allocations: 8 kB / 0.8076 GB, free: 5.371 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003326/0.3751, allocations: 155.8 kB / 0.8078 GB, free: 5.219 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 5.394e-05/0.3751, allocations: 27.91 kB / 0.8078 GB, free: 5.191 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 7.495e-05/0.3752, allocations: 51.72 kB / 0.8079 GB, free: 5.141 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0004037/0.3756, allocations: 195.3 kB / 0.8081 GB, free: 4.949 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.3756, allocations: 0 / 0.8081 GB, free: 4.949 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3757, allocations: 4 kB / 0.8081 GB, free: 4.945 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.3757, allocations: 0 / 0.8081 GB, free: 4.945 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001006/0.3767, allocations: 466.7 kB / 0.8085 GB, free: 4.441 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.3767, allocations: 8.031 kB / 0.8085 GB, free: 4.434 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.427e-05/0.3768, allocations: 42.73 kB / 0.8086 GB, free: 4.383 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000656/0.3775, allocations: 64.53 kB / 0.8086 GB, free: 4.32 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.3777, allocations: 198.9 kB / 0.8088 GB, free: 4.086 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.3777, allocations: 7.938 kB / 0.8088 GB, free: 4.078 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.753e-05/0.3778, allocations: 8 kB / 0.8088 GB, free: 4.07 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005607/0.3783, allocations: 183.9 kB / 0.809 GB, free: 3.871 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.3784, allocations: 4 kB / 0.809 GB, free: 3.867 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/0.3784, allocations: 0 / 0.809 GB, free: 3.867 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.3784, allocations: 0 / 0.809 GB, free: 3.867 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005174/0.3789, allocations: 151.8 kB / 0.8091 GB, free: 3.719 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.3801, allocations: 0.8129 MB / 0.8099 GB, free: 2.828 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004071/0.3805, allocations: 142.4 kB / 0.8101 GB, free: 2.68 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002582/0.3807, allocations: 84.78 kB / 0.8102 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.3808, allocations: 0 / 0.8102 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.3808, allocations: 38.5 kB / 0.8102 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=8): time 2.675e-06/0.3808, allocations: 7.984 kB / 0.8102 GB, free: 2.539 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8): time 0.001922/0.3828, allocations: 451.2 kB / 0.8106 GB, free: 2.07 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.3828, allocations: 55.34 kB / 0.8107 GB, free: 2.004 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.3829, allocations: 144.2 kB / 0.8108 GB, free: 1.855 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.383, allocations: 25.7 kB / 0.8108 GB, free: 1.824 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.982e-05/0.383, allocations: 112.1 kB / 0.811 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.179e-05/0.3831, allocations: 39.88 kB / 0.811 GB, free: 1.672 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.378e-05/0.3832, allocations: 29.7 kB / 0.811 GB, free: 1.637 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.3833, allocations: 322.8 kB / 0.8113 GB, free: 1.312 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002462/0.3835, allocations: 67.94 kB / 0.8114 GB, free: 1.246 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002639/0.3838, allocations: 104.2 kB / 0.8115 GB, free: 1.129 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005059/0.3843, allocations: 180.4 kB / 0.8117 GB, free: 0.9375 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3843, allocations: 3.938 kB / 0.8117 GB, free: 0.9336 MB / 0.6387 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001093/0.3854, allocations: 274.2 kB / 0.8119 GB, free: 0.6562 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.3855, allocations: 12.06 kB / 0.8119 GB, free: 0.6445 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.3855, allocations: 4 kB / 0.8119 GB, free: 0.6406 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005753/0.3861, allocations: 76.77 kB / 0.812 GB, free: 0.5625 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.3863, allocations: 43.95 kB / 0.8121 GB, free: 0.5195 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3978/0.7842, allocations: 1.643 MB / 0.8137 GB, free: 156 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002877/0.7845, allocations: 30.44 kB / 0.8137 GB, free: 156 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.849e-05/0.7845, allocations: 10.34 kB / 0.8137 GB, free: 156 MB / 0.6387 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.0001218/0.7847, allocations: 121.1 kB / 0.8138 GB, free: 155.9 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.253e-05/0.7847, allocations: 9.422 kB / 0.8138 GB, free: 155.9 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001243/0.786, allocations: 310.8 kB / 0.8141 GB, free: 155.8 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.786, allocations: 3.188 kB / 0.8141 GB, free: 155.8 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.786, allocations: 0.5156 kB / 0.8141 GB, free: 155.8 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.786, allocations: 4.547 kB / 0.8141 GB, free: 155.8 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002613/0.7863, allocations: 239 kB / 0.8144 GB, free: 155.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.7863, allocations: 0 / 0.8144 GB, free: 155.6 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002155/0.7865, allocations: 38.64 kB / 0.8144 GB, free: 155.6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004593/0.787, allocations: 73.72 kB / 0.8145 GB, free: 155.6 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/0.787, allocations: 6.547 kB / 0.8145 GB, free: 155.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00166/0.7887, allocations: 1.685 MB / 0.8161 GB, free: 154.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.7887, allocations: 0.8438 kB / 0.8161 GB, free: 154.2 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.7898, allocations: 387 kB / 0.8165 GB, free: 154.1 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 4.23e-05/0.7898, allocations: 88.11 kB / 0.8166 GB, free: 154 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/0.7898, allocations: 4.953 kB / 0.8166 GB, free: 154 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.7901, allocations: 14.14 kB / 0.8166 GB, free: 154 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.015e-05/0.7902, allocations: 17.62 kB / 0.8166 GB, free: 154 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.7902, allocations: 3.75 kB / 0.8166 GB, free: 154 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 7.952e-05/0.7903, allocations: 116.2 kB / 0.8167 GB, free: 153.9 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7903, allocations: 0.9062 kB / 0.8167 GB, free: 153.9 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003672/0.7906, allocations: 42.5 kB / 0.8168 GB, free: 153.9 MB / 0.6387 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.001346/0.792, allocations: 0.9181 MB / 0.8177 GB, free: 153.2 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0009107/0.7929, allocations: 314.8 kB / 0.818 GB, free: 153.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.7929, allocations: 0 / 0.818 GB, free: 153.1 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000545/0.7935, allocations: 236.7 kB / 0.8182 GB, free: 153 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.7938, allocations: 24.28 kB / 0.8182 GB, free: 153 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004044/0.7979, allocations: 2.047 MB / 0.8202 GB, free: 151.6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/0.7981, allocations: 0.7044 MB / 0.8209 GB, free: 150.9 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001575/0.7983, allocations: 28.03 kB / 0.8209 GB, free: 150.9 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.7984, allocations: 40.23 kB / 0.821 GB, free: 150.9 MB / 0.6387 GB Notification: Performance of SimCode: time 2.4e-07/0.7984, allocations: 4 kB / 0.821 GB, free: 150.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02705/0.8255, allocations: 4.726 MB / 0.8256 GB, free: 150.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.47, allocations: 6.281 kB / 0.8256 GB, free: 150.3 MB / 0.6387 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)