Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001528/0.001528, 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.00162/0.00162, allocations: 192.9 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.361/1.361, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9557/0.9557, allocations: 135.6 MB / 425.6 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 72.47 kB / 0.5054 GB, free: 5.199 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1727, allocations: 81 MB / 0.5845 GB, free: 4.328 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003206/0.1759, allocations: 1.935 MB / 0.5864 GB, free: 2.375 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3824/0.5583, allocations: 153.2 MB / 0.736 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001727/0.5585, allocations: 2.125 kB / 0.736 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001614/0.5587, allocations: 20.98 kB / 0.736 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000286/0.559, allocations: 60.69 kB / 0.7361 GB, free: 12 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007313/0.5598, allocations: 235.1 kB / 0.7363 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002645/0.56, allocations: 260.1 kB / 0.7365 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.5602, allocations: 64.41 kB / 0.7366 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002031/0.5622, allocations: 242.8 kB / 0.7368 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.5624, allocations: 93.52 kB / 0.7369 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.425e-05/0.5624, allocations: 14.62 kB / 0.7369 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003407/0.5628, allocations: 186.6 kB / 0.7371 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.291e-05/0.5628, allocations: 41.52 kB / 0.7371 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.958e-05/0.563, allocations: 93.83 kB / 0.7372 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003958/0.5634, allocations: 276.4 kB / 0.7375 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.5634, allocations: 0.875 kB / 0.7375 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5634, allocations: 0.8438 kB / 0.7375 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.5634, allocations: 0 / 0.7375 GB, free: 11.39 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009766/0.5644, allocations: 0.506 MB / 0.738 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.5644, allocations: 10.25 kB / 0.738 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007964/0.5652, allocations: 88 kB / 0.7381 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/0.5655, allocations: 222.2 kB / 0.7383 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.614e-05/0.5656, allocations: 40.02 kB / 0.7383 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.555e-05/0.5656, allocations: 20.38 kB / 0.7384 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005194/0.5661, allocations: 259.6 kB / 0.7386 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.5662, allocations: 3.938 kB / 0.7386 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.959e-05/0.5662, allocations: 14.38 kB / 0.7386 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.5662, allocations: 7.703 kB / 0.7386 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004183/0.5666, allocations: 168.3 kB / 0.7388 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001663/0.5683, allocations: 1.173 MB / 0.7399 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006892/0.569, allocations: 203.4 kB / 0.7401 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.5692, allocations: 74.64 kB / 0.7402 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.5692, allocations: 0 / 0.7402 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.5692, allocations: 36.09 kB / 0.7402 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 9.92e-07/0.5692, allocations: 0 / 0.7402 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.002578/0.5718, allocations: 0.624 MB / 0.7408 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.5719, allocations: 56.45 kB / 0.7409 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/0.5721, allocations: 201.8 kB / 0.7411 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.249e-05/0.5722, allocations: 30.67 kB / 0.7411 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.661e-05/0.5723, allocations: 132.4 kB / 0.7412 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.114e-05/0.5723, allocations: 46.3 kB / 0.7413 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.824e-05/0.5724, allocations: 41.73 kB / 0.7413 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.5726, allocations: 331.3 kB / 0.7416 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002123/0.5728, allocations: 74.8 kB / 0.7417 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.573, allocations: 124.3 kB / 0.7418 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000397/0.5734, allocations: 209.4 kB / 0.742 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5734, allocations: 0 / 0.742 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001383/0.5748, allocations: 374.8 kB / 0.7424 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.5749, allocations: 6.219 kB / 0.7424 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.5749, allocations: 3.969 kB / 0.7424 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001028/0.5759, allocations: 162.7 kB / 0.7426 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001974/0.5761, allocations: 35.59 kB / 0.7426 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003993/0.5801, allocations: 3.26 MB / 0.7458 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003397/0.5805, allocations: 34.7 kB / 0.7458 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.642e-05/0.5805, allocations: 19.8 kB / 0.7458 GB, free: 4.645 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001474/0.5807, allocations: 133.8 kB / 0.746 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.204e-05/0.5807, allocations: 15.56 kB / 0.746 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.582, allocations: 369.8 kB / 0.7463 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.5821, allocations: 1.312 kB / 0.7463 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-06/0.5821, allocations: 1.125 kB / 0.7463 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.5821, allocations: 3.984 kB / 0.7463 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003363/0.5824, allocations: 268.8 kB / 0.7466 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.5824, allocations: 4 kB / 0.7466 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001283/0.5826, allocations: 19.89 kB / 0.7466 GB, free: 4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008079/0.5834, allocations: 148.2 kB / 0.7467 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.5834, allocations: 2.812 kB / 0.7468 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003727/0.5871, allocations: 3.296 MB / 0.75 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5871, allocations: 0 / 0.75 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/0.5884, allocations: 432.5 kB / 0.7504 GB, free: 432 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.5885, allocations: 112.2 kB / 0.7505 GB, free: 308 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.294e-05/0.5885, allocations: 2.594 kB / 0.7505 GB, free: 308 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002779/0.5888, allocations: 23.67 kB / 0.7505 GB, free: 292 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.036e-05/0.5889, allocations: 20.03 kB / 0.7505 GB, free: 280 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.5889, allocations: 2.531 kB / 0.7505 GB, free: 280 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000159/0.5891, allocations: 151.4 kB / 0.7507 GB, free: 168 kB / 0.5606 GB Notification: Performance of sort global known variables: time 2.31e-07/0.5891, allocations: 0 / 0.7507 GB, free: 168 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003876/0.5895, allocations: 73.81 kB / 0.7508 GB, free: 152 kB / 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001897/0.5897, allocations: 117.4 kB / 0.7509 GB, free: 52 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001042/0.5907, allocations: 455.1 kB / 0.7513 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5907, allocations: 0 / 0.7513 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006573/0.5914, allocations: 366.9 kB / 0.7516 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004036/0.5918, allocations: 53.19 kB / 0.7517 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008603/0.5927, allocations: 470 kB / 0.7521 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.593, allocations: 0.733 MB / 0.7529 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001856/0.5932, allocations: 34.41 kB / 0.7529 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.917e-05/0.5933, allocations: 21.14 kB / 0.7529 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.5933, allocations: 0 / 0.7529 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.009792/0.6031, allocations: 5.25 MB / 0.758 GB, free: 9.82 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)