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.001205/0.001205, allocations: 108 kB / 15.6 MB, free: 132 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.00113/0.00113, allocations: 198.4 kB / 16.53 MB, free: 6.668 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.36/1.36, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.002064/0.002064, allocations: 59.92 kB / 278.7 MB, free: 12.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2998, allocations: 46.63 MB / 325.3 MB, free: 1.855 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.4004/0.7003, allocations: 153.1 MB / 478.4 MB, free: 14.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.7018, allocations: 0.9545 MB / 479.4 MB, free: 14.12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/0.7019, allocations: 0 / 479.4 MB, free: 14.12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00039/0.7024, allocations: 79.62 kB / 479.4 MB, free: 14.1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006314/0.703, allocations: 288.8 kB / 479.7 MB, free: 14.03 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003404/0.7064, allocations: 1.305 MB / 481 MB, free: 13.79 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004021/0.7105, allocations: 5.604 MB / 486.6 MB, free: 13.06 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003802/0.7109, allocations: 261.6 kB / 486.9 MB, free: 12.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003716/0.7146, allocations: 2.154 MB / 489 MB, free: 12.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003749/0.7184, allocations: 1.969 MB / 491 MB, free: 12.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001037/0.7194, allocations: 238.2 kB / 491.2 MB, free: 12.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004837/0.7243, allocations: 1.849 MB / 493.1 MB, free: 12.74 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002011/0.7263, allocations: 1.221 MB / 494.3 MB, free: 12.35 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004584/0.7309, allocations: 1.566 MB / 495.9 MB, free: 12.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007071/0.738, allocations: 4.596 MB / 0.4888 GB, free: 10.17 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.7381, allocations: 0 / 0.4888 GB, free: 10.17 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.7381, allocations: 2.75 kB / 0.4888 GB, free: 10.17 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001068/0.7382, 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.01028/0.7485, allocations: 3.516 MB / 0.4922 GB, free: 8.406 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.7485, allocations: 10.38 kB / 0.4922 GB, free: 8.406 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00193/0.7505, allocations: 318.5 kB / 0.4925 GB, free: 8.277 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002519/0.753, allocations: 1.333 MB / 0.4938 GB, free: 7.672 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.7531, allocations: 177.9 kB / 0.494 GB, free: 7.664 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003697/0.7535, allocations: 240.8 kB / 0.4942 GB, free: 7.664 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006286/0.7598, allocations: 3.821 MB / 0.4979 GB, free: 5.902 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.29e-05/0.7599, allocations: 0 / 0.4979 GB, free: 5.902 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003877/0.7603, allocations: 113.9 kB / 0.498 GB, free: 5.871 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-05/0.7603, allocations: 60 kB / 0.4981 GB, free: 5.812 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008735/0.7691, allocations: 5.994 MB / 0.504 GB, free: 0.9805 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.02075/0.7898, allocations: 11.23 MB / 0.5149 GB, free: 6.109 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007684/0.7976, allocations: 5.042 MB / 0.5198 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00407/0.8017, allocations: 2.404 MB / 0.5222 GB, free: 14.63 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006667/0.8024, allocations: 436.8 kB / 0.5226 GB, free: 14.15 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001152/0.8025, allocations: 91.75 kB / 0.5227 GB, free: 14.05 MB / 430.1 MB Notification: Performance of pre-optimization done (n=390): time 4.869e-06/0.8025, allocations: 0 / 0.5227 GB, free: 14.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=390): time 0.01232/0.8148, allocations: 5.82 MB / 0.5284 GB, free: 8.207 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.836e-05/0.815, allocations: 90.47 kB / 0.5285 GB, free: 8.105 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.8163, allocations: 0.879 MB / 0.5293 GB, free: 7.219 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005406/0.8168, allocations: 105.7 kB / 0.5294 GB, free: 7.109 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004146/0.8172, allocations: 0.52 MB / 0.5299 GB, free: 6.586 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001354/0.8186, allocations: 1.3 MB / 0.5312 GB, free: 5.297 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001003/0.8196, allocations: 0.6254 MB / 0.5318 GB, free: 4.664 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.8198, allocations: 357.9 kB / 0.5322 GB, free: 4.309 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002967/0.8228, allocations: 1.744 MB / 0.5339 GB, free: 2.562 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003363/0.8261, allocations: 2.258 MB / 0.5361 GB, free: 156 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007149/0.8333, allocations: 4.333 MB / 0.5403 GB, free: 11.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.247e-05/0.8334, allocations: 4 kB / 0.5403 GB, free: 11.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.008352/0.8417, allocations: 4.582 MB / 0.5448 GB, free: 7.027 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.204e-05/0.8418, allocations: 12 kB / 0.5448 GB, free: 7.016 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.51e-05/0.8418, allocations: 12 kB / 0.5448 GB, free: 7.004 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.666e-05/0.8419, allocations: 27.83 kB / 0.5448 GB, free: 6.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003898/0.8458, allocations: 0.7931 MB / 0.5456 GB, free: 6.188 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.859e-05/0.8458, allocations: 39.86 kB / 0.5456 GB, free: 6.148 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002623/0.8485, allocations: 364.6 kB / 0.546 GB, free: 5.789 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000358/0.8489, allocations: 140 kB / 0.5461 GB, free: 5.652 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.001456/0.8503, allocations: 0.762 MB / 0.5469 GB, free: 4.883 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006196/0.851, allocations: 213.8 kB / 0.5471 GB, free: 4.672 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009289/0.8603, allocations: 5.171 MB / 0.5521 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-05/0.8603, allocations: 44 kB / 0.5522 GB, free: 15.42 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/0.8604, allocations: 3.938 kB / 0.5522 GB, free: 15.42 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.84e-05/0.8604, allocations: 19.92 kB / 0.5522 GB, free: 15.4 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004762/0.8652, allocations: 2.818 MB / 0.5549 GB, free: 12.63 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/0.8652, allocations: 0 / 0.5549 GB, free: 12.63 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003617/0.8688, allocations: 0.7333 MB / 0.5556 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.184e-05/0.8689, allocations: 16 kB / 0.5557 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003196/0.8692, allocations: 87.97 kB / 0.5557 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.712e-05/0.8693, allocations: 16 kB / 0.5558 GB, free: 11.78 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.8693, allocations: 3.938 kB / 0.5558 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01101/0.8803, allocations: 7.221 MB / 0.5628 GB, free: 4.504 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000787/0.8811, allocations: 318 kB / 0.5631 GB, free: 4.172 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007107/0.8818, allocations: 87.83 kB / 0.5632 GB, free: 4.086 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003424/0.8853, allocations: 223.8 kB / 0.5634 GB, free: 3.867 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006262/0.8859, allocations: 318.8 kB / 0.5637 GB, free: 3.555 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003941/0.8863, allocations: 179.8 kB / 0.5639 GB, free: 3.379 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008925/0.8872, allocations: 0.6824 MB / 0.5646 GB, free: 2.703 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8872, allocations: 0 / 0.5646 GB, free: 2.703 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002673/0.8899, allocations: 1.085 MB / 0.5656 GB, free: 1.617 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.001184/0.8911, allocations: 485.9 kB / 0.5661 GB, free: 1.152 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.02764/0.9188, allocations: 15.27 MB / 0.581 GB, free: 1.871 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/0.9188, allocations: 9.125 kB / 0.581 GB, free: 1.863 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004047/0.9229, allocations: 2.263 MB / 0.5832 GB, free: 15.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006891/0.9298, allocations: 1.248 MB / 0.5844 GB, free: 14.35 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01353/0.9434, allocations: 6.695 MB / 0.591 GB, free: 7.621 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001882/0.9453, allocations: 1.845 MB / 0.5928 GB, free: 5.738 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.007485/0.9528, allocations: 1.756 MB / 0.5945 GB, free: 3.977 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001506/0.9543, allocations: 295.3 kB / 0.5948 GB, free: 3.688 MB / 494.1 MB Notification: Performance of SimCode: time 1.613e-06/0.9543, allocations: 0 / 0.5948 GB, free: 3.688 MB / 494.1 MB Notification: Performance of Templates: time 0.2433/1.198, allocations: 63.79 MB / 0.6571 GB, free: 239.8 MB / 0.5137 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)