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.001179/0.001179, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001137/0.001137, allocations: 196 kB / 16.25 MB, free: 6.625 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.305/1.305, allocations: 205.1 MB / 222.1 MB, free: 4.688 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.00116/0.00116, allocations: 51.94 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1923, allocations: 46.62 MB / 324.8 MB, free: 1.922 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3222/0.5146, allocations: 151 MB / 475.8 MB, free: 13.53 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.5159, allocations: 0.9628 MB / 476.8 MB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.516, allocations: 0 / 476.8 MB, free: 13.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000355/0.5164, allocations: 75.34 kB / 476.9 MB, free: 13.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004903/0.5169, allocations: 269.8 kB / 477.1 MB, free: 13.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002845/0.5198, allocations: 1.194 MB / 478.3 MB, free: 13.17 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003618/0.5234, allocations: 5.621 MB / 483.9 MB, free: 12.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003201/0.5238, allocations: 254.8 kB / 484.2 MB, free: 12.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002762/0.5265, allocations: 2.257 MB / 486.4 MB, free: 12.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002496/0.529, allocations: 2.079 MB / 488.5 MB, free: 12.13 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005222/0.5296, allocations: 238.4 kB / 488.8 MB, free: 12.13 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003308/0.5329, allocations: 1.901 MB / 490.7 MB, free: 12.04 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001092/0.534, allocations: 1.219 MB / 491.9 MB, free: 12.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002198/0.5362, allocations: 1.568 MB / 493.4 MB, free: 11.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004828/0.541, allocations: 4.626 MB / 498.1 MB, free: 9.902 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.5411, allocations: 2.719 kB / 498.1 MB, free: 9.902 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.5411, allocations: 0 / 498.1 MB, free: 9.902 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.823e-05/0.5411, allocations: 4 kB / 498.1 MB, free: 9.898 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.00909/0.5502, allocations: 3.511 MB / 0.4898 GB, free: 8.141 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.5503, allocations: 9.5 kB / 0.4898 GB, free: 8.141 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001795/0.5521, allocations: 326 kB / 0.4902 GB, free: 8.008 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002298/0.5544, allocations: 1.33 MB / 0.4915 GB, free: 7.402 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.5545, allocations: 185.8 kB / 0.4916 GB, free: 7.391 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003811/0.5549, allocations: 237.5 kB / 0.4919 GB, free: 7.391 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006307/0.5612, allocations: 3.821 MB / 0.4956 GB, free: 6.184 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.273e-05/0.5613, allocations: 4 kB / 0.4956 GB, free: 6.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003466/0.5617, allocations: 113.4 kB / 0.4957 GB, free: 6.152 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.951e-05/0.5617, allocations: 62.62 kB / 0.4958 GB, free: 6.094 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008052/0.5698, allocations: 5.988 MB / 0.5016 GB, free: 1.262 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.01881/0.5886, allocations: 11.17 MB / 0.5125 GB, free: 6.867 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006748/0.5954, allocations: 5.038 MB / 0.5174 GB, free: 1.809 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003385/0.5988, allocations: 2.405 MB / 0.5198 GB, free: 15.4 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005969/0.5994, allocations: 435.9 kB / 0.5202 GB, free: 14.92 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.894e-05/0.5995, allocations: 98.62 kB / 0.5203 GB, free: 14.81 MB / 430.1 MB Notification: Performance of pre-optimization done (n=390): time 5.13e-06/0.5995, allocations: 0 / 0.5203 GB, free: 14.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=390): time 0.009676/0.6092, allocations: 5.812 MB / 0.526 GB, free: 8.977 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.709e-05/0.6093, allocations: 90.47 kB / 0.5261 GB, free: 8.875 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.6104, allocations: 0.8868 MB / 0.5269 GB, free: 7.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003717/0.6108, allocations: 101.7 kB / 0.527 GB, free: 7.875 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003404/0.6111, allocations: 0.5138 MB / 0.5275 GB, free: 7.355 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00102/0.6121, allocations: 1.308 MB / 0.5288 GB, free: 6.062 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008961/0.613, allocations: 0.6293 MB / 0.5294 GB, free: 5.426 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.6132, allocations: 353.9 kB / 0.5298 GB, free: 5.074 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002669/0.6159, allocations: 1.751 MB / 0.5315 GB, free: 3.32 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003028/0.6189, allocations: 2.254 MB / 0.5337 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006253/0.6252, allocations: 4.336 MB / 0.5379 GB, free: 12.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.319e-05/0.6252, allocations: 0 / 0.5379 GB, free: 12.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.007407/0.6326, allocations: 4.582 MB / 0.5424 GB, free: 7.793 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.802e-05/0.6327, allocations: 12 kB / 0.5424 GB, free: 7.781 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.468e-05/0.6327, allocations: 12 kB / 0.5424 GB, free: 7.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.239e-05/0.6328, allocations: 24.81 kB / 0.5424 GB, free: 7.746 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003704/0.6365, allocations: 0.7957 MB / 0.5432 GB, free: 6.949 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.352e-05/0.6365, allocations: 39.86 kB / 0.5432 GB, free: 6.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002616/0.6392, allocations: 420.5 kB / 0.5436 GB, free: 6.496 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003052/0.6395, allocations: 143.9 kB / 0.5438 GB, free: 6.355 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.001357/0.6408, allocations: 0.7581 MB / 0.5445 GB, free: 5.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005778/0.6414, allocations: 209.8 kB / 0.5447 GB, free: 5.383 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008586/0.65, allocations: 5.171 MB / 0.5498 GB, free: 180 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.898e-05/0.6501, allocations: 44 kB / 0.5498 GB, free: 136 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-05/0.6501, allocations: 3.938 kB / 0.5498 GB, free: 132 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.435e-05/0.6501, allocations: 19.92 kB / 0.5498 GB, free: 112 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00465/0.6548, allocations: 2.816 MB / 0.5526 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/0.6548, allocations: 0 / 0.5526 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003495/0.6583, allocations: 0.7333 MB / 0.5533 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-05/0.6584, allocations: 16 kB / 0.5533 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002435/0.6586, allocations: 87.97 kB / 0.5534 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.871e-05/0.6586, allocations: 19.98 kB / 0.5534 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.6586, allocations: 3.938 kB / 0.5534 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01056/0.6692, allocations: 7.217 MB / 0.5605 GB, free: 5.215 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006827/0.6699, allocations: 318 kB / 0.5608 GB, free: 4.883 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004091/0.6704, allocations: 87.83 kB / 0.5609 GB, free: 4.797 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002987/0.6733, allocations: 299.5 kB / 0.5611 GB, free: 4.504 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006202/0.674, allocations: 318.8 kB / 0.5614 GB, free: 4.191 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003922/0.6744, allocations: 179.9 kB / 0.5616 GB, free: 4.016 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00087/0.6753, allocations: 0.6785 MB / 0.5623 GB, free: 3.344 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6753, allocations: 0 / 0.5623 GB, free: 3.344 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002472/0.6777, allocations: 1.093 MB / 0.5633 GB, free: 2.25 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.00126/0.679, allocations: 463.9 kB / 0.5638 GB, free: 1.805 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.02731/0.7063, allocations: 15.28 MB / 0.5787 GB, free: 2.52 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/0.7064, allocations: 9.062 kB / 0.5787 GB, free: 2.512 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003205/0.7096, allocations: 2.267 MB / 0.5809 GB, free: 252 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005463/0.7151, allocations: 1.257 MB / 0.5822 GB, free: 14.98 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01175/0.7268, allocations: 7.638 MB / 0.5896 GB, free: 7.316 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001253/0.7281, allocations: 1.845 MB / 0.5914 GB, free: 5.434 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005469/0.7336, allocations: 1.76 MB / 0.5931 GB, free: 3.668 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001044/0.7347, allocations: 291.3 kB / 0.5934 GB, free: 3.383 MB / 494.1 MB Notification: Performance of SimCode: time 7.51e-07/0.7347, allocations: 0 / 0.5934 GB, free: 3.383 MB / 494.1 MB Notification: Performance of Templates: time 0.2165/0.9512, allocations: 63.27 MB / 0.6552 GB, free: 240.2 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)