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.001145/0.001146, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.418/1.418, allocations: 205.1 MB / 222.4 MB, free: 4.578 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.001152/0.001152, allocations: 51.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1831, allocations: 46.63 MB / 325.3 MB, free: 1.883 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3162/0.4994, allocations: 153.1 MB / 478.4 MB, free: 14.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.5007, allocations: 0.9511 MB / 479.4 MB, free: 14.13 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.99e-05/0.5008, allocations: 5.844 kB / 479.4 MB, free: 14.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003247/0.5011, allocations: 82.75 kB / 479.5 MB, free: 14.1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004965/0.5016, allocations: 287 kB / 479.7 MB, free: 14.03 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002881/0.5045, allocations: 1.305 MB / 481 MB, free: 13.79 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003512/0.508, allocations: 5.604 MB / 486.6 MB, free: 13.06 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003001/0.5084, allocations: 260.1 kB / 486.9 MB, free: 12.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002539/0.5109, allocations: 2.162 MB / 489.1 MB, free: 12.88 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002592/0.5135, allocations: 1.964 MB / 491 MB, free: 12.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006686/0.5142, allocations: 242.9 kB / 491.3 MB, free: 12.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003563/0.5178, allocations: 1.842 MB / 493.1 MB, free: 12.74 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00126/0.519, allocations: 1.226 MB / 494.3 MB, free: 12.35 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002347/0.5214, allocations: 1.562 MB / 495.9 MB, free: 12.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005148/0.5266, allocations: 4.598 MB / 0.4888 GB, free: 10.17 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.5266, allocations: 0 / 0.4888 GB, free: 10.17 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.5266, allocations: 4 kB / 0.4888 GB, free: 10.17 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.865e-05/0.5267, allocations: 0 / 0.4888 GB, free: 10.17 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.008888/0.5356, allocations: 3.512 MB / 0.4922 GB, free: 8.406 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.5356, allocations: 10.28 kB / 0.4922 GB, free: 8.406 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001816/0.5374, allocations: 326.3 kB / 0.4925 GB, free: 8.273 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002478/0.5399, allocations: 1.318 MB / 0.4938 GB, free: 7.676 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.5401, allocations: 184.8 kB / 0.494 GB, free: 7.668 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003507/0.5404, allocations: 240.6 kB / 0.4942 GB, free: 7.664 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006195/0.5466, allocations: 3.821 MB / 0.4979 GB, free: 5.926 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.213e-05/0.5467, allocations: 0 / 0.4979 GB, free: 5.926 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004009/0.5471, allocations: 117.6 kB / 0.498 GB, free: 5.895 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.236e-05/0.5471, allocations: 56 kB / 0.4981 GB, free: 5.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008565/0.5557, allocations: 5.982 MB / 0.5039 GB, free: 1.012 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.01957/0.5753, allocations: 11.24 MB / 0.5149 GB, free: 6.137 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006935/0.5823, allocations: 5.042 MB / 0.5198 GB, free: 1.066 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003372/0.5856, allocations: 2.404 MB / 0.5222 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005421/0.5862, allocations: 438.8 kB / 0.5226 GB, free: 14.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.121e-05/0.5863, allocations: 98.62 kB / 0.5227 GB, free: 14.07 MB / 430.1 MB Notification: Performance of pre-optimization done (n=390): time 5.08e-06/0.5863, allocations: 0 / 0.5227 GB, free: 14.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=390): time 0.009861/0.5962, allocations: 5.808 MB / 0.5284 GB, free: 8.238 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.317e-05/0.5963, allocations: 90.47 kB / 0.5285 GB, free: 8.137 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.5974, allocations: 0.8829 MB / 0.5293 GB, free: 7.246 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003807/0.5978, allocations: 101.6 kB / 0.5294 GB, free: 7.141 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003419/0.5981, allocations: 0.5211 MB / 0.5299 GB, free: 6.613 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001018/0.5992, allocations: 1.304 MB / 0.5312 GB, free: 5.324 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009584/0.6001, allocations: 0.6254 MB / 0.5318 GB, free: 4.691 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.6003, allocations: 357.9 kB / 0.5322 GB, free: 4.336 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002729/0.603, allocations: 1.74 MB / 0.5339 GB, free: 2.594 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003079/0.6061, allocations: 2.262 MB / 0.5361 GB, free: 184 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006394/0.6125, allocations: 4.337 MB / 0.5403 GB, free: 11.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.224e-05/0.6125, allocations: 4 kB / 0.5403 GB, free: 11.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.007572/0.6201, allocations: 4.582 MB / 0.5448 GB, free: 7.055 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.854e-05/0.6202, allocations: 12 kB / 0.5448 GB, free: 7.043 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-05/0.6202, allocations: 11.94 kB / 0.5448 GB, free: 7.031 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.954e-05/0.6203, allocations: 28 kB / 0.5448 GB, free: 7.004 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003649/0.6239, allocations: 0.7963 MB / 0.5456 GB, free: 6.207 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-05/0.624, allocations: 39.81 kB / 0.5456 GB, free: 6.168 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002477/0.6265, allocations: 356.6 kB / 0.546 GB, free: 5.816 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004032/0.6269, allocations: 143.9 kB / 0.5461 GB, free: 5.676 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.001655/0.6286, allocations: 0.7582 MB / 0.5469 GB, free: 4.906 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008739/0.6295, allocations: 209.8 kB / 0.5471 GB, free: 4.699 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009691/0.6392, allocations: 5.171 MB / 0.5521 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.899e-05/0.6392, allocations: 40 kB / 0.5522 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.75e-05/0.6392, allocations: 3.938 kB / 0.5522 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.085e-05/0.6393, allocations: 23.91 kB / 0.5522 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004702/0.644, allocations: 2.814 MB / 0.5549 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.122e-05/0.644, allocations: 0 / 0.5549 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003511/0.6476, allocations: 0.7372 MB / 0.5556 GB, free: 11.92 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.076e-05/0.6476, allocations: 12 kB / 0.5557 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003342/0.648, allocations: 95.95 kB / 0.5557 GB, free: 11.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.235e-05/0.648, allocations: 12 kB / 0.5558 GB, free: 11.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.648, allocations: 7.938 kB / 0.5558 GB, free: 11.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01123/0.6592, allocations: 7.218 MB / 0.5628 GB, free: 4.531 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005559/0.6598, allocations: 318 kB / 0.5631 GB, free: 4.199 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004636/0.6603, allocations: 87.83 kB / 0.5632 GB, free: 4.113 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003001/0.6633, allocations: 223.7 kB / 0.5634 GB, free: 3.895 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006367/0.664, allocations: 314.9 kB / 0.5637 GB, free: 3.586 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004361/0.6644, allocations: 179.9 kB / 0.5639 GB, free: 3.41 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008751/0.6653, allocations: 0.6824 MB / 0.5646 GB, free: 2.734 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6653, allocations: 0 / 0.5646 GB, free: 2.734 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002491/0.6678, allocations: 1.081 MB / 0.5656 GB, free: 1.652 MB / 462.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.001214/0.669, allocations: 479.8 kB / 0.5661 GB, free: 1.191 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.02656/0.6956, allocations: 15.28 MB / 0.581 GB, free: 1.898 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/0.6956, allocations: 5 kB / 0.581 GB, free: 1.895 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003491/0.6991, allocations: 2.263 MB / 0.5832 GB, free: 15.63 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00622/0.7054, allocations: 1.259 MB / 0.5844 GB, free: 14.37 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01231/0.7177, allocations: 6.695 MB / 0.591 GB, free: 7.645 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001376/0.7191, allocations: 1.848 MB / 0.5928 GB, free: 5.758 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005673/0.7248, allocations: 1.756 MB / 0.5945 GB, free: 3.996 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001135/0.7259, allocations: 299.3 kB / 0.5948 GB, free: 3.703 MB / 494.1 MB Notification: Performance of SimCode: time 6.52e-07/0.726, allocations: 0 / 0.5948 GB, free: 3.703 MB / 494.1 MB Notification: Performance of Templates: time 0.2735/0.9995, allocations: 63.79 MB / 0.6571 GB, free: 239.9 MB / 0.5137 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)