Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.PsychrometricData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|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.|x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData") translateModel(Modelica.Media.Examples.PsychrometricData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|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.|x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003243/0.003243, allocations: 187 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.706/3.706, allocations: 205.4 MB / 222.5 MB, free: 13.77 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001945/0.001945, allocations: 98.8 kB / 270.9 MB, free: 13.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006277/0.000628, allocations: 8 kB / 327 MB, free: 15.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1565, allocations: 47.57 MB / 374.5 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.7287/0.8853, allocations: 127.6 MB / 0.4904 GB, free: 13.74 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00625/0.8916, allocations: 1.768 MB / 0.4921 GB, free: 11.97 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004054/0.8921, allocations: 4 kB / 0.4921 GB, free: 11.96 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006266/0.8928, allocations: 67.67 kB / 0.4922 GB, free: 11.9 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001442/0.8943, allocations: 219.4 kB / 0.4924 GB, free: 11.68 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005984/0.9003, allocations: 0.7898 MB / 0.4931 GB, free: 10.89 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008858/0.9092, allocations: 3.082 MB / 0.4962 GB, free: 7.805 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000986/0.9103, allocations: 256.8 kB / 0.4964 GB, free: 7.531 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006573/0.9169, allocations: 1.89 MB / 0.4982 GB, free: 5.633 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007381/0.9244, allocations: 1.636 MB / 0.4998 GB, free: 3.992 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002058/0.9265, allocations: 140 kB / 0.5 GB, free: 3.855 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008724/0.9353, allocations: 1.354 MB / 0.5013 GB, free: 2.5 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004116/0.9395, allocations: 1.021 MB / 0.5023 GB, free: 1.477 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002687/0.9423, allocations: 0.4967 MB / 0.5028 GB, free: 0.9727 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01014/0.9525, allocations: 3.146 MB / 0.5058 GB, free: 13.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.9526, allocations: 4 kB / 0.5059 GB, free: 13.82 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.088e-06/0.9526, allocations: 0 / 0.5059 GB, free: 13.82 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001837/0.9529, allocations: 0 / 0.5059 GB, free: 13.82 MB / 394.7 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.02175/0.9746, allocations: 2.891 MB / 0.5087 GB, free: 10.87 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.891e-05/0.9747, allocations: 8.031 kB / 0.5087 GB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006905/0.9816, allocations: 329.8 kB / 0.509 GB, free: 10.54 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006803/0.9885, allocations: 1.316 MB / 0.5103 GB, free: 9.176 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004754/0.9891, allocations: 176.9 kB / 0.5105 GB, free: 9 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001702/0.9908, allocations: 243.9 kB / 0.5107 GB, free: 8.762 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01905/1.01, allocations: 3.776 MB / 0.5144 GB, free: 4.938 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001336/1.01, allocations: 0 / 0.5144 GB, free: 4.938 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001576/1.012, allocations: 117 kB / 0.5145 GB, free: 4.824 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001292/1.012, allocations: 60 kB / 0.5145 GB, free: 4.766 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02756/1.039, allocations: 5.971 MB / 0.5204 GB, free: 14.78 MB / 410.7 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.06023/1.1, allocations: 11.19 MB / 0.5313 GB, free: 2.742 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4375/1.537, allocations: 5.008 MB / 0.5362 GB, free: 140.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0014/1.539, allocations: 438 kB / 0.5366 GB, free: 140.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002197/1.539, allocations: 95.38 kB / 0.5367 GB, free: 140.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=390): time 1.29e-05/1.539, allocations: 0 / 0.5367 GB, free: 140.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=390): time 0.0347/1.574, allocations: 5.781 MB / 0.5423 GB, free: 138.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001434/1.574, allocations: 95.91 kB / 0.5424 GB, free: 138.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003297/1.577, allocations: 0.8651 MB / 0.5433 GB, free: 138.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001547/1.579, allocations: 105.4 kB / 0.5434 GB, free: 138.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000766/1.58, allocations: 0.5294 MB / 0.5439 GB, free: 137.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003011/1.583, allocations: 1.307 MB / 0.5452 GB, free: 136.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001147/1.584, allocations: 70.19 kB / 0.5452 GB, free: 136.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0006193/1.585, allocations: 463.4 kB / 0.5457 GB, free: 136.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009023/1.594, allocations: 1.731 MB / 0.5474 GB, free: 136 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009734/1.604, allocations: 2.233 MB / 0.5496 GB, free: 135.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009691/1.613, allocations: 2.103 MB / 0.5516 GB, free: 134.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.012e-05/1.614, allocations: 2.969 kB / 0.5516 GB, free: 134.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.02161/1.635, allocations: 4.509 MB / 0.556 GB, free: 132.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.953e-05/1.635, allocations: 10.22 kB / 0.556 GB, free: 132.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.758e-05/1.635, allocations: 10.28 kB / 0.556 GB, free: 132.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.09e-05/1.636, allocations: 35 kB / 0.5561 GB, free: 132.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01121/1.647, allocations: 0.7983 MB / 0.5568 GB, free: 132.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001736/1.647, allocations: 33.22 kB / 0.5569 GB, free: 132.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007792/1.655, allocations: 427.5 kB / 0.5573 GB, free: 132.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001576/1.656, allocations: 146.2 kB / 0.5574 GB, free: 132.2 MB / 410.7 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.004479/1.661, allocations: 0.7628 MB / 0.5582 GB, free: 131.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00193/1.663, allocations: 213.2 kB / 0.5584 GB, free: 131.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02438/1.687, allocations: 5.163 MB / 0.5634 GB, free: 126.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.837e-05/1.688, allocations: 40 kB / 0.5635 GB, free: 126.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.522e-05/1.688, allocations: 3.938 kB / 0.5635 GB, free: 126.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001474/1.688, allocations: 23.91 kB / 0.5635 GB, free: 126.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0124/1.7, allocations: 2.822 MB / 0.5662 GB, free: 124 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.43e-05/1.7, allocations: 0 / 0.5662 GB, free: 124 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009851/1.71, allocations: 0.7293 MB / 0.567 GB, free: 123.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.011e-05/1.71, allocations: 16 kB / 0.567 GB, free: 123.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001037/1.711, allocations: 96.52 kB / 0.5671 GB, free: 123.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.357e-05/1.711, allocations: 12 kB / 0.5671 GB, free: 123.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/1.711, allocations: 0 / 0.5671 GB, free: 123.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02864/1.74, allocations: 7.187 MB / 0.5741 GB, free: 116 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001312/1.742, allocations: 359.6 kB / 0.5744 GB, free: 115.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001632/1.743, allocations: 75.98 kB / 0.5745 GB, free: 115.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008894/1.752, allocations: 301 kB / 0.5748 GB, free: 115.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002131/1.754, allocations: 314.9 kB / 0.5751 GB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001744/1.756, allocations: 175.9 kB / 0.5753 GB, free: 114.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002038/1.758, allocations: 0.6746 MB / 0.5759 GB, free: 114.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.91e-07/1.758, allocations: 0 / 0.5759 GB, free: 114.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007058/1.765, allocations: 1.087 MB / 0.577 GB, free: 113 MB / 410.7 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.003659/1.769, allocations: 450.6 kB / 0.5774 GB, free: 112.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01713/1.786, allocations: 4.254 MB / 0.5816 GB, free: 108.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-05/1.786, allocations: 6.203 kB / 0.5816 GB, free: 108.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008811/1.795, allocations: 2.256 MB / 0.5838 GB, free: 106.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01393/1.809, allocations: 1.163 MB / 0.5849 GB, free: 104.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03605/1.845, allocations: 7.862 MB / 0.5926 GB, free: 97.01 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003341/1.849, allocations: 1.895 MB / 0.5944 GB, free: 95.08 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004544/1.853, allocations: 327.3 kB / 0.5947 GB, free: 94.76 MB / 410.7 MB Notification: Performance of SimCode: time 2.324e-06/1.853, allocations: 0 / 0.5947 GB, free: 94.76 MB / 410.7 MB Notification: Performance of Templates: time 0.1429/1.996, allocations: 45.96 MB / 0.6396 GB, free: 48.66 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData.pipe 2>&1)