Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001474/0.001474, allocations: 109.6 kB / 17.06 MB, free: 6.023 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.001586/0.001586, allocations: 192 kB / 17.99 MB, free: 5.109 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.506/1.506, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.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.001212/0.001212, allocations: 47.94 kB / 327.9 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09264/0.09386, allocations: 46.63 MB / 374.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.2003/0.2942, allocations: 4.922 MB / 379.4 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002449/0.2967, allocations: 1.336 MB / 380.7 MB, free: 9.637 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003067/0.297, allocations: 8.25 kB / 380.7 MB, free: 9.637 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003736/0.2975, allocations: 168.7 kB / 380.9 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005433/0.298, allocations: 318.1 kB / 381.2 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004214/0.2984, allocations: 227 kB / 381.4 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001115/0.2996, allocations: 1.156 MB / 382.6 MB, free: 9.109 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005638/0.3001, allocations: 333 kB / 382.9 MB, free: 9.043 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004838/0.3006, allocations: 451 kB / 383.4 MB, free: 8.93 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005764/0.3012, allocations: 0.4948 MB / 383.9 MB, free: 8.688 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001732/0.3014, allocations: 101.5 kB / 384 MB, free: 8.688 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002069/0.3016, allocations: 103.3 kB / 384.1 MB, free: 8.688 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001948/0.3018, allocations: 220.3 kB / 384.3 MB, free: 8.547 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005004/0.3023, allocations: 0.5114 MB / 384.8 MB, free: 8.254 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00147/0.3038, allocations: 1.178 MB / 386 MB, free: 7.824 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.585e-06/0.3038, allocations: 3.938 kB / 386 MB, free: 7.82 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.3038, allocations: 0 / 386 MB, free: 7.82 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.122e-05/0.3039, allocations: 5.938 kB / 386 MB, free: 7.816 MB / 318.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.002597/0.3065, allocations: 1.309 MB / 387.3 MB, free: 6.906 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.3065, allocations: 8.688 kB / 387.3 MB, free: 6.906 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002194/0.3067, allocations: 111 kB / 387.4 MB, free: 6.855 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008765/0.3076, allocations: 0.5439 MB / 387.9 MB, free: 6.457 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000192/0.3078, allocations: 142 kB / 388.1 MB, free: 6.344 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.3079, allocations: 68 kB / 388.1 MB, free: 6.316 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001464/0.3094, allocations: 0.8438 MB / 389 MB, free: 5.777 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.3095, allocations: 0 / 389 MB, free: 5.777 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.261e-05/0.3095, allocations: 28.59 kB / 389 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.233e-05/0.3096, allocations: 14.84 kB / 389 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.3108, allocations: 0.5547 MB / 389.6 MB, free: 5.582 MB / 318.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.004293/0.3151, allocations: 2.102 MB / 391.7 MB, free: 4.375 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001911/0.317, allocations: 0.9622 MB / 392.7 MB, free: 3.805 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007398/0.3178, allocations: 372.4 kB / 393 MB, free: 3.664 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.053e-05/0.3179, allocations: 22.45 kB / 393 MB, free: 3.656 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.46e-05/0.3179, allocations: 47.27 kB / 393.1 MB, free: 3.609 MB / 318.1 MB Notification: Performance of pre-optimization done (n=73): time 3.216e-06/0.3179, allocations: 0 / 393.1 MB, free: 3.609 MB / 318.1 MB Notification: Performance of matching and sorting (n=73): time 0.005335/0.3233, allocations: 1.734 MB / 394.8 MB, free: 2.789 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002091/0.3235, allocations: 0.8271 MB / 395.6 MB, free: 1.781 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009453/0.3245, allocations: 0.6342 MB / 396.3 MB, free: 1.5 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.47e-05/0.3246, allocations: 45.45 kB / 396.3 MB, free: 1.457 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002445/0.3248, allocations: 336.9 kB / 396.7 MB, free: 1.188 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001843/0.325, allocations: 250.8 kB / 396.9 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002367/0.3252, allocations: 148.1 kB / 397 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.3254, allocations: 388.6 kB / 397.4 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005841/0.326, allocations: 244 kB / 397.7 MB, free: 500 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008028/0.3268, allocations: 0.5291 MB / 398.2 MB, free: 84 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/0.3282, allocations: 0.6501 MB / 398.8 MB, free: 15.78 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.3282, allocations: 2.125 kB / 398.8 MB, free: 15.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002789/0.331, allocations: 1.051 MB / 399.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.511e-05/0.3311, allocations: 83.97 kB / 400 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.3311, allocations: 2.781 kB / 400 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007627/0.3319, allocations: 237.2 kB / 400.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006164/0.3325, allocations: 123.4 kB / 400.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008667/0.3412, allocations: 6.933 MB / 407.3 MB, free: 8.777 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/0.3425, allocations: 97.44 kB / 407.4 MB, free: 8.715 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-05/0.3426, allocations: 25.42 kB / 407.4 MB, free: 8.707 MB / 334.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.0005078/0.3431, allocations: 219.9 kB / 407.6 MB, free: 8.527 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002028/0.3433, allocations: 85.38 kB / 407.7 MB, free: 8.488 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001962/0.3435, allocations: 89.31 kB / 407.8 MB, free: 8.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/0.3435, allocations: 15.36 kB / 407.8 MB, free: 8.402 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-05/0.3436, allocations: 3.625 kB / 407.8 MB, free: 8.402 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002484/0.346, allocations: 1.184 MB / 409 MB, free: 7.492 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004317/0.3504, allocations: 1.867 MB / 410.8 MB, free: 6.215 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.044e-06/0.3504, allocations: 0 / 410.8 MB, free: 6.215 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007124/0.3511, allocations: 128.9 kB / 411 MB, free: 6.184 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000638/0.3518, allocations: 192.8 kB / 411.2 MB, free: 6.082 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.245e-05/0.3519, allocations: 21.08 kB / 411.2 MB, free: 6.066 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006635/0.3585, allocations: 5.307 MB / 416.5 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.3585, allocations: 5.062 kB / 416.5 MB, free: 1.027 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003464/0.362, allocations: 1.318 MB / 417.8 MB, free: 272 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005512/0.3626, allocations: 237.9 kB / 418 MB, free: 48 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.3627, allocations: 19.56 kB / 418.1 MB, free: 36 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000628/0.3633, allocations: 40.16 kB / 418.1 MB, free: 16 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002234/0.3636, allocations: 61.83 kB / 418.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-05/0.3636, allocations: 25.05 kB / 418.2 MB, free: 15.97 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006287/0.3643, allocations: 455 kB / 418.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3643, allocations: 4 kB / 418.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001031/0.3653, allocations: 286.5 kB / 418.9 MB, free: 15.66 MB / 350.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.0001902/0.3655, allocations: 124.9 kB / 419 MB, free: 15.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002112/0.3676, allocations: 1.296 MB / 420.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.3677, allocations: 1.375 kB / 420.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009866/0.3686, allocations: 0.6989 MB / 421 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.3697, allocations: 225 kB / 421.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003011/0.3727, allocations: 1.602 MB / 422.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005378/0.3733, allocations: 0.9362 MB / 423.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004947/0.3738, allocations: 110.4 kB / 423.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/0.3739, allocations: 63.44 kB / 424 MB, free: 11.36 MB / 350.1 MB Notification: Performance of SimCode: time 9.12e-07/0.374, allocations: 0 / 424 MB, free: 11.36 MB / 350.1 MB Notification: Performance of Templates: time 0.0286/0.4026, allocations: 18.08 MB / 442 MB, free: 9.262 MB / 366.1 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile (rm -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1)