Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.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.PumpDropOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001223/0.001224, allocations: 177.3 kB / 15.94 MB, free: 228 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.708/1.708, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.0006118/0.0006118, allocations: 12 kB / 278.9 MB, free: 12.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2529, allocations: 47.59 MB / 326.4 MB, free: 1.613 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.002918/0.2559, allocations: 2.987 MB / 329.4 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.2573, allocations: 0.9591 MB / 330.4 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.2574, allocations: 9.812 kB / 330.4 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001824/0.2576, allocations: 74.91 kB / 330.5 MB, free: 14.44 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004194/0.258, allocations: 218.1 kB / 330.7 MB, free: 14.25 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002011/0.2583, allocations: 100.6 kB / 330.8 MB, free: 14.17 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005531/0.2588, allocations: 488.6 kB / 331.3 MB, free: 13.87 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002674/0.2591, allocations: 162.9 kB / 331.4 MB, free: 13.77 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002401/0.2593, allocations: 220.1 kB / 331.6 MB, free: 13.66 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002812/0.2596, allocations: 254.5 kB / 331.9 MB, free: 13.49 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.59e-05/0.2597, allocations: 36.92 kB / 331.9 MB, free: 13.49 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.48e-05/0.2598, allocations: 33.88 kB / 331.9 MB, free: 13.49 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.579e-05/0.2599, allocations: 94.59 kB / 332 MB, free: 13.41 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.26, allocations: 138.9 kB / 332.2 MB, free: 13.32 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004127/0.2604, allocations: 0.4959 MB / 332.7 MB, free: 12.95 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.2604, allocations: 4 kB / 332.7 MB, free: 12.95 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2605, allocations: 0 / 332.7 MB, free: 12.95 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.2605, allocations: 0.9062 kB / 332.7 MB, free: 12.95 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001457/0.2619, allocations: 0.8361 MB / 333.5 MB, free: 12.25 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.262, allocations: 9.75 kB / 333.5 MB, free: 12.25 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001446/0.2621, allocations: 66.47 kB / 333.6 MB, free: 12.22 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006995/0.2629, allocations: 402.1 kB / 334 MB, free: 11.87 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002289/0.2631, allocations: 83.14 kB / 334.1 MB, free: 11.82 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.999e-05/0.2632, allocations: 38.75 kB / 334.1 MB, free: 11.8 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009508/0.2641, allocations: 0.519 MB / 334.6 MB, free: 11.3 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.2642, allocations: 0 / 334.6 MB, free: 11.3 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.178e-05/0.2642, allocations: 16 kB / 334.6 MB, free: 11.29 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.2643, allocations: 8 kB / 334.6 MB, free: 11.28 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009306/0.2652, allocations: 395.7 kB / 335 MB, free: 10.89 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.001943/0.2672, allocations: 1.324 MB / 336.4 MB, free: 9.477 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.2683, allocations: 0.5245 MB / 336.9 MB, free: 8.926 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.071e-05/0.2683, allocations: 4 kB / 336.9 MB, free: 8.922 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.2684, allocations: 42.56 kB / 336.9 MB, free: 8.871 MB / 270.1 MB Notification: Performance of pre-optimization done (n=37): time 1.863e-06/0.2684, allocations: 0 / 336.9 MB, free: 8.871 MB / 270.1 MB Notification: Performance of matching and sorting (n=37): time 0.001725/0.2701, allocations: 0.8022 MB / 337.7 MB, free: 8.02 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000179/0.2703, allocations: 452.8 kB / 338.2 MB, free: 7.473 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000453/0.2708, allocations: 450 kB / 338.6 MB, free: 7.02 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.74e-05/0.2708, allocations: 33.7 kB / 338.6 MB, free: 6.98 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.271, allocations: 244.5 kB / 338.9 MB, free: 6.738 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.2711, allocations: 138 kB / 339 MB, free: 6.602 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.858e-05/0.2711, allocations: 4 kB / 339 MB, free: 6.598 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.2713, allocations: 362.8 kB / 339.4 MB, free: 6.234 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004201/0.2717, allocations: 163.9 kB / 339.5 MB, free: 6.074 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000528/0.2722, allocations: 318.2 kB / 339.8 MB, free: 5.711 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000446/0.2727, allocations: 209.4 kB / 340 MB, free: 5.5 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2727, allocations: 0 / 340 MB, free: 5.5 MB / 270.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001053/0.2738, allocations: 0.5388 MB / 340.6 MB, free: 4.941 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.358e-05/0.2738, allocations: 29.7 kB / 340.6 MB, free: 4.906 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2738, allocations: 7.938 kB / 340.6 MB, free: 4.898 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001559/0.274, allocations: 41.7 kB / 340.7 MB, free: 4.852 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004402/0.2744, allocations: 107.9 kB / 340.8 MB, free: 4.746 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002242/0.2767, allocations: 2.763 MB / 343.5 MB, free: 1.719 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005743/0.2773, allocations: 63.84 kB / 343.6 MB, free: 1.656 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.046e-05/0.2773, allocations: 12 kB / 343.6 MB, free: 1.645 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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002194/0.2776, allocations: 177.7 kB / 343.8 MB, free: 1.461 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.522e-05/0.2776, allocations: 59.34 kB / 343.8 MB, free: 1.402 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.2778, allocations: 56.94 kB / 343.9 MB, free: 1.348 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.2778, allocations: 7.953 kB / 343.9 MB, free: 1.34 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.2778, allocations: 3.984 kB / 343.9 MB, free: 1.336 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001103/0.2789, allocations: 0.7827 MB / 344.7 MB, free: 460 kB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001737/0.2806, allocations: 1.064 MB / 345.7 MB, free: 15.32 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.2807, allocations: 3.953 kB / 345.8 MB, free: 15.32 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004733/0.2811, allocations: 111.8 kB / 345.9 MB, free: 15.21 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.2811, allocations: 0 / 345.9 MB, free: 15.21 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.686e-05/0.2812, allocations: 8 kB / 345.9 MB, free: 15.2 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.2812, allocations: 0 / 345.9 MB, free: 15.2 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2812, allocations: 3.938 kB / 345.9 MB, free: 15.2 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/0.2826, allocations: 0.741 MB / 346.6 MB, free: 14.44 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002233/0.2829, allocations: 168.4 kB / 346.8 MB, free: 14.25 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.169e-05/0.2829, allocations: 12 kB / 346.8 MB, free: 14.24 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004183/0.2834, allocations: 43.94 kB / 346.8 MB, free: 14.2 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.698e-05/0.2835, allocations: 27.95 kB / 346.9 MB, free: 14.17 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.185e-05/0.2835, allocations: 8 kB / 346.9 MB, free: 14.16 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003611/0.2839, allocations: 314.9 kB / 347.2 MB, free: 13.86 MB / 286.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.2839, allocations: 0 / 347.2 MB, free: 13.86 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005314/0.2844, allocations: 139.8 kB / 347.3 MB, free: 13.72 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 (37): * Single equations (assignments): 37 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001667/0.2846, allocations: 107.2 kB / 347.4 MB, free: 13.61 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001402/0.286, allocations: 0.6885 MB / 348.1 MB, free: 12.88 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.286, allocations: 11.88 kB / 348.1 MB, free: 12.87 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000472/0.2865, allocations: 207.6 kB / 348.3 MB, free: 12.67 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006429/0.2871, allocations: 129.9 kB / 348.4 MB, free: 12.54 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.2887, allocations: 1.144 MB / 349.6 MB, free: 11.37 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.2891, allocations: 0.8469 MB / 350.4 MB, free: 10.5 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002324/0.2893, allocations: 51.44 kB / 350.5 MB, free: 10.45 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.2894, allocations: 39.42 kB / 350.5 MB, free: 10.41 MB / 286.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2894, allocations: 4 kB / 350.5 MB, free: 10.41 MB / 286.1 MB Notification: Performance of Templates: time 0.01229/0.3017, allocations: 7.577 MB / 358.1 MB, free: 2.82 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) Environment - environmentSimulation: