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.004915/0.004916, allocations: 107.4 kB / 15.74 MB, free: 6.441 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.00116/0.00116, allocations: 195.1 kB / 16.67 MB, free: 6.355 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.382/1.382, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.001232/0.001232, allocations: 54.11 kB / 326.5 MB, free: 14.39 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09449/0.09573, allocations: 46.61 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3953/0.4911, allocations: 153.1 MB / 0.514 GB, free: 3.453 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001667/0.4928, allocations: 0.9443 MB / 0.5149 GB, free: 2.953 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001473/0.4929, allocations: 2.219 kB / 0.5149 GB, free: 2.953 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004529/0.4934, allocations: 86.89 kB / 0.515 GB, free: 2.887 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006792/0.4941, allocations: 286.3 kB / 0.5152 GB, free: 2.719 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004193/0.4983, allocations: 1.318 MB / 0.5165 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004947/0.5033, allocations: 5.594 MB / 0.522 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003605/0.5037, allocations: 256 kB / 0.5222 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004047/0.5077, allocations: 2.175 MB / 0.5244 GB, free: 12.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003619/0.5114, allocations: 1.963 MB / 0.5263 GB, free: 10.19 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00092/0.5123, allocations: 239.9 kB / 0.5265 GB, free: 9.957 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004567/0.5169, allocations: 1.935 MB / 0.5284 GB, free: 8.02 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001781/0.5187, allocations: 1.224 MB / 0.5296 GB, free: 6.793 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003605/0.5223, allocations: 1.561 MB / 0.5311 GB, free: 5.227 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006893/0.5292, allocations: 4.629 MB / 0.5356 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.268e-06/0.5293, allocations: 0 / 0.5356 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.065e-06/0.5293, allocations: 0 / 0.5356 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001541/0.5295, allocations: 0 / 0.5356 GB, free: 0.5859 MB / 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.0104/0.5399, allocations: 3.518 MB / 0.5391 GB, free: 13.01 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.54, allocations: 13.98 kB / 0.5391 GB, free: 13 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001879/0.5418, allocations: 318.2 kB / 0.5394 GB, free: 12.68 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002989/0.5448, allocations: 1.343 MB / 0.5407 GB, free: 11.29 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001331/0.545, allocations: 184.9 kB / 0.5409 GB, free: 11.11 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004762/0.5455, allocations: 243.9 kB / 0.5411 GB, free: 10.87 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006742/0.5522, allocations: 3.823 MB / 0.5448 GB, free: 7 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.592e-05/0.5523, allocations: 0 / 0.5448 GB, free: 7 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004105/0.5527, allocations: 112 kB / 0.5449 GB, free: 6.891 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.392e-05/0.5528, allocations: 56 kB / 0.545 GB, free: 6.836 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009041/0.5618, allocations: 5.991 MB / 0.5508 GB, free: 0.8281 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.02136/0.5832, allocations: 11.2 MB / 0.5618 GB, free: 4.777 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007463/0.5907, allocations: 5.042 MB / 0.5667 GB, free: 15.71 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003647/0.5944, allocations: 2.401 MB / 0.5691 GB, free: 13.3 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000604/0.595, allocations: 447.2 kB / 0.5695 GB, free: 12.79 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.619e-05/0.5952, allocations: 90.62 kB / 0.5696 GB, free: 12.7 MB / 462.1 MB Notification: Performance of pre-optimization done (n=390): time 5.76e-06/0.5952, allocations: 0 / 0.5696 GB, free: 12.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=390): time 0.01047/0.6056, allocations: 5.812 MB / 0.5752 GB, free: 6.859 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.515e-05/0.6057, allocations: 94.47 kB / 0.5753 GB, free: 6.754 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.6069, allocations: 0.879 MB / 0.5762 GB, free: 5.867 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004653/0.6074, allocations: 105.7 kB / 0.5763 GB, free: 5.758 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00038/0.6078, allocations: 0.5149 MB / 0.5768 GB, free: 5.234 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001249/0.609, allocations: 1.303 MB / 0.5781 GB, free: 3.914 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009511/0.61, allocations: 0.6255 MB / 0.5787 GB, free: 3.281 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.6101, allocations: 353.9 kB / 0.579 GB, free: 2.93 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002635/0.6128, allocations: 1.748 MB / 0.5807 GB, free: 1.18 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003085/0.6159, allocations: 2.258 MB / 0.5829 GB, free: 14.77 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006384/0.6223, allocations: 4.333 MB / 0.5872 GB, free: 10.26 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-05/0.6223, allocations: 1.188 kB / 0.5872 GB, free: 10.26 MB / 478.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.00766/0.63, allocations: 4.589 MB / 0.5916 GB, free: 5.645 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.147e-05/0.63, allocations: 12.97 kB / 0.5917 GB, free: 5.633 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.49e-05/0.6301, allocations: 12 kB / 0.5917 GB, free: 5.621 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.809e-05/0.6301, allocations: 28 kB / 0.5917 GB, free: 5.594 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003545/0.6337, allocations: 0.7956 MB / 0.5925 GB, free: 4.797 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-05/0.6337, allocations: 35.88 kB / 0.5925 GB, free: 4.762 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002476/0.6362, allocations: 356.6 kB / 0.5928 GB, free: 4.41 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002977/0.6365, allocations: 143.9 kB / 0.593 GB, free: 4.27 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.001516/0.6381, allocations: 0.766 MB / 0.5937 GB, free: 3.492 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006183/0.6387, allocations: 205.8 kB / 0.5939 GB, free: 3.289 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008858/0.6476, allocations: 5.16 MB / 0.599 GB, free: 14.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.442e-05/0.6476, allocations: 44 kB / 0.599 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.486e-05/0.6476, allocations: 4.812 kB / 0.599 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-05/0.6477, allocations: 19.92 kB / 0.599 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004268/0.652, allocations: 2.815 MB / 0.6018 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.224e-05/0.652, allocations: 8 kB / 0.6018 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003491/0.6555, allocations: 0.7294 MB / 0.6025 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.617e-05/0.6555, allocations: 12 kB / 0.6025 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002181/0.6558, allocations: 99.95 kB / 0.6026 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.996e-05/0.6558, allocations: 16 kB / 0.6026 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6558, allocations: 3.938 kB / 0.6026 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01052/0.6663, allocations: 7.217 MB / 0.6097 GB, free: 3.027 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005914/0.667, allocations: 321.9 kB / 0.61 GB, free: 2.691 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004543/0.6674, allocations: 83.78 kB / 0.6101 GB, free: 2.609 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003033/0.6705, allocations: 227.7 kB / 0.6103 GB, free: 2.387 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000802/0.6713, allocations: 318.8 kB / 0.6106 GB, free: 2.074 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004676/0.6718, allocations: 179.9 kB / 0.6108 GB, free: 1.898 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009317/0.6727, allocations: 0.6863 MB / 0.6114 GB, free: 1.215 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6727, allocations: 0 / 0.6114 GB, free: 1.215 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002939/0.6757, allocations: 1.085 MB / 0.6125 GB, free: 132 kB / 494.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.001254/0.6769, allocations: 480.2 kB / 0.6129 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00727/0.6842, allocations: 4.304 MB / 0.6171 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/0.6843, allocations: 5 kB / 0.6171 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003641/0.6879, allocations: 2.267 MB / 0.6194 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006762/0.6947, allocations: 1.252 MB / 0.6206 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01212/0.7069, allocations: 6.631 MB / 0.6271 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001319/0.7082, allocations: 1.845 MB / 0.6289 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00495/0.7132, allocations: 1.771 MB / 0.6306 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001142/0.7143, allocations: 295.3 kB / 0.6309 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of SimCode: time 1.683e-06/0.7144, allocations: 0 / 0.6309 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of Templates: time 0.2697/0.984, allocations: 64.56 MB / 0.6939 GB, free: 175.4 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)