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.001203/0.001202, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001657/0.001657, allocations: 191.1 kB / 16.25 MB, free: 6.637 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.362/1.362, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7505/0.7505, allocations: 132.2 MB / 422.3 MB, free: 1.887 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 64.45 kB / 0.5013 GB, free: 4.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4854/0.4865, allocations: 80.2 MB / 0.5796 GB, free: 4.523 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003154/0.4897, allocations: 1.695 MB / 0.5812 GB, free: 3.344 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1738/0.6636, allocations: 147.5 MB / 0.7253 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/0.6638, allocations: 0 / 0.7253 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001983/0.664, allocations: 23.86 kB / 0.7254 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002863/0.6643, allocations: 39.7 kB / 0.7254 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004649/0.6648, allocations: 163.5 kB / 0.7255 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.665, allocations: 155.5 kB / 0.7257 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.6651, allocations: 29.95 kB / 0.7257 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001741/0.6669, allocations: 195.3 kB / 0.7259 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001673/0.6671, allocations: 59.75 kB / 0.726 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.6671, allocations: 8 kB / 0.726 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00027/0.6674, allocations: 167.7 kB / 0.7261 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.607e-05/0.6674, allocations: 27.91 kB / 0.7262 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001413/0.6676, allocations: 55.72 kB / 0.7262 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002739/0.6678, allocations: 191.5 kB / 0.7264 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.6679, allocations: 4 kB / 0.7264 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6679, allocations: 0 / 0.7264 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.934e-06/0.6679, allocations: 0 / 0.7264 GB, free: 10.87 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.0009101/0.6688, allocations: 456.4 kB / 0.7268 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.6688, allocations: 8.031 kB / 0.7268 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006385/0.6695, allocations: 56.78 kB / 0.7269 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.6697, allocations: 210.7 kB / 0.7271 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-06/0.6697, allocations: 8 kB / 0.7271 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.6697, allocations: 4 kB / 0.7271 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004507/0.6702, allocations: 185.8 kB / 0.7273 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.6702, allocations: 0 / 0.7273 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.6702, allocations: 0 / 0.7273 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.6702, allocations: 4 kB / 0.7273 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005681/0.6708, allocations: 147.8 kB / 0.7274 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.6719, allocations: 0.8319 MB / 0.7282 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003932/0.6723, allocations: 126.5 kB / 0.7284 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002459/0.6726, allocations: 88.78 kB / 0.7285 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.6726, allocations: 4.141 kB / 0.7285 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.6727, allocations: 38.5 kB / 0.7285 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/0.6727, allocations: 0 / 0.7285 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.001935/0.6746, allocations: 451.2 kB / 0.7289 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.6747, allocations: 59.34 kB / 0.729 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.6748, allocations: 151.9 kB / 0.7291 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.6748, allocations: 25.7 kB / 0.7291 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.309e-05/0.6749, allocations: 99.95 kB / 0.7292 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.876e-05/0.6749, allocations: 31.55 kB / 0.7293 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.799e-05/0.675, allocations: 33.7 kB / 0.7293 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.6751, allocations: 318.8 kB / 0.7296 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002475/0.6754, allocations: 75.92 kB / 0.7297 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002956/0.6757, allocations: 100.2 kB / 0.7298 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004782/0.6762, allocations: 188.1 kB / 0.73 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.6762, allocations: 0 / 0.73 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001058/0.6772, allocations: 274.1 kB / 0.7302 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.6773, allocations: 11.94 kB / 0.7302 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.6773, allocations: 3.938 kB / 0.7302 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006078/0.6779, allocations: 80.89 kB / 0.7303 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.6781, allocations: 39.89 kB / 0.7303 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002307/0.6804, allocations: 1.662 MB / 0.732 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002237/0.6807, allocations: 19.89 kB / 0.732 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.6807, allocations: 7.984 kB / 0.732 GB, free: 4.668 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.0001187/0.6808, allocations: 123.3 kB / 0.7321 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.028e-05/0.6809, allocations: 11.84 kB / 0.7321 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.682, allocations: 318.9 kB / 0.7324 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.682, allocations: 0 / 0.7324 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.682, allocations: 4 kB / 0.7324 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.682, allocations: 0 / 0.7324 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002533/0.6823, allocations: 237.5 kB / 0.7327 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.6823, allocations: 7.938 kB / 0.7327 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002135/0.6825, allocations: 27.97 kB / 0.7327 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000458/0.683, allocations: 76.77 kB / 0.7328 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.683, allocations: 7.938 kB / 0.7328 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001984/0.685, allocations: 1.678 MB / 0.7344 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.685, allocations: 0 / 0.7344 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.686, allocations: 379.3 kB / 0.7348 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.111e-05/0.6861, allocations: 92.92 kB / 0.7349 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/0.6861, allocations: 3.984 kB / 0.7349 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.6864, allocations: 23.92 kB / 0.7349 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.016e-05/0.6864, allocations: 7.984 kB / 0.7349 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.6865, allocations: 7.984 kB / 0.7349 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.744e-05/0.6865, allocations: 113.5 kB / 0.735 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6865, allocations: 0 / 0.735 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003226/0.6869, allocations: 44 kB / 0.7351 GB, free: 1.285 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.0001678/0.687, allocations: 115.1 kB / 0.7352 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009565/0.688, allocations: 314.7 kB / 0.7355 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.688, allocations: 0 / 0.7355 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005715/0.6886, allocations: 238.4 kB / 0.7357 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.6889, allocations: 36.47 kB / 0.7357 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007572/0.6897, allocations: 327.3 kB / 0.736 GB, free: 212 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.69, allocations: 0.7084 MB / 0.7367 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001665/0.6901, allocations: 24.86 kB / 0.7368 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.269e-05/0.6902, allocations: 23.42 kB / 0.7368 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of SimCode: time 2.7e-07/0.6902, allocations: 0 / 0.7368 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of Templates: time 0.006547/0.6968, allocations: 3.083 MB / 0.7398 GB, free: 12.38 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)