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: translateModel(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00754/0.007539, allocations: 102.7 kB / 15.73 MB, free: 6.488 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.001331/0.001331, allocations: 195.2 kB / 16.68 MB, free: 6.375 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8014/0.8014, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 75.33 kB / 0.5813 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.2003, allocations: 80.2 MB / 0.6597 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003515/0.2038, allocations: 1.64 MB / 0.6613 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1815/0.3854, allocations: 149.7 MB / 0.8074 GB, free: 5.566 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001733/0.3856, allocations: 4 kB / 0.8075 GB, free: 5.562 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0002275/0.3859, allocations: 23.8 kB / 0.8075 GB, free: 5.539 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.000398/0.3863, allocations: 55.64 kB / 0.8075 GB, free: 5.484 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006536/0.387, allocations: 183.3 kB / 0.8077 GB, free: 5.305 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0003032/0.3873, allocations: 151.5 kB / 0.8078 GB, free: 5.156 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/0.3875, allocations: 35.91 kB / 0.8079 GB, free: 5.121 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001445/0.3889, allocations: 195.8 kB / 0.8081 GB, free: 4.957 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.3891, allocations: 63.73 kB / 0.8081 GB, free: 4.895 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.854e-05/0.3891, allocations: 11.94 kB / 0.8081 GB, free: 4.883 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003466/0.3895, allocations: 163.8 kB / 0.8083 GB, free: 4.723 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 5.396e-05/0.3895, allocations: 27.91 kB / 0.8083 GB, free: 4.695 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 7.628e-05/0.3896, allocations: 47.8 kB / 0.8084 GB, free: 4.648 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.000431/0.39, allocations: 191.5 kB / 0.8086 GB, free: 4.461 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.3901, allocations: 0 / 0.8086 GB, free: 4.461 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3901, allocations: 0 / 0.8086 GB, free: 4.461 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.3901, allocations: 0 / 0.8086 GB, free: 4.461 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.001037/0.3911, allocations: 462.9 kB / 0.809 GB, free: 3.961 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/0.3912, allocations: 12.03 kB / 0.809 GB, free: 3.949 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000713/0.3919, allocations: 52.78 kB / 0.8091 GB, free: 3.898 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000341/0.3923, allocations: 206.8 kB / 0.8093 GB, free: 3.656 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.3923, allocations: 8 kB / 0.8093 GB, free: 3.648 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.007e-05/0.3923, allocations: 4 kB / 0.8093 GB, free: 3.645 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005235/0.3929, allocations: 189.7 kB / 0.8094 GB, free: 3.438 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.3929, allocations: 0 / 0.8094 GB, free: 3.438 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/0.3929, allocations: 4 kB / 0.8094 GB, free: 3.434 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.3929, allocations: 4 kB / 0.8095 GB, free: 3.43 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005102/0.3934, allocations: 139.8 kB / 0.8096 GB, free: 3.293 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/0.3948, allocations: 0.8284 MB / 0.8104 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003974/0.3952, allocations: 126.5 kB / 0.8105 GB, free: 2.254 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002434/0.3954, allocations: 84.73 kB / 0.8106 GB, free: 2.168 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.93e-05/0.3955, allocations: 7.984 kB / 0.8106 GB, free: 2.16 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.3955, allocations: 38.55 kB / 0.8106 GB, free: 2.113 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=8): time 1.253e-06/0.3955, allocations: 3.938 kB / 0.8106 GB, free: 2.109 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8): time 0.001831/0.3973, allocations: 451.2 kB / 0.8111 GB, free: 1.641 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.3974, allocations: 59.34 kB / 0.8111 GB, free: 1.57 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.3976, allocations: 144.3 kB / 0.8113 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.3976, allocations: 29.7 kB / 0.8113 GB, free: 1.387 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 8.984e-05/0.3977, allocations: 120 kB / 0.8114 GB, free: 1.266 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.067e-05/0.3977, allocations: 23.66 kB / 0.8114 GB, free: 1.242 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.079e-05/0.3978, allocations: 33.69 kB / 0.8115 GB, free: 1.203 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.3979, allocations: 314.8 kB / 0.8118 GB, free: 0.8867 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002493/0.3982, allocations: 75.92 kB / 0.8118 GB, free: 0.8125 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002424/0.3984, allocations: 96.23 kB / 0.8119 GB, free: 0.7031 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004853/0.3989, allocations: 180.1 kB / 0.8121 GB, free: 0.5117 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.399, allocations: 4 kB / 0.8121 GB, free: 0.5078 MB / 0.6387 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00101/0.4, allocations: 282 kB / 0.8124 GB, free: 228 kB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.4, allocations: 7.938 kB / 0.8124 GB, free: 220 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.4, allocations: 0 / 0.8124 GB, free: 220 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006218/0.4006, allocations: 84.89 kB / 0.8125 GB, free: 132 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/0.4009, allocations: 39.89 kB / 0.8125 GB, free: 92 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4319/0.8328, allocations: 1.64 MB / 0.8141 GB, free: 156.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002933/0.8332, allocations: 25.72 kB / 0.8141 GB, free: 156.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.701e-05/0.8332, allocations: 13.98 kB / 0.8141 GB, free: 156.2 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.0001234/0.8333, allocations: 126.6 kB / 0.8143 GB, free: 156.1 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.62e-05/0.8334, allocations: 8 kB / 0.8143 GB, free: 156.1 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001187/0.8346, allocations: 315.2 kB / 0.8146 GB, free: 156 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.8346, allocations: 1.875 kB / 0.8146 GB, free: 156 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.8346, allocations: 1.125 kB / 0.8146 GB, free: 156 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.8346, allocations: 1.078 kB / 0.8146 GB, free: 156 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002778/0.8349, allocations: 238.7 kB / 0.8148 GB, free: 155.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.8349, allocations: 0 / 0.8148 GB, free: 155.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002115/0.8351, allocations: 34.92 kB / 0.8148 GB, free: 155.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004511/0.8356, allocations: 78.67 kB / 0.8149 GB, free: 155.8 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/0.8356, allocations: 6.578 kB / 0.8149 GB, free: 155.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001627/0.8372, allocations: 1.684 MB / 0.8166 GB, free: 154.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.8373, allocations: 0 / 0.8166 GB, free: 154.4 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.8383, allocations: 378.7 kB / 0.8169 GB, free: 154.2 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 3.304e-05/0.8384, allocations: 87.67 kB / 0.817 GB, free: 154.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.8384, allocations: 5.469 kB / 0.817 GB, free: 154.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.8386, allocations: 21.61 kB / 0.817 GB, free: 154.1 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.057e-05/0.8387, allocations: 18.45 kB / 0.817 GB, free: 154.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.8387, allocations: 4.312 kB / 0.8171 GB, free: 154.1 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 6.764e-05/0.8388, allocations: 106.6 kB / 0.8172 GB, free: 154 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8388, allocations: 0 / 0.8172 GB, free: 154 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003466/0.8391, allocations: 40.09 kB / 0.8172 GB, free: 154 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.0001937/0.8393, allocations: 126.5 kB / 0.8173 GB, free: 153.9 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0008835/0.8402, allocations: 307.8 kB / 0.8176 GB, free: 153.7 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.8402, allocations: 0 / 0.8176 GB, free: 153.7 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000504/0.8407, allocations: 229.5 kB / 0.8178 GB, free: 153.6 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.8411, allocations: 24.77 kB / 0.8178 GB, free: 153.6 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008504/0.8419, allocations: 308.9 kB / 0.8181 GB, free: 153.4 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001781/0.8421, allocations: 0.7044 MB / 0.8188 GB, free: 152.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001264/0.8423, allocations: 28.39 kB / 0.8189 GB, free: 152.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.495e-05/0.8423, allocations: 21.3 kB / 0.8189 GB, free: 152.7 MB / 0.6387 GB Notification: Performance of SimCode: time 3.81e-07/0.8423, allocations: 3.172 kB / 0.8189 GB, free: 152.7 MB / 0.6387 GB Notification: Performance of Templates: time 0.00904/0.8514, allocations: 3.225 MB / 0.822 GB, free: 152.5 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (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 & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)