Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001181/0.001181, allocations: 109.3 kB / 16.41 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.001161/0.001161, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7925/0.7925, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 68.98 kB / 0.5863 GB, free: 21.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.14, allocations: 80.93 MB / 0.6653 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002586/0.1427, allocations: 1.647 MB / 0.6669 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.535/0.6777, allocations: 149.7 MB / 0.8131 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.6778, allocations: 0 / 0.8131 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000177/0.678, allocations: 24.3 kB / 0.8131 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002628/0.6783, allocations: 48.91 kB / 0.8132 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004844/0.6788, allocations: 188.7 kB / 0.8133 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.679, allocations: 155.7 kB / 0.8135 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.6791, allocations: 37.36 kB / 0.8135 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001221/0.6804, allocations: 180.9 kB / 0.8137 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.6805, allocations: 64.22 kB / 0.8137 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.032e-05/0.6805, allocations: 8.969 kB / 0.8138 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003321/0.6809, allocations: 162.8 kB / 0.8139 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.987e-05/0.6809, allocations: 27.64 kB / 0.8139 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 7.023e-05/0.681, allocations: 53.44 kB / 0.814 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003471/0.6814, allocations: 192.8 kB / 0.8142 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.6814, allocations: 1.312 kB / 0.8142 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6814, allocations: 1.062 kB / 0.8142 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.6814, allocations: 0 / 0.8142 GB, free: 11.57 MB / 0.5919 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.000875/0.6823, allocations: 460.3 kB / 0.8146 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.6823, allocations: 9.641 kB / 0.8146 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006357/0.683, allocations: 55.39 kB / 0.8147 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.6832, allocations: 202 kB / 0.8149 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.6832, allocations: 8.094 kB / 0.8149 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.6833, allocations: 10.31 kB / 0.8149 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004517/0.6837, allocations: 189.1 kB / 0.8151 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.6837, allocations: 2.344 kB / 0.8151 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.129e-05/0.6838, allocations: 1.469 kB / 0.8151 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.6838, allocations: 2.438 kB / 0.8151 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005044/0.6843, allocations: 144.2 kB / 0.8152 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.6854, allocations: 0.8233 MB / 0.816 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003977/0.6858, allocations: 132.6 kB / 0.8161 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002531/0.6861, allocations: 80.16 kB / 0.8162 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.6861, allocations: 1.375 kB / 0.8162 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.6861, allocations: 35.88 kB / 0.8163 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.482e-06/0.6861, allocations: 4 kB / 0.8163 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.001971/0.6881, allocations: 457 kB / 0.8167 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/0.6882, allocations: 52.78 kB / 0.8167 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.6883, allocations: 142.7 kB / 0.8169 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.6884, allocations: 27.08 kB / 0.8169 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.681e-05/0.6884, allocations: 114.2 kB / 0.817 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/0.6885, allocations: 31.27 kB / 0.817 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.596e-05/0.6885, allocations: 32.83 kB / 0.8171 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.6887, allocations: 320.9 kB / 0.8174 GB, free: 9.07 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002495/0.6889, allocations: 68.75 kB / 0.8174 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002735/0.6892, allocations: 104.8 kB / 0.8175 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004998/0.6897, allocations: 179.8 kB / 0.8177 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.6897, allocations: 2.188 kB / 0.8177 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001022/0.6908, allocations: 275.5 kB / 0.818 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.6908, allocations: 5.281 kB / 0.818 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.6908, allocations: 6.281 kB / 0.818 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005869/0.6914, allocations: 88.25 kB / 0.8181 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/0.6916, allocations: 41.67 kB / 0.8181 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002069/0.6937, allocations: 1.651 MB / 0.8197 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.6939, allocations: 27.44 kB / 0.8198 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.694, allocations: 2.906 kB / 0.8198 GB, free: 7.238 MB / 0.5919 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.0001152/0.6941, allocations: 123.8 kB / 0.8199 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.299e-05/0.6941, allocations: 17.08 kB / 0.8199 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001037/0.6952, allocations: 316.5 kB / 0.8202 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.6952, allocations: 6.844 kB / 0.8202 GB, free: 6.973 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.6952, allocations: 0.75 kB / 0.8202 GB, free: 6.973 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.6952, allocations: 192 / 0.8202 GB, free: 6.973 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.6955, allocations: 239.2 kB / 0.8204 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.6955, allocations: 7.922 kB / 0.8204 GB, free: 6.738 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002122/0.6957, allocations: 43.08 kB / 0.8205 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004276/0.6961, allocations: 73.56 kB / 0.8205 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.6962, allocations: 2.094 kB / 0.8206 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001872/0.6981, allocations: 1.679 MB / 0.8222 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.6981, allocations: 4.062 kB / 0.8222 GB, free: 5.121 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.6991, allocations: 384.5 kB / 0.8226 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.755e-05/0.6992, allocations: 83.61 kB / 0.8226 GB, free: 4.754 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/0.6992, allocations: 0 / 0.8226 GB, free: 4.754 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.6994, allocations: 16.14 kB / 0.8227 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.383e-05/0.6995, allocations: 27.22 kB / 0.8227 GB, free: 4.727 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.6995, allocations: 2.719 kB / 0.8227 GB, free: 4.727 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.599e-05/0.6996, allocations: 109 kB / 0.8228 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6996, allocations: 0 / 0.8228 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003561/0.7, allocations: 40.38 kB / 0.8228 GB, free: 4.633 MB / 0.5919 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.0002047/0.7002, allocations: 112.5 kB / 0.8229 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009214/0.7011, allocations: 313.7 kB / 0.8232 GB, free: 4.328 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.7012, allocations: 256 / 0.8232 GB, free: 4.328 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005363/0.7017, allocations: 222.6 kB / 0.8234 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.7021, allocations: 34.12 kB / 0.8235 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008266/0.7029, allocations: 338.6 kB / 0.8238 GB, free: 3.891 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.7032, allocations: 0.708 MB / 0.8245 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.819e-05/0.7033, allocations: 18.64 kB / 0.8245 GB, free: 3.168 MB / 0.5919 GB Notification: Performance of SimCode: time 2.3e-07/0.7033, allocations: 0 / 0.8245 GB, free: 3.168 MB / 0.5919 GB Notification: Performance of Templates: time 0.004855/0.7081, allocations: 2.737 MB / 0.8272 GB, free: 1.734 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)