Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Media.Examples.PsychrometricData") translateModel(Modelica.Media.Examples.PsychrometricData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001144/0.001144, allocations: 103.4 kB / 16.51 MB, free: 6.645 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.001229/0.001229, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.285/1.285, allocations: 205.1 MB / 223.3 MB, free: 12.46 MB / 190.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.001096/0.001096, allocations: 43.94 kB / 279.3 MB, free: 3.602 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07674/0.07785, allocations: 46.64 MB / 326 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2931/0.371, allocations: 151 MB / 476.9 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.3725, allocations: 0.9983 MB / 477.9 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.563e-05/0.3726, allocations: 4 kB / 477.9 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003315/0.373, allocations: 74.62 kB / 478 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005029/0.3735, allocations: 274.8 kB / 478.3 MB, free: 15.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003316/0.3768, allocations: 1.124 MB / 479.4 MB, free: 14.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005765/0.3826, allocations: 7.157 MB / 486.5 MB, free: 6.965 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003199/0.3829, allocations: 252 kB / 486.8 MB, free: 6.695 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003281/0.3862, allocations: 1.901 MB / 488.7 MB, free: 4.789 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003202/0.3894, allocations: 1.963 MB / 490.6 MB, free: 2.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005131/0.39, allocations: 144 kB / 490.8 MB, free: 2.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003668/0.3936, allocations: 1.833 MB / 492.6 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00116/0.3948, allocations: 1.083 MB / 493.7 MB, free: 15.76 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002028/0.3969, allocations: 1.42 MB / 495.1 MB, free: 14.33 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005043/0.4019, allocations: 4.504 MB / 499.6 MB, free: 9.816 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.4019, allocations: 0 / 499.6 MB, free: 9.816 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.4019, allocations: 0 / 499.6 MB, free: 9.816 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.88e-05/0.402, allocations: 0 / 499.6 MB, free: 9.816 MB / 398.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.009038/0.411, allocations: 3.523 MB / 0.4914 GB, free: 6.234 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.4111, allocations: 8.031 kB / 0.4914 GB, free: 6.227 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001818/0.4129, allocations: 322.2 kB / 0.4917 GB, free: 5.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002394/0.4153, allocations: 1.328 MB / 0.493 GB, free: 4.535 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001216/0.4155, allocations: 184.9 kB / 0.4931 GB, free: 4.352 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003686/0.4158, allocations: 236 kB / 0.4934 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006371/0.4222, allocations: 3.819 MB / 0.4971 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.78e-05/0.4223, allocations: 7.922 kB / 0.4971 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003547/0.4226, allocations: 112 kB / 0.4972 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-05/0.4227, allocations: 64 kB / 0.4973 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008792/0.4315, allocations: 5.982 MB / 0.5031 GB, free: 10.07 MB / 414.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.01934/0.4509, allocations: 11.18 MB / 0.514 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007122/0.458, allocations: 5.038 MB / 0.5189 GB, free: 8.988 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003375/0.4614, allocations: 2.408 MB / 0.5213 GB, free: 6.57 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005993/0.462, allocations: 431.3 kB / 0.5217 GB, free: 6.078 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.708e-05/0.4621, allocations: 95.5 kB / 0.5218 GB, free: 5.977 MB / 430.1 MB Notification: Performance of pre-optimization done (n=390): time 5.561e-06/0.4621, allocations: 0 / 0.5218 GB, free: 5.977 MB / 430.1 MB Notification: Performance of matching and sorting (n=390): time 0.00917/0.4713, allocations: 5.816 MB / 0.5275 GB, free: 140 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.71e-05/0.4714, allocations: 98.45 kB / 0.5276 GB, free: 28 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.4725, allocations: 0.8712 MB / 0.5284 GB, free: 15.15 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003638/0.4729, allocations: 105.7 kB / 0.5285 GB, free: 15.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003264/0.4732, allocations: 0.511 MB / 0.529 GB, free: 14.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00101/0.4742, allocations: 1.309 MB / 0.5303 GB, free: 13.19 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008827/0.4751, allocations: 0.6293 MB / 0.5309 GB, free: 12.55 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.4752, allocations: 353.9 kB / 0.5313 GB, free: 12.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00265/0.4779, allocations: 1.744 MB / 0.533 GB, free: 10.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003073/0.481, allocations: 2.258 MB / 0.5352 GB, free: 8.047 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006137/0.4871, allocations: 4.333 MB / 0.5394 GB, free: 3.539 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.196e-05/0.4872, allocations: 4 kB / 0.5394 GB, free: 3.535 MB / 446.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.1461/0.6333, allocations: 4.581 MB / 0.5439 GB, free: 175.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.138e-05/0.6334, allocations: 12.81 kB / 0.5439 GB, free: 175.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.395e-05/0.6334, allocations: 11.22 kB / 0.5439 GB, free: 175.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.236e-05/0.6334, allocations: 27.28 kB / 0.5439 GB, free: 175.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004241/0.6377, allocations: 0.7863 MB / 0.5447 GB, free: 175.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.84e-05/0.6378, allocations: 41.55 kB / 0.5447 GB, free: 175.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002946/0.6407, allocations: 423.1 kB / 0.5451 GB, free: 175.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004951/0.6412, allocations: 148.5 kB / 0.5453 GB, free: 175.8 MB / 446.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.001627/0.6429, allocations: 0.7555 MB / 0.546 GB, free: 175.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006327/0.6435, allocations: 210.9 kB / 0.5462 GB, free: 175.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009047/0.6526, allocations: 5.184 MB / 0.5513 GB, free: 174.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.205e-05/0.6526, allocations: 41.03 kB / 0.5513 GB, free: 174.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.612e-05/0.6527, allocations: 3.75 kB / 0.5513 GB, free: 174.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-05/0.6527, allocations: 20.16 kB / 0.5513 GB, free: 174.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004342/0.6571, allocations: 2.821 MB / 0.5541 GB, free: 173.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.6571, allocations: 0 / 0.5541 GB, free: 173.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003398/0.6605, allocations: 0.7273 MB / 0.5548 GB, free: 173.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.092e-05/0.6605, allocations: 13.97 kB / 0.5548 GB, free: 173.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002368/0.6608, allocations: 90.36 kB / 0.5549 GB, free: 173.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.16e-05/0.6608, allocations: 14.91 kB / 0.5549 GB, free: 173.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.6608, allocations: 1.312 kB / 0.5549 GB, free: 173.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00908/0.6699, allocations: 7.225 MB / 0.562 GB, free: 170.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005297/0.6705, allocations: 321 kB / 0.5623 GB, free: 170.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004966/0.671, allocations: 86.17 kB / 0.5624 GB, free: 170 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003062/0.6741, allocations: 285.9 kB / 0.5626 GB, free: 169.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006209/0.6747, allocations: 315.6 kB / 0.5629 GB, free: 169.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003934/0.6751, allocations: 176.4 kB / 0.5631 GB, free: 169.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008401/0.6759, allocations: 0.6823 MB / 0.5638 GB, free: 169.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.282e-06/0.676, allocations: 0 / 0.5638 GB, free: 169.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002625/0.6786, allocations: 1.094 MB / 0.5648 GB, free: 168.7 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 (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.001126/0.6797, allocations: 475.9 kB / 0.5653 GB, free: 168.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005652/0.6854, allocations: 4.279 MB / 0.5695 GB, free: 164 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.367e-06/0.6854, allocations: 5 kB / 0.5695 GB, free: 164 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002795/0.6882, allocations: 2.263 MB / 0.5717 GB, free: 161.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005453/0.6937, allocations: 1.233 MB / 0.5729 GB, free: 160.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/0.7043, allocations: 7.632 MB / 0.5803 GB, free: 152.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009161/0.7053, allocations: 1.853 MB / 0.5822 GB, free: 151 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00532/0.7106, allocations: 1.76 MB / 0.5839 GB, free: 149.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001012/0.7116, allocations: 295.3 kB / 0.5842 GB, free: 148.9 MB / 446.1 MB Notification: Performance of SimCode: time 1.232e-06/0.7116, allocations: 1.094 kB / 0.5842 GB, free: 148.9 MB / 446.1 MB Notification: Performance of Templates: time 0.07094/0.7826, allocations: 61.05 MB / 0.6438 GB, free: 87.81 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.PsychrometricData.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_3.2.2_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.PsychrometricData.pipe 2>&1)