Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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.ParallelCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, 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.001205/0.001205, allocations: 190.7 kB / 16.25 MB, free: 6.617 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.468/1.468, 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.001749/0.001749, allocations: 47.94 kB / 278.2 MB, free: 12.69 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2642, allocations: 46.63 MB / 324.8 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005397/0.2697, allocations: 4.954 MB / 329.8 MB, free: 13.99 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002523/0.2722, allocations: 1.311 MB / 331.1 MB, free: 12.89 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003841/0.2726, allocations: 12.34 kB / 331.1 MB, free: 12.89 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004104/0.2731, allocations: 129 kB / 331.2 MB, free: 12.79 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005755/0.2737, allocations: 279.2 kB / 331.5 MB, free: 12.55 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003746/0.2741, allocations: 197.3 kB / 331.7 MB, free: 12.38 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001092/0.2752, allocations: 1.144 MB / 332.9 MB, free: 11.7 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004611/0.2756, allocations: 344 kB / 333.2 MB, free: 11.5 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004908/0.2761, allocations: 447.1 kB / 333.6 MB, free: 11.25 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005183/0.2767, allocations: 0.4941 MB / 334.1 MB, free: 10.79 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001366/0.2768, allocations: 108 kB / 334.2 MB, free: 10.69 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001636/0.277, allocations: 104 kB / 334.3 MB, free: 10.59 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001843/0.2772, allocations: 223.2 kB / 334.5 MB, free: 10.37 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004404/0.2776, allocations: 0.5134 MB / 335.1 MB, free: 9.852 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009745/0.2786, allocations: 1.156 MB / 336.2 MB, free: 8.691 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.2786, allocations: 3.938 kB / 336.2 MB, free: 8.688 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2786, allocations: 3.938 kB / 336.2 MB, free: 8.684 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.2786, allocations: 0 / 336.2 MB, free: 8.684 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002195/0.2808, allocations: 1.321 MB / 337.5 MB, free: 7.289 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.2809, allocations: 8.031 kB / 337.6 MB, free: 7.281 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002112/0.2811, allocations: 107.8 kB / 337.7 MB, free: 7.176 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007509/0.2819, allocations: 0.5396 MB / 338.2 MB, free: 6.594 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002076/0.2821, allocations: 147 kB / 338.3 MB, free: 6.434 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.2822, allocations: 60.38 kB / 338.4 MB, free: 6.375 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.2835, allocations: 0.8355 MB / 339.2 MB, free: 5.438 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.38e-05/0.2836, allocations: 8 kB / 339.2 MB, free: 5.43 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.458e-05/0.2836, allocations: 27.94 kB / 339.3 MB, free: 5.402 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.2837, allocations: 12 kB / 339.3 MB, free: 5.391 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.2848, allocations: 0.5556 MB / 339.8 MB, free: 4.836 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.003332/0.2881, allocations: 2.119 MB / 342 MB, free: 2.605 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001714/0.2898, allocations: 0.9711 MB / 342.9 MB, free: 1.57 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006499/0.2905, allocations: 366.4 kB / 343.3 MB, free: 1.211 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.612e-05/0.2906, allocations: 24.7 kB / 343.3 MB, free: 1.184 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.2906, allocations: 47.16 kB / 343.4 MB, free: 1.129 MB / 270.1 MB Notification: Performance of pre-optimization done (n=73): time 2.986e-06/0.2906, allocations: 0 / 343.4 MB, free: 1.129 MB / 270.1 MB Notification: Performance of matching and sorting (n=73): time 0.004905/0.2955, allocations: 1.73 MB / 345.1 MB, free: 15.31 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004201/0.296, allocations: 0.8234 MB / 345.9 MB, free: 14.29 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007513/0.2967, allocations: 0.6449 MB / 346.6 MB, free: 13.63 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.551e-05/0.2968, allocations: 41.7 kB / 346.6 MB, free: 13.59 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002369/0.2971, allocations: 325.1 kB / 346.9 MB, free: 13.27 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002136/0.2973, allocations: 260.3 kB / 347.2 MB, free: 13.01 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002312/0.2975, allocations: 148.2 kB / 347.3 MB, free: 12.86 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.2977, allocations: 394.7 kB / 347.7 MB, free: 12.46 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004842/0.2982, allocations: 245.9 kB / 347.9 MB, free: 12.22 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000747/0.299, allocations: 0.5234 MB / 348.5 MB, free: 11.6 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/0.3001, allocations: 0.6349 MB / 349.1 MB, free: 10.94 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3001, allocations: 0 / 349.1 MB, free: 10.94 MB / 286.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002339/0.3025, allocations: 1.048 MB / 350.1 MB, free: 9.855 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.6e-05/0.3025, allocations: 89.09 kB / 350.2 MB, free: 9.75 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.3025, allocations: 0 / 350.2 MB, free: 9.75 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006929/0.3032, allocations: 235.2 kB / 350.5 MB, free: 9.508 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005748/0.3038, allocations: 123.9 kB / 350.6 MB, free: 9.387 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007795/0.3116, allocations: 6.943 MB / 357.5 MB, free: 1.883 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009255/0.3126, allocations: 95.52 kB / 357.6 MB, free: 1.789 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.966e-05/0.3127, allocations: 27.98 kB / 357.6 MB, free: 1.762 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (70): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000471/0.3131, allocations: 217.7 kB / 357.9 MB, free: 1.539 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/0.3133, allocations: 94.98 kB / 357.9 MB, free: 1.445 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001557/0.3135, allocations: 87.34 kB / 358 MB, free: 1.355 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.3135, allocations: 15.92 kB / 358 MB, free: 1.34 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.3135, allocations: 0 / 358 MB, free: 1.34 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002125/0.3156, allocations: 1.182 MB / 359.2 MB, free: 44 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003358/0.319, allocations: 1.864 MB / 361.1 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.319, allocations: 0 / 361.1 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006096/0.3196, allocations: 127.9 kB / 361.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005265/0.3202, allocations: 198.4 kB / 361.4 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.01e-05/0.3202, allocations: 15.98 kB / 361.4 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00624/0.3265, allocations: 5.307 MB / 366.7 MB, free: 8.039 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.3265, allocations: 7.969 kB / 366.7 MB, free: 8.031 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003198/0.3297, allocations: 1.311 MB / 368.1 MB, free: 6.688 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005379/0.3303, allocations: 243.9 kB / 368.3 MB, free: 6.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.3304, allocations: 20 kB / 368.3 MB, free: 6.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000641/0.3311, allocations: 43.88 kB / 368.4 MB, free: 6.367 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002051/0.3313, allocations: 60.52 kB / 368.4 MB, free: 6.309 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.463e-05/0.3314, allocations: 19.98 kB / 368.4 MB, free: 6.289 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005577/0.3319, allocations: 463.1 kB / 368.9 MB, free: 5.84 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3319, allocations: 0 / 368.9 MB, free: 5.84 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009443/0.3329, allocations: 275.7 kB / 369.2 MB, free: 5.57 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002019/0.3331, allocations: 127.3 kB / 369.3 MB, free: 5.438 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002263/0.3354, allocations: 1.328 MB / 370.6 MB, free: 4.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.3354, allocations: 0 / 370.6 MB, free: 4.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009119/0.3363, allocations: 0.7028 MB / 371.3 MB, free: 3.281 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.3373, allocations: 231 kB / 371.5 MB, free: 3.059 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002942/0.3403, allocations: 1.87 MB / 373.4 MB, free: 1.148 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004439/0.3407, allocations: 0.9323 MB / 374.3 MB, free: 192 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004294/0.3412, allocations: 110.4 kB / 374.4 MB, free: 76 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001554/0.3413, allocations: 67.42 kB / 374.5 MB, free: 8 kB / 302.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3413, allocations: 3.938 kB / 374.5 MB, free: 4 kB / 302.1 MB Notification: Performance of Templates: time 0.02581/0.3671, allocations: 17.65 MB / 392.2 MB, free: 14.32 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile (rm -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1)