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.001125/0.001125, allocations: 113.9 kB / 16.37 MB, free: 6.34 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.001123/0.001123, allocations: 186 kB / 17.3 MB, free: 5.898 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.179/1.179, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7108/0.7108, allocations: 135.1 MB / 426.3 MB, free: 4.168 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 67.11 kB / 0.5862 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1212, allocations: 80.92 MB / 0.6652 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002287/0.1236, allocations: 1.648 MB / 0.6668 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4086/0.5322, allocations: 149.7 MB / 0.813 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.295e-05/0.5323, allocations: 0 / 0.813 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001421/0.5325, allocations: 26.3 kB / 0.813 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.000196/0.5327, allocations: 45.19 kB / 0.8131 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.000326/0.533, allocations: 190.7 kB / 0.8133 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.5332, allocations: 153 kB / 0.8134 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.5333, allocations: 38.47 kB / 0.8135 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009769/0.5343, allocations: 181.7 kB / 0.8136 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 9.222e-05/0.5344, allocations: 64.23 kB / 0.8137 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.5344, allocations: 10.19 kB / 0.8137 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002445/0.5347, allocations: 158 kB / 0.8139 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.258e-05/0.5347, allocations: 32.78 kB / 0.8139 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 5.528e-05/0.5348, allocations: 44.75 kB / 0.8139 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002615/0.535, allocations: 199.9 kB / 0.8141 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.535, allocations: 0 / 0.8141 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.142e-06/0.535, allocations: 0 / 0.8141 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.5351, allocations: 1.594 kB / 0.8141 GB, free: 11.08 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.0007293/0.5358, allocations: 457.3 kB / 0.8146 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.5358, allocations: 10.98 kB / 0.8146 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005666/0.5364, allocations: 55.44 kB / 0.8146 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.5366, allocations: 203.8 kB / 0.8148 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.5366, allocations: 7.531 kB / 0.8148 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.5366, allocations: 8.656 kB / 0.8148 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003831/0.537, allocations: 189.7 kB / 0.815 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.537, allocations: 0 / 0.815 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.5371, allocations: 1.406 kB / 0.815 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.5371, allocations: 2.656 kB / 0.815 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004528/0.5375, allocations: 147.7 kB / 0.8152 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009559/0.5385, allocations: 0.8152 MB / 0.8159 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003671/0.5389, allocations: 139.2 kB / 0.8161 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002265/0.5391, allocations: 80.59 kB / 0.8162 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.5391, allocations: 1.375 kB / 0.8162 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.5392, allocations: 39.12 kB / 0.8162 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.5392, allocations: 3.938 kB / 0.8162 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.001742/0.5409, allocations: 458.5 kB / 0.8166 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.541, allocations: 52.75 kB / 0.8167 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.5411, allocations: 144 kB / 0.8168 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.5411, allocations: 25.7 kB / 0.8168 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.395e-05/0.5412, allocations: 111.1 kB / 0.817 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.5412, allocations: 38.38 kB / 0.817 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.748e-05/0.5413, allocations: 26.48 kB / 0.817 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.436e-05/0.5414, allocations: 324.3 kB / 0.8173 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/0.5416, allocations: 64.19 kB / 0.8174 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002311/0.5418, allocations: 106.7 kB / 0.8175 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000448/0.5423, allocations: 180.2 kB / 0.8177 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.5423, allocations: 0 / 0.8177 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009343/0.5432, allocations: 273.5 kB / 0.8179 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.5433, allocations: 6.281 kB / 0.8179 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.5433, allocations: 10.31 kB / 0.8179 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005276/0.5438, allocations: 84.03 kB / 0.818 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/0.544, allocations: 45.7 kB / 0.8181 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001837/0.5459, allocations: 1.652 MB / 0.8197 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/0.5461, allocations: 24.31 kB / 0.8197 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.5461, allocations: 7.812 kB / 0.8197 GB, free: 6.766 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 9.925e-05/0.5462, allocations: 127.1 kB / 0.8198 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.885e-05/0.5463, allocations: 10.31 kB / 0.8198 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009813/0.5473, allocations: 310.2 kB / 0.8201 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.5473, allocations: 6.031 kB / 0.8201 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.5473, allocations: 4 kB / 0.8201 GB, free: 6.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.5473, allocations: 4.188 kB / 0.8201 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002349/0.5475, allocations: 235.1 kB / 0.8204 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.5475, allocations: 6.734 kB / 0.8204 GB, free: 6.27 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.5477, allocations: 31.7 kB / 0.8204 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003915/0.5481, allocations: 73.47 kB / 0.8205 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.5482, allocations: 7.172 kB / 0.8205 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001592/0.5498, allocations: 1.677 MB / 0.8221 GB, free: 4.738 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.5498, allocations: 7.875 kB / 0.8221 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009131/0.5507, allocations: 379.2 kB / 0.8225 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.56e-05/0.5507, allocations: 86.36 kB / 0.8226 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.5508, allocations: 0 / 0.8226 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.551, allocations: 19.36 kB / 0.8226 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.315e-05/0.551, allocations: 27.28 kB / 0.8226 GB, free: 4.395 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.551, allocations: 2.656 kB / 0.8226 GB, free: 4.395 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.971e-05/0.5511, allocations: 109.6 kB / 0.8227 GB, free: 4.312 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.5511, allocations: 0 / 0.8227 GB, free: 4.312 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002989/0.5514, allocations: 40.94 kB / 0.8228 GB, free: 4.312 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.0001488/0.5516, allocations: 116.9 kB / 0.8229 GB, free: 4.211 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007974/0.5524, allocations: 307 kB / 0.8232 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.5524, allocations: 4 kB / 0.8232 GB, free: 4.043 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004786/0.5529, allocations: 229.8 kB / 0.8234 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000294/0.5532, allocations: 42.11 kB / 0.8234 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007001/0.5539, allocations: 326.4 kB / 0.8237 GB, free: 3.672 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.5541, allocations: 0.7056 MB / 0.8244 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.642e-05/0.5542, allocations: 20.2 kB / 0.8245 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of SimCode: time 2.3e-07/0.5542, allocations: 0 / 0.8245 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of Templates: time 0.003965/0.5582, allocations: 2.718 MB / 0.8271 GB, free: 1.531 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)