Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Media.Examples.PsychrometricData") translateModel(Modelica.Media.Examples.PsychrometricData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.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.001065/0.001065, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001398/0.001397, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.0004297/0.0004297, allocations: 8 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2081, allocations: 47.59 MB / 326.5 MB, free: 1.387 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3394/0.5475, allocations: 138.9 MB / 465.3 MB, free: 1.773 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.5488, allocations: 0.9123 MB / 466.3 MB, free: 1.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.116e-05/0.5489, allocations: 3.781 kB / 466.3 MB, free: 1.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002654/0.5491, allocations: 52.97 kB / 466.3 MB, free: 1.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005593/0.5497, allocations: 276.3 kB / 466.6 MB, free: 1.734 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002645/0.5524, allocations: 1.021 MB / 467.6 MB, free: 1.684 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004197/0.5566, allocations: 5.989 MB / 473.6 MB, free: 1.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003334/0.5569, allocations: 258.2 kB / 473.8 MB, free: 1.547 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003453/0.5604, allocations: 1.923 MB / 475.8 MB, free: 1.547 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003191/0.5636, allocations: 2.049 MB / 477.8 MB, free: 1.523 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004489/0.564, allocations: 141.7 kB / 477.9 MB, free: 1.523 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003428/0.5675, allocations: 1.545 MB / 479.5 MB, free: 1.508 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001079/0.5686, allocations: 1.099 MB / 480.6 MB, free: 1.504 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009446/0.5695, allocations: 0.4939 MB / 481.1 MB, free: 1.473 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003635/0.5732, allocations: 3.296 MB / 484.4 MB, free: 1.117 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.5732, allocations: 0 / 484.4 MB, free: 1.117 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5732, allocations: 0 / 484.4 MB, free: 1.117 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.003e-05/0.5733, allocations: 3.844 kB / 484.4 MB, free: 1.117 MB / 382.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.007453/0.5808, allocations: 2.925 MB / 487.3 MB, free: 15.49 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.5808, allocations: 12.05 kB / 487.3 MB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001799/0.5826, allocations: 325.4 kB / 487.6 MB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00232/0.5849, allocations: 1.314 MB / 489 MB, free: 14.83 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/0.5851, allocations: 179.2 kB / 489.1 MB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003589/0.5854, allocations: 243.3 kB / 489.4 MB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005798/0.5912, allocations: 3.804 MB / 493.2 MB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.948e-05/0.5913, allocations: 0 / 493.2 MB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003336/0.5916, allocations: 114.4 kB / 493.3 MB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.062e-05/0.5917, allocations: 60.09 kB / 493.3 MB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008952/0.6006, allocations: 5.967 MB / 499.3 MB, free: 12.22 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.02014/0.6208, allocations: 11.19 MB / 0.4985 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007003/0.6279, allocations: 5.015 MB / 0.5034 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003687/0.6316, allocations: 2.395 MB / 0.5058 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007143/0.6323, allocations: 436.6 kB / 0.5062 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001287/0.6325, allocations: 92.5 kB / 0.5063 GB, free: 13.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=390): time 5.43e-06/0.6325, allocations: 0 / 0.5063 GB, free: 13.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=390): time 0.0101/0.6426, allocations: 5.781 MB / 0.5119 GB, free: 9.383 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.492e-05/0.6427, allocations: 97.19 kB / 0.512 GB, free: 9.277 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.6439, allocations: 0.8684 MB / 0.5129 GB, free: 8.586 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00046/0.6443, allocations: 105.1 kB / 0.513 GB, free: 8.531 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003465/0.6447, allocations: 0.5077 MB / 0.5135 GB, free: 8.148 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001157/0.6459, allocations: 1.308 MB / 0.5147 GB, free: 7.027 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001955/0.6461, allocations: 78.91 kB / 0.5148 GB, free: 7.008 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000272/0.6463, allocations: 0.5003 MB / 0.5153 GB, free: 6.574 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002934/0.6493, allocations: 1.728 MB / 0.517 GB, free: 5.254 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003309/0.6526, allocations: 2.248 MB / 0.5192 GB, free: 3.336 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003564/0.6562, allocations: 2.1 MB / 0.5212 GB, free: 1.816 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.594e-05/0.6562, allocations: 4 kB / 0.5212 GB, free: 1.812 MB / 414.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.008296/0.6645, allocations: 4.556 MB / 0.5257 GB, free: 14.36 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.083e-05/0.6646, allocations: 11.98 kB / 0.5257 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.818e-05/0.6647, allocations: 12 kB / 0.5257 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.75e-05/0.6647, allocations: 28 kB / 0.5257 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003658/0.6684, allocations: 0.7889 MB / 0.5265 GB, free: 13.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.053e-05/0.6685, allocations: 33.05 kB / 0.5265 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003082/0.6715, allocations: 435.5 kB / 0.5269 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003553/0.6719, allocations: 143.8 kB / 0.5271 GB, free: 13.09 MB / 430.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[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.001646/0.6736, allocations: 0.754 MB / 0.5278 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005475/0.6741, allocations: 205.8 kB / 0.528 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009065/0.6832, allocations: 5.182 MB / 0.5331 GB, free: 8.566 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-05/0.6833, allocations: 40 kB / 0.5331 GB, free: 8.527 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.475e-05/0.6833, allocations: 0 / 0.5331 GB, free: 8.527 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.344e-05/0.6834, allocations: 23.92 kB / 0.5331 GB, free: 8.504 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005194/0.6886, allocations: 2.822 MB / 0.5359 GB, free: 6.336 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.517e-05/0.6886, allocations: 4 kB / 0.5359 GB, free: 6.332 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003582/0.6922, allocations: 0.7337 MB / 0.5366 GB, free: 5.668 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.087e-05/0.6923, allocations: 16 kB / 0.5366 GB, free: 5.652 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003661/0.6926, allocations: 92.7 kB / 0.5367 GB, free: 5.613 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.143e-05/0.6927, allocations: 16 kB / 0.5367 GB, free: 5.598 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.6927, allocations: 0 / 0.5367 GB, free: 5.598 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01121/0.7039, allocations: 7.183 MB / 0.5437 GB, free: 200 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/0.705, allocations: 355.4 kB / 0.5441 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000526/0.7055, allocations: 71.86 kB / 0.5442 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002992/0.7085, allocations: 309 kB / 0.5445 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005726/0.7091, allocations: 314.2 kB / 0.5448 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004455/0.7096, allocations: 178.8 kB / 0.5449 GB, free: 15.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000917/0.7105, allocations: 0.6785 MB / 0.5456 GB, free: 14.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.303e-06/0.7105, allocations: 0 / 0.5456 GB, free: 14.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003212/0.7137, allocations: 1.087 MB / 0.5466 GB, free: 13.67 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 (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.001288/0.715, allocations: 470.9 kB / 0.5471 GB, free: 13.33 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007295/0.7223, allocations: 4.247 MB / 0.5512 GB, free: 10.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-05/0.7224, allocations: 13.38 kB / 0.5513 GB, free: 10.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003568/0.726, allocations: 2.25 MB / 0.5535 GB, free: 8.367 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005877/0.7319, allocations: 1.244 MB / 0.5547 GB, free: 7.375 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01293/0.7448, allocations: 7.773 MB / 0.5623 GB, free: 172 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001349/0.7462, allocations: 1.85 MB / 0.5641 GB, free: 14.36 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.006439/0.7527, allocations: 1.76 MB / 0.5658 GB, free: 12.59 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001179/0.7539, allocations: 292.4 kB / 0.5661 GB, free: 12.32 MB / 462.1 MB Notification: Performance of SimCode: time 1.072e-06/0.7539, allocations: 0 / 0.5661 GB, free: 12.32 MB / 462.1 MB Notification: Performance of Templates: time 0.09072/0.8446, allocations: 58.52 MB / 0.6232 GB, free: 1.906 MB / 0.4981 GB make -j1 -f Modelica_3.1_Modelica.Media.Examples.PsychrometricData.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_3.1_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.PsychrometricData.pipe 2>&1)