Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001234/0.001235, allocations: 195.3 kB / 16.14 MB, free: 6.707 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.508/1.508, allocations: 205.1 MB / 222 MB, free: 4.957 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.001187/0.001187, allocations: 47.94 kB / 278 MB, free: 13.01 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2703, allocations: 46.62 MB / 324.7 MB, free: 1.832 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004585/0.275, allocations: 3.529 MB / 328.2 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002016/0.277, allocations: 0.9827 MB / 329.2 MB, free: 14.22 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002973/0.2773, allocations: 9.719 kB / 329.2 MB, free: 14.22 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003699/0.2777, allocations: 85.39 kB / 329.3 MB, free: 14.15 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004445/0.2782, allocations: 160.6 kB / 329.4 MB, free: 14.02 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003073/0.2785, allocations: 116.8 kB / 329.5 MB, free: 13.92 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000726/0.2792, allocations: 0.5977 MB / 330.1 MB, free: 13.56 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003427/0.2796, allocations: 174.2 kB / 330.3 MB, free: 13.46 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002949/0.2799, allocations: 224.7 kB / 330.5 MB, free: 13.34 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003299/0.2802, allocations: 261.5 kB / 330.8 MB, free: 13.17 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.649e-05/0.2803, allocations: 37.44 kB / 330.8 MB, free: 13.17 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.2804, allocations: 43.84 kB / 330.9 MB, free: 13.16 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.2806, allocations: 101.2 kB / 331 MB, free: 13.08 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002808/0.2808, allocations: 276.9 kB / 331.2 MB, free: 12.9 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006676/0.2815, allocations: 0.6219 MB / 331.9 MB, free: 12.44 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2815, allocations: 0 / 331.9 MB, free: 12.44 MB / 270.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.2815, allocations: 0 / 331.9 MB, free: 12.44 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.2816, allocations: 5.156 kB / 331.9 MB, free: 12.43 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001448/0.283, allocations: 0.8357 MB / 332.7 MB, free: 11.72 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.2831, allocations: 9.719 kB / 332.7 MB, free: 11.72 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001347/0.2832, allocations: 63.75 kB / 332.8 MB, free: 11.69 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005621/0.2838, allocations: 392.6 kB / 333.2 MB, free: 11.34 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/0.2839, allocations: 65.72 kB / 333.2 MB, free: 11.29 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.216e-05/0.284, allocations: 33.44 kB / 333.2 MB, free: 11.27 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007583/0.2847, allocations: 459.7 kB / 333.7 MB, free: 10.92 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.2847, allocations: 1.156 kB / 333.7 MB, free: 10.92 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.504e-05/0.2848, allocations: 16.47 kB / 333.7 MB, free: 10.91 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.2848, allocations: 11.09 kB / 333.7 MB, free: 10.91 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005631/0.2854, allocations: 286.1 kB / 334 MB, free: 10.67 MB / 270.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.002127/0.2875, allocations: 1.29 MB / 335.3 MB, free: 9.289 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/0.2887, allocations: 441.2 kB / 335.7 MB, free: 8.832 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00028/0.289, allocations: 136.8 kB / 335.9 MB, free: 8.695 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.742e-05/0.2891, allocations: 11.98 kB / 335.9 MB, free: 8.684 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.2891, allocations: 42.56 kB / 335.9 MB, free: 8.633 MB / 270.1 MB Notification: Performance of pre-optimization done (n=32): time 2.003e-06/0.2891, allocations: 0 / 335.9 MB, free: 8.633 MB / 270.1 MB Notification: Performance of matching and sorting (n=32): time 0.001224/0.2903, allocations: 0.5985 MB / 336.5 MB, free: 7.984 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002236/0.2906, allocations: 460.9 kB / 337 MB, free: 7.43 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004893/0.2911, allocations: 453.8 kB / 337.4 MB, free: 6.977 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/0.2911, allocations: 33.7 kB / 337.4 MB, free: 6.938 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.2913, allocations: 232.5 kB / 337.7 MB, free: 6.707 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.81e-05/0.2914, allocations: 106.4 kB / 337.8 MB, free: 6.602 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001531/0.2916, allocations: 81.92 kB / 337.8 MB, free: 6.516 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.2917, allocations: 350.8 kB / 338.2 MB, free: 6.164 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002392/0.2919, allocations: 112.6 kB / 338.3 MB, free: 6.055 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003435/0.2923, allocations: 256 kB / 338.6 MB, free: 5.754 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004755/0.2928, allocations: 280.3 kB / 338.8 MB, free: 5.469 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.2928, allocations: 0 / 338.8 MB, free: 5.469 MB / 270.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007014/0.2935, allocations: 416.9 kB / 339.2 MB, free: 5.043 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.268e-05/0.2936, allocations: 29.7 kB / 339.3 MB, free: 5.008 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.2936, allocations: 4.031 kB / 339.3 MB, free: 5.004 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001827/0.2938, allocations: 49.69 kB / 339.3 MB, free: 4.949 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000324/0.2941, allocations: 71.89 kB / 339.4 MB, free: 4.879 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002425/0.2965, allocations: 2.744 MB / 342.1 MB, free: 1.867 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000429/0.297, allocations: 47.61 kB / 342.2 MB, free: 1.82 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.729e-05/0.297, allocations: 12 kB / 342.2 MB, free: 1.809 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002111/0.2972, allocations: 165.7 kB / 342.3 MB, free: 1.637 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.477e-05/0.2973, allocations: 51.44 kB / 342.4 MB, free: 1.586 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.24e-05/0.2974, allocations: 52.69 kB / 342.5 MB, free: 1.535 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.2974, allocations: 4 kB / 342.5 MB, free: 1.531 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.2974, allocations: 4 kB / 342.5 MB, free: 1.527 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007192/0.2982, allocations: 0.6454 MB / 343.1 MB, free: 0.7773 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/0.2995, allocations: 0.912 MB / 344 MB, free: 15.8 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.2995, allocations: 0 / 344 MB, free: 15.8 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003415/0.2998, allocations: 71.91 kB / 344.1 MB, free: 15.73 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.2999, allocations: 3.984 kB / 344.1 MB, free: 15.73 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.513e-05/0.2999, allocations: 8 kB / 344.1 MB, free: 15.72 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.2999, allocations: 0 / 344.1 MB, free: 15.72 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2999, allocations: 0 / 344.1 MB, free: 15.72 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000819/0.3007, allocations: 0.5191 MB / 344.6 MB, free: 15.18 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001863/0.3009, allocations: 164.5 kB / 344.8 MB, free: 15 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.685e-05/0.301, allocations: 12 kB / 344.8 MB, free: 14.99 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003102/0.3013, allocations: 15.98 kB / 344.8 MB, free: 14.98 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.943e-05/0.3014, allocations: 23.91 kB / 344.8 MB, free: 14.95 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.3014, allocations: 4 kB / 344.8 MB, free: 14.95 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003544/0.3018, allocations: 327.1 kB / 345.2 MB, free: 14.63 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3018, allocations: 0 / 345.2 MB, free: 14.63 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004505/0.3022, allocations: 127.8 kB / 345.3 MB, free: 14.51 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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.0001538/0.3024, allocations: 111.2 kB / 345.4 MB, free: 14.39 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009161/0.3033, allocations: 0.559 MB / 345.9 MB, free: 13.79 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3033, allocations: 0 / 345.9 MB, free: 13.79 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002707/0.3036, allocations: 127.8 kB / 346.1 MB, free: 13.66 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008395/0.3045, allocations: 129 kB / 346.2 MB, free: 13.54 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001562/0.306, allocations: 1.022 MB / 347.2 MB, free: 12.5 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/0.3064, allocations: 0.812 MB / 348 MB, free: 11.66 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002579/0.3067, allocations: 68.34 kB / 348.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.3068, allocations: 35.44 kB / 348.1 MB, free: 11.55 MB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3068, allocations: 0 / 348.1 MB, free: 11.55 MB / 286.1 MB Notification: Performance of Templates: time 0.01476/0.3216, allocations: 7.653 MB / 355.8 MB, free: 3.891 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1)