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.0009336/0.0009335, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.005109/0.005109, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.489/1.489, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.784/0.784, allocations: 132.3 MB / 423.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003327/0.0003327, allocations: 8.562 kB / 0.504 GB, free: 3.922 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4672/0.4675, allocations: 81.58 MB / 0.5837 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.001787/0.4694, allocations: 1.356 MB / 0.585 GB, free: 3.059 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1787/0.648, allocations: 145.8 MB / 0.7274 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.6482, allocations: 0 / 0.7274 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00017/0.6484, allocations: 19.86 kB / 0.7274 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002616/0.6487, allocations: 47.69 kB / 0.7275 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004273/0.6491, allocations: 155.5 kB / 0.7276 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002003/0.6493, allocations: 151.5 kB / 0.7278 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001749/0.6495, allocations: 29.95 kB / 0.7278 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001966/0.6515, allocations: 166.5 kB / 0.7279 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.6516, allocations: 47.83 kB / 0.728 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.6517, allocations: 4 kB / 0.728 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003521/0.652, allocations: 171.6 kB / 0.7282 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.209e-05/0.6521, allocations: 19.91 kB / 0.7282 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.791e-05/0.6522, allocations: 69.44 kB / 0.7282 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003229/0.6525, allocations: 203.4 kB / 0.7284 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.6525, allocations: 0 / 0.7284 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.685e-06/0.6525, allocations: 0 / 0.7284 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.6525, allocations: 0 / 0.7284 GB, free: 11.68 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.0008832/0.6534, allocations: 451.1 kB / 0.7289 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.6535, allocations: 8.031 kB / 0.7289 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006274/0.6541, allocations: 56.78 kB / 0.7289 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.6543, allocations: 194.8 kB / 0.7291 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.6544, allocations: 11.95 kB / 0.7291 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.076e-05/0.6544, allocations: 8 kB / 0.7291 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004883/0.6549, allocations: 195.1 kB / 0.7293 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.6549, allocations: 0 / 0.7293 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.462e-05/0.655, allocations: 4 kB / 0.7293 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.655, allocations: 7.938 kB / 0.7293 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005314/0.6555, allocations: 167.8 kB / 0.7295 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.6567, allocations: 0.8281 MB / 0.7303 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004239/0.6572, allocations: 146.4 kB / 0.7304 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002839/0.6574, allocations: 96.78 kB / 0.7305 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.6575, allocations: 0 / 0.7305 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.6575, allocations: 34.56 kB / 0.7306 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.693e-06/0.6575, allocations: 0 / 0.7306 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.002021/0.6595, allocations: 495.3 kB / 0.731 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.6596, allocations: 55.41 kB / 0.7311 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.6597, allocations: 151.3 kB / 0.7312 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.6598, allocations: 25.7 kB / 0.7313 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.398e-05/0.6598, allocations: 107.9 kB / 0.7314 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.6599, allocations: 23.64 kB / 0.7314 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.729e-05/0.6599, allocations: 17.72 kB / 0.7314 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.66, allocations: 318.8 kB / 0.7317 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002765/0.6603, allocations: 83.94 kB / 0.7318 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002912/0.6606, allocations: 116.2 kB / 0.7319 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005449/0.6612, allocations: 200.4 kB / 0.7321 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.6612, allocations: 0 / 0.7321 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00108/0.6623, allocations: 302.1 kB / 0.7324 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.6623, allocations: 11.94 kB / 0.7324 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.6623, allocations: 0 / 0.7324 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006275/0.663, allocations: 88.89 kB / 0.7325 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.6632, allocations: 43.83 kB / 0.7325 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002211/0.6654, allocations: 1.56 MB / 0.734 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002386/0.6657, allocations: 31.95 kB / 0.7341 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.6657, allocations: 4 kB / 0.7341 GB, free: 5.449 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.0001372/0.6658, allocations: 127.2 kB / 0.7342 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.071e-05/0.6659, allocations: 11.91 kB / 0.7342 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001141/0.667, allocations: 338.9 kB / 0.7345 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.6671, allocations: 0 / 0.7345 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.6671, allocations: 0 / 0.7345 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.6671, allocations: 11.92 kB / 0.7345 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002978/0.6674, allocations: 225.5 kB / 0.7348 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.6674, allocations: 0 / 0.7348 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002094/0.6676, allocations: 43.95 kB / 0.7348 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005053/0.6681, allocations: 80.77 kB / 0.7349 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.6681, allocations: 7.984 kB / 0.7349 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001928/0.6701, allocations: 1.575 MB / 0.7364 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.6701, allocations: 0 / 0.7364 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.6712, allocations: 404 kB / 0.7368 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-05/0.6712, allocations: 85.02 kB / 0.7369 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.6713, allocations: 0 / 0.7369 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.6715, allocations: 27.97 kB / 0.7369 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.38e-05/0.6716, allocations: 11.98 kB / 0.7369 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.6716, allocations: 11.98 kB / 0.7369 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.513e-05/0.6717, allocations: 109.3 kB / 0.737 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6717, allocations: 0 / 0.737 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003499/0.672, allocations: 44 kB / 0.7371 GB, free: 2.121 MB / 0.5606 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.0002117/0.6723, allocations: 111.2 kB / 0.7372 GB, free: 2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009481/0.6732, allocations: 326.6 kB / 0.7375 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.6732, allocations: 4.125 kB / 0.7375 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005464/0.6738, allocations: 246.5 kB / 0.7377 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.6742, allocations: 42.3 kB / 0.7378 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008148/0.675, allocations: 337.1 kB / 0.7381 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.6753, allocations: 0.7088 MB / 0.7388 GB, free: 296 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001681/0.6755, allocations: 20.88 kB / 0.7388 GB, free: 272 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.956e-05/0.6755, allocations: 15.44 kB / 0.7388 GB, free: 260 kB / 0.5606 GB Notification: Performance of SimCode: time 6.41e-07/0.6755, allocations: 0 / 0.7388 GB, free: 260 kB / 0.5606 GB Notification: Performance of Templates: time 0.006448/0.682, allocations: 2.91 MB / 0.7417 GB, free: 13.37 MB / 0.5762 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)