Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.PsychrometricData.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Media.Examples.PsychrometricData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.PsychrometricData") translateModel(Modelica.Media.Examples.PsychrometricData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.PsychrometricData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008363/0.0008365, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008606/0.0008606, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.376/1.376, allocations: 205.4 MB / 222.1 MB, free: 5.523 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007135/0.0007136, allocations: 8 kB / 278.9 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2294, allocations: 47.58 MB / 326.5 MB, free: 1.457 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3271/0.5565, allocations: 138.9 MB / 465.3 MB, free: 1.758 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00139/0.558, allocations: 0.9095 MB / 466.2 MB, free: 1.734 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.5581, allocations: 3.719 kB / 466.3 MB, free: 1.734 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002979/0.5584, allocations: 54.55 kB / 466.3 MB, free: 1.734 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006164/0.559, allocations: 278.4 kB / 466.6 MB, free: 1.719 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002814/0.5618, allocations: 1.021 MB / 467.6 MB, free: 1.668 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004227/0.5661, allocations: 5.989 MB / 473.6 MB, free: 1.645 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002875/0.5664, allocations: 259.5 kB / 473.8 MB, free: 1.531 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002432/0.5688, allocations: 1.918 MB / 475.8 MB, free: 1.531 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002509/0.5713, allocations: 2.054 MB / 477.8 MB, free: 1.508 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003511/0.5717, allocations: 141.6 kB / 478 MB, free: 1.508 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00288/0.5746, allocations: 1.546 MB / 479.5 MB, free: 1.492 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009293/0.5755, allocations: 1.093 MB / 480.6 MB, free: 1.488 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006627/0.5762, allocations: 0.4972 MB / 481.1 MB, free: 1.457 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002826/0.579, allocations: 3.291 MB / 484.4 MB, free: 1.094 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.579, allocations: 0 / 484.4 MB, free: 1.094 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.579, allocations: 0 / 484.4 MB, free: 1.094 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.037e-05/0.5791, allocations: 3.844 kB / 484.4 MB, free: 1.094 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 621 * Number of variables: 621 Notification: Performance of Generate backend data structure: time 0.007114/0.5862, allocations: 2.928 MB / 487.3 MB, free: 15.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.5863, allocations: 12.14 kB / 487.3 MB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001786/0.5881, allocations: 328.5 kB / 487.6 MB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002287/0.5904, allocations: 1.309 MB / 489 MB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.5905, allocations: 183.8 kB / 489.1 MB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003524/0.5908, allocations: 242.3 kB / 489.4 MB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006027/0.5969, allocations: 3.804 MB / 493.2 MB, free: 13.63 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.012e-05/0.5969, allocations: 0 / 493.2 MB, free: 13.63 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003399/0.5973, allocations: 113.4 kB / 493.3 MB, free: 13.63 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.473e-05/0.5973, allocations: 60.16 kB / 493.3 MB, free: 13.63 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008095/0.6054, allocations: 5.967 MB / 499.3 MB, free: 12.19 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01793/0.6234, allocations: 11.18 MB / 0.4985 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006415/0.6298, allocations: 5.015 MB / 0.5034 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003191/0.633, allocations: 2.395 MB / 0.5058 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005862/0.6336, allocations: 435.8 kB / 0.5062 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.436e-05/0.6337, allocations: 94.06 kB / 0.5063 GB, free: 13.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=390): time 5.821e-06/0.6337, allocations: 0 / 0.5063 GB, free: 13.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=390): time 0.008765/0.6425, allocations: 5.78 MB / 0.5119 GB, free: 9.363 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.354e-05/0.6426, allocations: 97.09 kB / 0.512 GB, free: 9.258 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.6437, allocations: 0.8671 MB / 0.5129 GB, free: 8.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003054/0.644, allocations: 102.1 kB / 0.513 GB, free: 8.516 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003203/0.6443, allocations: 0.5179 MB / 0.5135 GB, free: 8.125 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009496/0.6453, allocations: 1.305 MB / 0.5147 GB, free: 7.004 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001906/0.6455, allocations: 72 kB / 0.5148 GB, free: 6.988 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002441/0.6457, allocations: 0.5032 MB / 0.5153 GB, free: 6.551 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002595/0.6483, allocations: 1.729 MB / 0.517 GB, free: 5.234 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002893/0.6512, allocations: 2.242 MB / 0.5192 GB, free: 3.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00298/0.6542, allocations: 2.104 MB / 0.5212 GB, free: 1.797 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.838e-06/0.6542, allocations: 4 kB / 0.5212 GB, free: 1.793 MB / 414.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.006853/0.6611, allocations: 4.556 MB / 0.5257 GB, free: 14.35 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.6611, allocations: 8 kB / 0.5257 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.143e-05/0.6612, allocations: 12 kB / 0.5257 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.737e-05/0.6612, allocations: 28 kB / 0.5257 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003527/0.6647, allocations: 0.794 MB / 0.5265 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-05/0.6648, allocations: 37.05 kB / 0.5265 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002387/0.6672, allocations: 428.5 kB / 0.5269 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002855/0.6675, allocations: 147.9 kB / 0.5271 GB, free: 13.07 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 11 (fog[1],fog[2],fog[3],fog[4],fog[5],fog[6],fog[7],fog[8],fog[9],fog[10],fog[11]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (450): * Single equations (assignments): 450 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001306/0.6688, allocations: 0.7596 MB / 0.5278 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004651/0.6693, allocations: 205.8 kB / 0.528 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008875/0.6782, allocations: 5.18 MB / 0.5331 GB, free: 8.543 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.228e-05/0.6782, allocations: 46.53 kB / 0.5331 GB, free: 8.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.6782, allocations: 0 / 0.5331 GB, free: 8.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.793e-05/0.6783, allocations: 22.66 kB / 0.5331 GB, free: 8.48 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00483/0.6831, allocations: 2.825 MB / 0.5359 GB, free: 6.309 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/0.6832, allocations: 0 / 0.5359 GB, free: 6.309 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003235/0.6864, allocations: 0.7269 MB / 0.5366 GB, free: 5.648 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.097e-05/0.6864, allocations: 20 kB / 0.5366 GB, free: 5.629 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002013/0.6866, allocations: 84.28 kB / 0.5367 GB, free: 5.598 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.787e-05/0.6867, allocations: 16 kB / 0.5367 GB, free: 5.582 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.6867, allocations: 3.984 kB / 0.5367 GB, free: 5.578 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009693/0.6964, allocations: 7.186 MB / 0.5438 GB, free: 180 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006602/0.6971, allocations: 356.2 kB / 0.5441 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003247/0.6974, allocations: 79.81 kB / 0.5442 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002602/0.7, allocations: 299 kB / 0.5445 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004787/0.7005, allocations: 310.5 kB / 0.5447 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003253/0.7008, allocations: 184.9 kB / 0.5449 GB, free: 15.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008133/0.7017, allocations: 0.6769 MB / 0.5456 GB, free: 14.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.7017, allocations: 0 / 0.5456 GB, free: 14.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00231/0.704, allocations: 1.085 MB / 0.5466 GB, free: 13.66 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 17 (x,hx_h[1],hx_h[2],hx_h[3],hx_h[4],hx_h[5],hx_h[6],hx_h[7],hx_h[8],hx_h[9],hx_h[10],hx_h[11],hx_h[12],hx_h[13],hx_h[14],hx_h[15],hx_h[16]) * Number of discrete variables: 11 (fog[1],fog[2],fog[3],fog[4],fog[5],fog[6],fog[7],fog[8],fog[9],fog[10],fog[11]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (431): * Single equations (assignments): 431 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001021/0.705, allocations: 464.4 kB / 0.5471 GB, free: 13.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006282/0.7113, allocations: 4.253 MB / 0.5512 GB, free: 10.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/0.7113, allocations: 9.375 kB / 0.5513 GB, free: 10.03 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002918/0.7142, allocations: 2.253 MB / 0.5535 GB, free: 8.355 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004807/0.7191, allocations: 1.25 MB / 0.5547 GB, free: 7.352 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/0.7306, allocations: 7.771 MB / 0.5623 GB, free: 148 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001297/0.7319, allocations: 1.849 MB / 0.5641 GB, free: 14.34 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005787/0.7377, allocations: 1.768 MB / 0.5658 GB, free: 12.56 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001073/0.7388, allocations: 288 kB / 0.5661 GB, free: 12.3 MB / 462.1 MB Notification: Performance of SimCode: time 7.52e-07/0.7388, allocations: 0 / 0.5661 GB, free: 12.3 MB / 462.1 MB Notification: Performance of Templates: time 0.08174/0.8206, allocations: 58.53 MB / 0.6232 GB, free: 1.879 MB / 0.4981 GB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.PsychrometricData.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_3.2.1_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.PsychrometricData.pipe 2>&1)