Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.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.PumpAndValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.001401, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001649/0.001649, allocations: 198.5 kB / 16.14 MB, free: 6.707 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.491/1.491, allocations: 205.1 MB / 222 MB, free: 4.953 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.001143/0.001143, allocations: 55.91 kB / 278.1 MB, free: 13.02 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2263, allocations: 46.63 MB / 324.7 MB, free: 1.836 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005463/0.2318, allocations: 4.378 MB / 329.1 MB, free: 14.37 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002593/0.2344, allocations: 1.26 MB / 330.3 MB, free: 13.32 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002731/0.2347, allocations: 11.47 kB / 330.3 MB, free: 13.32 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003488/0.2351, allocations: 105.3 kB / 330.4 MB, free: 13.23 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004651/0.2356, allocations: 225.6 kB / 330.6 MB, free: 13.04 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003788/0.2359, allocations: 172.3 kB / 330.8 MB, free: 12.9 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009259/0.2369, allocations: 0.8914 MB / 331.7 MB, free: 12.36 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003686/0.2373, allocations: 223.1 kB / 331.9 MB, free: 12.23 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004456/0.2377, allocations: 334.3 kB / 332.3 MB, free: 12.05 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003862/0.2381, allocations: 386.8 kB / 332.6 MB, free: 11.79 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.2382, allocations: 53.22 kB / 332.7 MB, free: 11.79 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.2384, allocations: 55.78 kB / 332.7 MB, free: 11.79 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.2385, allocations: 151.9 kB / 332.9 MB, free: 11.66 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003502/0.2389, allocations: 391.8 kB / 333.3 MB, free: 11.41 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007294/0.2396, allocations: 0.8871 MB / 334.2 MB, free: 10.67 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2396, allocations: 0 / 334.2 MB, free: 10.67 MB / 270.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.2396, allocations: 0 / 334.2 MB, free: 10.67 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.198e-06/0.2396, allocations: 4 kB / 334.2 MB, free: 10.67 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: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.001921/0.2416, allocations: 1.105 MB / 335.3 MB, free: 9.5 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.2416, allocations: 11.97 kB / 335.3 MB, free: 9.488 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001412/0.2417, allocations: 84 kB / 335.4 MB, free: 9.406 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006443/0.2424, allocations: 488.5 kB / 335.8 MB, free: 8.887 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001437/0.2426, allocations: 101 kB / 335.9 MB, free: 8.777 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.148e-05/0.2426, allocations: 40.38 kB / 336 MB, free: 8.738 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.2437, allocations: 0.6516 MB / 336.6 MB, free: 8.012 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.2438, allocations: 0 / 336.6 MB, free: 8.012 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.449e-05/0.2438, allocations: 27.94 kB / 336.7 MB, free: 7.984 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.2439, allocations: 12 kB / 336.7 MB, free: 7.973 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.2449, allocations: 451.6 kB / 337.1 MB, free: 7.535 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.002965/0.2479, allocations: 1.963 MB / 339.1 MB, free: 5.445 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001903/0.2498, allocations: 0.6831 MB / 339.8 MB, free: 4.738 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000609/0.2504, allocations: 266 kB / 340 MB, free: 4.477 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.429e-05/0.2505, allocations: 12.42 kB / 340 MB, free: 4.465 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.2505, allocations: 47 kB / 340.1 MB, free: 4.406 MB / 270.1 MB Notification: Performance of pre-optimization done (n=54): time 3.136e-06/0.2505, allocations: 0 / 340.1 MB, free: 4.406 MB / 270.1 MB Notification: Performance of matching and sorting (n=54): time 0.005094/0.2556, allocations: 1.484 MB / 341.6 MB, free: 2.852 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002829/0.2559, allocations: 0.5683 MB / 342.1 MB, free: 2.148 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006131/0.2565, allocations: 0.5381 MB / 342.7 MB, free: 1.602 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 6.018e-05/0.2566, allocations: 41.7 kB / 342.7 MB, free: 1.555 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002048/0.2568, allocations: 280.6 kB / 343 MB, free: 1.277 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001543/0.257, allocations: 193.2 kB / 343.2 MB, free: 1.086 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/0.2572, allocations: 106.2 kB / 343.3 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.2573, allocations: 374.7 kB / 343.6 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005125/0.2578, allocations: 193 kB / 343.8 MB, free: 420 kB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006955/0.2585, allocations: 420.3 kB / 344.2 MB, free: 15.92 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.2596, allocations: 488.5 kB / 344.7 MB, free: 15.42 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.2596, allocations: 0 / 344.7 MB, free: 15.42 MB / 286.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002337/0.2619, allocations: 0.8029 MB / 345.5 MB, free: 14.59 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.853e-05/0.262, allocations: 37.69 kB / 345.5 MB, free: 14.55 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.262, allocations: 0 / 345.5 MB, free: 14.55 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001043/0.2631, allocations: 218.4 kB / 345.8 MB, free: 14.33 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000748/0.2638, allocations: 131.8 kB / 345.9 MB, free: 14.2 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007226/0.2711, allocations: 5.156 MB / 351 MB, free: 8.645 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007944/0.2719, allocations: 79.53 kB / 351.1 MB, free: 8.566 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.427e-05/0.2719, allocations: 20 kB / 351.1 MB, free: 8.547 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * 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 {(5,2), (1,1), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0003621/0.2723, allocations: 193.7 kB / 351.3 MB, free: 8.348 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.2724, allocations: 71.16 kB / 351.4 MB, free: 8.277 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002352/0.2748, allocations: 0.7773 MB / 352.2 MB, free: 7.477 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/0.2748, allocations: 4 kB / 352.2 MB, free: 7.473 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.2748, allocations: 0 / 352.2 MB, free: 7.473 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002231/0.2771, allocations: 1.043 MB / 353.2 MB, free: 6.32 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003263/0.2804, allocations: 1.502 MB / 354.7 MB, free: 4.75 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.2804, allocations: 4 kB / 354.7 MB, free: 4.746 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007842/0.2812, allocations: 127.8 kB / 354.9 MB, free: 4.621 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008662/0.2821, allocations: 181.7 kB / 355 MB, free: 4.438 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.697e-05/0.2821, allocations: 8 kB / 355 MB, free: 4.43 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005183/0.2873, allocations: 3.482 MB / 358.5 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.2873, allocations: 0 / 358.5 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003006/0.2903, allocations: 1.066 MB / 359.6 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004308/0.2908, allocations: 212.2 kB / 359.8 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001903/0.291, allocations: 12 kB / 359.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006507/0.2916, allocations: 35.97 kB / 359.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/0.2918, allocations: 44.48 kB / 359.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.874e-05/0.2919, allocations: 16 kB / 359.9 MB, free: 15.26 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000669/0.2925, allocations: 390.8 kB / 360.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.2926, allocations: 0 / 360.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001102/0.2937, allocations: 215.8 kB / 360.5 MB, free: 14.67 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (pipe.T,heatCapacitor.T,speed.phi) * 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 (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002261/0.2939, allocations: 119.1 kB / 360.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002517/0.2964, allocations: 1.018 MB / 361.6 MB, free: 13.47 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.2964, allocations: 3.938 kB / 361.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001104/0.2976, allocations: 0.5318 MB / 362.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.2987, allocations: 170.4 kB / 362.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002499/0.3012, allocations: 1.503 MB / 363.8 MB, free: 11.22 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004869/0.3017, allocations: 0.8878 MB / 364.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004166/0.3021, allocations: 85.12 kB / 364.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/0.3023, allocations: 55.36 kB / 364.9 MB, free: 10.17 MB / 302.1 MB Notification: Performance of SimCode: time 4.5e-07/0.3023, allocations: 0 / 364.9 MB, free: 10.17 MB / 302.1 MB Notification: Performance of Templates: time 0.02118/0.3235, allocations: 13.06 MB / 377.9 MB, free: 13.09 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1)