Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Media.Examples.PsychrometricData") translateModel(Modelica.Media.Examples.PsychrometricData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.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.008707/0.008707, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001678/0.001678, allocations: 197.2 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.385/1.385, allocations: 205.1 MB / 222.5 MB, free: 4.48 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.001287/0.001287, allocations: 54.69 kB / 326.5 MB, free: 14.36 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09562/0.09692, allocations: 46.62 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.4018/0.4987, allocations: 153.1 MB / 0.514 GB, free: 3.086 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001625/0.5004, allocations: 0.9488 MB / 0.5149 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.5005, allocations: 5.875 kB / 0.5149 GB, free: 2.574 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004139/0.501, allocations: 82.12 kB / 0.515 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006478/0.5017, allocations: 293.7 kB / 0.5152 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003537/0.5052, allocations: 1.31 MB / 0.5165 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006058/0.5113, allocations: 5.602 MB / 0.522 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005495/0.5119, allocations: 264.9 kB / 0.5222 GB, free: 14.15 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005618/0.5175, allocations: 2.234 MB / 0.5244 GB, free: 11.91 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004607/0.5222, allocations: 1.971 MB / 0.5264 GB, free: 9.938 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001008/0.5232, allocations: 236 kB / 0.5266 GB, free: 9.707 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005495/0.5287, allocations: 1.932 MB / 0.5285 GB, free: 7.773 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002067/0.5308, allocations: 1.228 MB / 0.5297 GB, free: 6.543 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00382/0.5346, allocations: 1.561 MB / 0.5312 GB, free: 4.977 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008123/0.5428, allocations: 4.629 MB / 0.5357 GB, free: 344 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/0.5428, allocations: 0 / 0.5357 GB, free: 344 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.5428, allocations: 0 / 0.5357 GB, free: 344 kB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001723/0.543, allocations: 0 / 0.5357 GB, free: 344 kB / 414.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.0119/0.5549, allocations: 3.518 MB / 0.5391 GB, free: 12.76 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.555, allocations: 8.031 kB / 0.5392 GB, free: 12.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002729/0.5577, allocations: 322.2 kB / 0.5395 GB, free: 12.43 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003301/0.561, allocations: 1.343 MB / 0.5408 GB, free: 11.04 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001805/0.5612, allocations: 180.9 kB / 0.5409 GB, free: 10.86 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006881/0.5619, allocations: 243.9 kB / 0.5412 GB, free: 10.62 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007397/0.5694, allocations: 3.823 MB / 0.5449 GB, free: 6.754 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.51e-05/0.5694, allocations: 0 / 0.5449 GB, free: 6.754 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005433/0.57, allocations: 112 kB / 0.545 GB, free: 6.645 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.766e-05/0.57, allocations: 56.56 kB / 0.5451 GB, free: 6.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009502/0.5796, allocations: 5.994 MB / 0.5509 GB, free: 0.5781 MB / 430.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.02344/0.603, allocations: 11.21 MB / 0.5619 GB, free: 4.523 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008112/0.6112, allocations: 5.034 MB / 0.5668 GB, free: 15.46 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003732/0.6149, allocations: 2.401 MB / 0.5691 GB, free: 13.06 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007162/0.6157, allocations: 439.3 kB / 0.5695 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001251/0.6158, allocations: 96.03 kB / 0.5696 GB, free: 12.45 MB / 462.1 MB Notification: Performance of pre-optimization done (n=390): time 8.205e-06/0.6159, allocations: 0 / 0.5696 GB, free: 12.45 MB / 462.1 MB Notification: Performance of matching and sorting (n=390): time 0.01037/0.6262, allocations: 5.82 MB / 0.5753 GB, free: 6.609 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.938e-05/0.6263, allocations: 94.47 kB / 0.5754 GB, free: 6.504 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/0.6275, allocations: 0.8751 MB / 0.5763 GB, free: 5.621 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003882/0.6279, allocations: 105.7 kB / 0.5764 GB, free: 5.512 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003567/0.6282, allocations: 0.511 MB / 0.5769 GB, free: 4.992 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001137/0.6294, allocations: 1.305 MB / 0.5781 GB, free: 3.668 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001022/0.6304, allocations: 0.6255 MB / 0.5787 GB, free: 3.035 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.6306, allocations: 349.9 kB / 0.5791 GB, free: 2.688 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003029/0.6336, allocations: 1.751 MB / 0.5808 GB, free: 0.9336 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00341/0.637, allocations: 2.258 MB / 0.583 GB, free: 14.52 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006631/0.6437, allocations: 4.333 MB / 0.5872 GB, free: 10.02 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.497e-05/0.6437, allocations: 0 / 0.5872 GB, free: 10.02 MB / 478.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.007988/0.6517, allocations: 4.586 MB / 0.5917 GB, free: 5.402 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.346e-05/0.6518, allocations: 18.38 kB / 0.5917 GB, free: 5.387 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.722e-05/0.6518, allocations: 12 kB / 0.5917 GB, free: 5.375 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.43e-05/0.6519, allocations: 28.06 kB / 0.5918 GB, free: 5.348 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003634/0.6555, allocations: 0.7917 MB / 0.5925 GB, free: 4.555 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.657e-05/0.6556, allocations: 39.86 kB / 0.5926 GB, free: 4.516 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002351/0.6579, allocations: 356.6 kB / 0.5929 GB, free: 4.164 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003276/0.6583, allocations: 143.9 kB / 0.5931 GB, free: 4.023 MB / 478.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[11],fog[10],fog[9],fog[8],fog[7],fog[6],fog[5],fog[4],fog[3],fog[2],fog[1]) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001431/0.6597, allocations: 0.7621 MB / 0.5938 GB, free: 3.25 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006765/0.6604, allocations: 209.6 kB / 0.594 GB, free: 3.047 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009583/0.67, allocations: 5.163 MB / 0.599 GB, free: 13.85 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.193e-05/0.6701, allocations: 44 kB / 0.5991 GB, free: 13.81 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.8e-05/0.6701, allocations: 3.938 kB / 0.5991 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.853e-05/0.6701, allocations: 19.92 kB / 0.5991 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004713/0.6749, allocations: 2.823 MB / 0.6019 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.958e-05/0.6749, allocations: 4 kB / 0.6019 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003436/0.6784, allocations: 0.7255 MB / 0.6026 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.373e-05/0.6784, allocations: 12 kB / 0.6026 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002962/0.6787, allocations: 95.95 kB / 0.6027 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-05/0.6788, allocations: 16 kB / 0.6027 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.6788, allocations: 3.938 kB / 0.6027 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01073/0.6895, allocations: 7.221 MB / 0.6097 GB, free: 2.781 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005414/0.6901, allocations: 318 kB / 0.6101 GB, free: 2.449 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003802/0.6905, allocations: 83.83 kB / 0.6101 GB, free: 2.367 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00264/0.6931, allocations: 227.7 kB / 0.6103 GB, free: 2.145 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005747/0.6937, allocations: 314.9 kB / 0.6106 GB, free: 1.836 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000444/0.6941, allocations: 183.9 kB / 0.6108 GB, free: 1.656 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008821/0.695, allocations: 0.6746 MB / 0.6115 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.695, allocations: 7.938 kB / 0.6115 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002475/0.6975, allocations: 1.093 MB / 0.6126 GB, free: 15.88 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00129/0.6988, allocations: 468.3 kB / 0.613 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007111/0.706, allocations: 4.3 MB / 0.6172 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/0.706, allocations: 5 kB / 0.6172 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00359/0.7096, allocations: 2.263 MB / 0.6194 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006219/0.7158, allocations: 1.257 MB / 0.6206 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01339/0.7292, allocations: 6.631 MB / 0.6271 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002428/0.7317, allocations: 1.848 MB / 0.6289 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006684/0.7385, allocations: 1.768 MB / 0.6307 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001799/0.7403, allocations: 299.3 kB / 0.6309 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of SimCode: time 1.603e-06/0.7403, allocations: 0 / 0.6309 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of Templates: time 0.3153/1.056, allocations: 64.57 MB / 0.694 GB, free: 174.7 MB / 0.5137 GB make -j1 -f Modelica_3.1_Modelica.Media.Examples.PsychrometricData.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_3.1_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.PsychrometricData.pipe 2>&1)