Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.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.00107/0.00107, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.0009759/0.0009759, allocations: 168.7 kB / 15.95 MB, free: 204 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.539/1.539, allocations: 205.4 MB / 222.1 MB, free: 5.629 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.0004963/0.0004963, allocations: 8 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2684, allocations: 47.6 MB / 326.5 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.004402/0.2729, allocations: 4.3 MB / 330.8 MB, free: 14 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002561/0.2755, allocations: 1.203 MB / 332 MB, free: 12.98 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007096/0.2762, allocations: 13.12 kB / 332 MB, free: 12.98 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005452/0.2768, allocations: 111.9 kB / 332.1 MB, free: 12.88 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001046/0.2778, allocations: 278.7 kB / 332.4 MB, free: 12.64 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006151/0.2785, allocations: 165.1 kB / 332.5 MB, free: 12.51 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001498/0.28, allocations: 1.023 MB / 333.6 MB, free: 11.88 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005064/0.2805, allocations: 285.2 kB / 333.8 MB, free: 11.7 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007142/0.2812, allocations: 389.3 kB / 334.2 MB, free: 11.5 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001125/0.2824, allocations: 449 kB / 334.7 MB, free: 11.2 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002882/0.2827, allocations: 65.53 kB / 334.7 MB, free: 11.2 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000427/0.2831, allocations: 69.72 kB / 334.8 MB, free: 11.16 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002397/0.2834, allocations: 175.4 kB / 335 MB, free: 10.98 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004743/0.2838, allocations: 209.2 kB / 335.2 MB, free: 10.77 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009167/0.2848, allocations: 0.853 MB / 336 MB, free: 9.918 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.2848, allocations: 0 / 336 MB, free: 9.918 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.2848, allocations: 0 / 336 MB, free: 9.918 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.607e-05/0.2848, allocations: 0 / 336 MB, free: 9.918 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.002073/0.2869, allocations: 1.173 MB / 337.2 MB, free: 8.676 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.287, allocations: 8.031 kB / 337.2 MB, free: 8.668 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001899/0.2871, allocations: 106.8 kB / 337.3 MB, free: 8.562 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007239/0.2879, allocations: 0.5194 MB / 337.8 MB, free: 8 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001919/0.2881, allocations: 150.4 kB / 338 MB, free: 7.832 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.97e-05/0.2882, allocations: 63.84 kB / 338 MB, free: 7.77 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/0.2895, allocations: 0.8549 MB / 338.9 MB, free: 6.812 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.2895, allocations: 0 / 338.9 MB, free: 6.812 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.42e-05/0.2896, allocations: 28 kB / 338.9 MB, free: 6.785 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/0.2896, allocations: 16 kB / 338.9 MB, free: 6.77 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.2908, allocations: 0.5712 MB / 339.5 MB, free: 6.199 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.003629/0.2944, allocations: 2.127 MB / 341.6 MB, free: 3.973 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001829/0.2963, allocations: 0.988 MB / 342.6 MB, free: 2.922 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006859/0.297, allocations: 394.7 kB / 343 MB, free: 2.531 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.895e-05/0.2971, allocations: 20.59 kB / 343 MB, free: 2.512 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.2971, allocations: 43.22 kB / 343.1 MB, free: 2.461 MB / 270.1 MB Notification: Performance of pre-optimization done (n=73): time 2.094e-06/0.2971, allocations: 0 / 343.1 MB, free: 2.461 MB / 270.1 MB Notification: Performance of matching and sorting (n=73): time 0.004706/0.3018, allocations: 1.875 MB / 344.9 MB, free: 0.4922 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003878/0.3022, allocations: 0.8234 MB / 345.8 MB, free: 15.47 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008112/0.3031, allocations: 0.6332 MB / 346.4 MB, free: 14.83 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.168e-05/0.3031, allocations: 49.7 kB / 346.4 MB, free: 14.78 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002824/0.3034, allocations: 337.2 kB / 346.8 MB, free: 14.44 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000229/0.3037, allocations: 248.2 kB / 347 MB, free: 14.2 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-05/0.3037, allocations: 19.94 kB / 347 MB, free: 14.18 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.3039, allocations: 390.7 kB / 347.4 MB, free: 13.79 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005534/0.3045, allocations: 253.9 kB / 347.7 MB, free: 13.54 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008214/0.3053, allocations: 0.5312 MB / 348.2 MB, free: 12.91 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006967/0.306, allocations: 388 kB / 348.6 MB, free: 12.51 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.306, allocations: 4 kB / 348.6 MB, free: 12.51 MB / 286.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002501/0.3085, allocations: 1.106 MB / 349.7 MB, free: 11.36 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.819e-05/0.3086, allocations: 85.11 kB / 349.8 MB, free: 11.26 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.3086, allocations: 0 / 349.8 MB, free: 11.26 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007247/0.3094, allocations: 255.2 kB / 350 MB, free: 11 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005541/0.3099, allocations: 127.9 kB / 350.1 MB, free: 10.88 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007557/0.3175, allocations: 6.495 MB / 356.6 MB, free: 3.84 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008852/0.3184, allocations: 107.3 kB / 356.7 MB, free: 3.734 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.506e-05/0.3185, allocations: 31.98 kB / 356.8 MB, free: 3.703 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004006/0.3189, allocations: 217.7 kB / 357 MB, free: 3.48 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002117/0.3191, allocations: 91.02 kB / 357.1 MB, free: 3.391 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001995/0.3194, allocations: 91.33 kB / 357.2 MB, free: 3.297 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.3194, allocations: 8 kB / 357.2 MB, free: 3.289 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.3194, allocations: 192 / 357.2 MB, free: 3.289 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002248/0.3216, allocations: 1.256 MB / 358.4 MB, free: 1.918 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00362/0.3253, allocations: 1.93 MB / 360.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.3253, allocations: 0 / 360.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006294/0.3259, allocations: 127.9 kB / 360.5 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005816/0.3265, allocations: 218.5 kB / 360.7 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.825e-05/0.3266, allocations: 15.98 kB / 360.7 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005966/0.3326, allocations: 4.977 MB / 365.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.3326, allocations: 3.938 kB / 365.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002955/0.3355, allocations: 1.381 MB / 367.1 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004757/0.336, allocations: 243.8 kB / 367.3 MB, free: 8.5 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001768/0.3362, allocations: 27.95 kB / 367.3 MB, free: 8.473 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005935/0.3368, allocations: 43.97 kB / 367.4 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/0.337, allocations: 60.56 kB / 367.4 MB, free: 8.371 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.716e-05/0.337, allocations: 16 kB / 367.5 MB, free: 8.355 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005692/0.3376, allocations: 455 kB / 367.9 MB, free: 7.918 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.054e-06/0.3376, allocations: 4 kB / 367.9 MB, free: 7.914 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009607/0.3386, allocations: 287.6 kB / 368.2 MB, free: 7.633 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001717/0.3388, allocations: 115.4 kB / 368.3 MB, free: 7.508 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002099/0.3409, allocations: 1.321 MB / 369.6 MB, free: 6.098 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/0.3409, allocations: 0 / 369.6 MB, free: 6.098 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009853/0.3419, allocations: 0.699 MB / 370.3 MB, free: 5.359 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.3429, allocations: 227.4 kB / 370.5 MB, free: 5.137 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003168/0.3461, allocations: 1.906 MB / 372.4 MB, free: 3.199 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006753/0.3468, allocations: 0.9401 MB / 373.4 MB, free: 2.234 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005228/0.3473, allocations: 102.4 kB / 373.5 MB, free: 2.129 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001891/0.3475, allocations: 63.42 kB / 373.6 MB, free: 2.066 MB / 302.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3475, allocations: 0 / 373.6 MB, free: 2.066 MB / 302.1 MB Notification: Performance of Templates: time 0.03079/0.3783, allocations: 15.89 MB / 389.4 MB, free: 2.145 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1)