Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.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.ParallelPumpDropOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, 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.001228/0.001228, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.41/1.41, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.001225/0.001225, allocations: 59.91 kB / 278.7 MB, free: 12.37 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2549, allocations: 46.63 MB / 325.3 MB, free: 1.844 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.005872/0.2608, allocations: 5.186 MB / 330.5 MB, free: 13.71 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003007/0.2639, allocations: 1.378 MB / 331.9 MB, free: 12.55 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003962/0.2643, allocations: 9.75 kB / 331.9 MB, free: 12.55 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005245/0.2648, allocations: 164.5 kB / 332 MB, free: 12.41 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007278/0.2656, allocations: 331.7 kB / 332.4 MB, free: 12.12 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000521/0.2661, allocations: 249.2 kB / 332.6 MB, free: 11.91 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001195/0.2673, allocations: 1.212 MB / 333.8 MB, free: 11.18 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005184/0.2678, allocations: 342.6 kB / 334.2 MB, free: 10.99 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004436/0.2683, allocations: 473.2 kB / 334.6 MB, free: 10.57 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005075/0.2688, allocations: 0.5291 MB / 335.1 MB, free: 10.04 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001467/0.269, allocations: 112 kB / 335.3 MB, free: 9.926 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001848/0.2692, allocations: 108 kB / 335.4 MB, free: 9.82 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000192/0.2694, allocations: 231.2 kB / 335.6 MB, free: 9.594 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004543/0.2698, allocations: 0.5405 MB / 336.1 MB, free: 9.051 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.2708, allocations: 1.238 MB / 337.4 MB, free: 7.809 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2708, allocations: 0 / 337.4 MB, free: 7.809 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2709, allocations: 0 / 337.4 MB, free: 7.809 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.2709, allocations: 0 / 337.4 MB, free: 7.809 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.00236/0.2732, allocations: 1.395 MB / 338.8 MB, free: 6.34 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.2733, allocations: 8.031 kB / 338.8 MB, free: 6.332 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001966/0.2735, allocations: 111.7 kB / 338.9 MB, free: 6.223 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008963/0.2744, allocations: 0.5909 MB / 339.5 MB, free: 5.594 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003034/0.2747, allocations: 170.9 kB / 339.6 MB, free: 5.41 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.2748, allocations: 60.38 kB / 339.7 MB, free: 5.352 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001483/0.2763, allocations: 0.9057 MB / 340.6 MB, free: 4.344 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.2763, allocations: 3.938 kB / 340.6 MB, free: 4.34 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-05/0.2764, allocations: 28 kB / 340.6 MB, free: 4.312 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/0.2764, allocations: 12 kB / 340.6 MB, free: 4.301 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001513/0.278, allocations: 0.657 MB / 341.3 MB, free: 3.645 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.003329/0.2813, allocations: 2.186 MB / 343.5 MB, free: 1.352 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001725/0.283, allocations: 1.006 MB / 344.5 MB, free: 288 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008771/0.2839, allocations: 435.2 kB / 344.9 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.596e-05/0.284, allocations: 16.64 kB / 344.9 MB, free: 15.84 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/0.284, allocations: 51.22 kB / 345 MB, free: 15.78 MB / 286.1 MB Notification: Performance of pre-optimization done (n=77): time 2.625e-06/0.284, allocations: 0 / 345 MB, free: 15.78 MB / 286.1 MB Notification: Performance of matching and sorting (n=77): time 0.00521/0.2893, allocations: 1.867 MB / 346.8 MB, free: 13.82 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003578/0.2896, allocations: 0.835 MB / 347.7 MB, free: 12.79 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008094/0.2905, allocations: 0.6646 MB / 348.3 MB, free: 12.11 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.286e-05/0.2905, allocations: 45.7 kB / 348.4 MB, free: 12.06 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002648/0.2908, allocations: 349.3 kB / 348.7 MB, free: 11.71 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002041/0.291, allocations: 272 kB / 349 MB, free: 11.45 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002273/0.2913, allocations: 146.7 kB / 349.1 MB, free: 11.29 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.2914, allocations: 337.9 kB / 349.5 MB, free: 10.96 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007228/0.2921, allocations: 293.8 kB / 349.8 MB, free: 10.67 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/0.2931, allocations: 0.5741 MB / 350.3 MB, free: 9.996 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001508/0.2947, allocations: 0.7247 MB / 351.1 MB, free: 9.246 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.2947, allocations: 4 kB / 351.1 MB, free: 9.242 MB / 286.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002829/0.2975, allocations: 1.153 MB / 352.2 MB, free: 8.055 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.84e-05/0.2976, allocations: 81.11 kB / 352.3 MB, free: 7.957 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-06/0.2976, allocations: 3.984 kB / 352.3 MB, free: 7.953 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006689/0.2983, allocations: 235.3 kB / 352.5 MB, free: 7.711 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006872/0.299, allocations: 155.8 kB / 352.7 MB, free: 7.559 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008158/0.3071, allocations: 6.943 MB / 359.6 MB, free: 48 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009601/0.3081, allocations: 111.2 kB / 359.7 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-05/0.3082, allocations: 20 kB / 359.8 MB, free: 15.92 MB / 302.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 (73): * Single equations (assignments): 66 * 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.0003644/0.3086, allocations: 225.8 kB / 360 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/0.3087, allocations: 98.84 kB / 360.1 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001795/0.3089, allocations: 100.5 kB / 360.2 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.044e-06/0.3089, allocations: 8 kB / 360.2 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.3089, allocations: 0 / 360.2 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002622/0.3116, allocations: 1.292 MB / 361.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003903/0.3155, allocations: 2.011 MB / 363.5 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.3155, allocations: 4 kB / 363.5 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007315/0.3162, allocations: 155.8 kB / 363.6 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005298/0.3168, allocations: 202.7 kB / 363.8 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.927e-05/0.3168, allocations: 16 kB / 363.8 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006077/0.3229, allocations: 5.342 MB / 369.2 MB, free: 5.867 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3229, allocations: 4.031 kB / 369.2 MB, free: 5.863 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003365/0.3263, allocations: 1.48 MB / 370.7 MB, free: 4.355 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003339/0.3267, allocations: 255.8 kB / 370.9 MB, free: 4.086 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.3268, allocations: 20 kB / 370.9 MB, free: 4.066 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006809/0.3275, allocations: 59.88 kB / 371 MB, free: 4.008 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/0.3276, allocations: 68.56 kB / 371.1 MB, free: 3.941 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.346e-05/0.3277, allocations: 16 kB / 371.1 MB, free: 3.926 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000558/0.3283, allocations: 483 kB / 371.6 MB, free: 3.457 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.553e-06/0.3283, allocations: 0 / 371.6 MB, free: 3.457 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008411/0.3291, allocations: 291.7 kB / 371.8 MB, free: 3.172 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (65): * Single equations (assignments): 62 * 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.0001606/0.3293, allocations: 123.1 kB / 372 MB, free: 3.039 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002559/0.3318, allocations: 1.43 MB / 373.4 MB, free: 1.52 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3319, allocations: 0 / 373.4 MB, free: 1.52 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001425/0.3333, allocations: 0.8003 MB / 374.2 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009806/0.3343, allocations: 242.8 kB / 374.4 MB, free: 452 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002901/0.3372, allocations: 1.663 MB / 376.1 MB, free: 14.74 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005497/0.3378, allocations: 0.952 MB / 377 MB, free: 13.76 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004637/0.3382, allocations: 106.7 kB / 377.1 MB, free: 13.65 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/0.3384, allocations: 63.44 kB / 377.2 MB, free: 13.59 MB / 318.1 MB Notification: Performance of SimCode: time 1.163e-06/0.3384, allocations: 4 kB / 377.2 MB, free: 13.59 MB / 318.1 MB Notification: Performance of Templates: time 0.03046/0.3689, allocations: 18.73 MB / 395.9 MB, free: 10.83 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1)