Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.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.001409/0.001409, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001893/0.001893, allocations: 191.9 kB / 16.25 MB, free: 6.629 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.522/1.522, allocations: 205.1 MB / 222.1 MB, free: 4.68 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.001353/0.001353, allocations: 39.94 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2425, allocations: 46.62 MB / 324.8 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.006827/0.2494, allocations: 4.386 MB / 329.2 MB, free: 14.46 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003154/0.2526, allocations: 1.247 MB / 330.5 MB, free: 13.42 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006701/0.2533, allocations: 10.72 kB / 330.5 MB, free: 13.42 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005582/0.2539, allocations: 110.3 kB / 330.6 MB, free: 13.33 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001119/0.2551, allocations: 237.6 kB / 330.8 MB, free: 13.13 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007402/0.2558, allocations: 176 kB / 331 MB, free: 12.98 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001365/0.2572, allocations: 0.9249 MB / 331.9 MB, free: 12.43 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003973/0.2576, allocations: 241.8 kB / 332.2 MB, free: 12.3 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005122/0.2582, allocations: 360.5 kB / 332.5 MB, free: 12.09 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004287/0.2586, allocations: 398.6 kB / 332.9 MB, free: 11.82 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001158/0.2587, allocations: 80.62 kB / 333 MB, free: 11.82 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.2589, allocations: 77.97 kB / 333 MB, free: 11.82 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.259, allocations: 167.1 kB / 333.2 MB, free: 11.67 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000467/0.2595, allocations: 423.1 kB / 333.6 MB, free: 11.3 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007769/0.2603, allocations: 0.9032 MB / 334.5 MB, free: 10.39 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2603, allocations: 0 / 334.5 MB, free: 10.39 MB / 270.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.2603, allocations: 4 kB / 334.5 MB, free: 10.39 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.2603, allocations: 0 / 334.5 MB, free: 10.39 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.002029/0.2623, allocations: 1.109 MB / 335.6 MB, free: 9.215 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.2624, allocations: 8.031 kB / 335.6 MB, free: 9.207 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/0.2625, allocations: 88 kB / 335.7 MB, free: 9.121 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006622/0.2632, allocations: 484.5 kB / 336.2 MB, free: 8.605 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001884/0.2634, allocations: 96.95 kB / 336.3 MB, free: 8.5 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.939e-05/0.2635, allocations: 52.36 kB / 336.4 MB, free: 8.449 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.2646, allocations: 0.6438 MB / 337 MB, free: 7.734 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.2647, allocations: 7.984 kB / 337 MB, free: 7.727 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.712e-05/0.2648, allocations: 24 kB / 337 MB, free: 7.703 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.2648, allocations: 16 kB / 337 MB, free: 7.688 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.2658, allocations: 443.7 kB / 337.5 MB, free: 7.254 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.003016/0.2689, allocations: 1.967 MB / 339.4 MB, free: 5.164 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001939/0.2708, allocations: 0.6832 MB / 340.1 MB, free: 4.457 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005583/0.2714, allocations: 262 kB / 340.4 MB, free: 4.199 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.882e-05/0.2715, allocations: 12.42 kB / 340.4 MB, free: 4.188 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.207e-05/0.2715, allocations: 43 kB / 340.4 MB, free: 4.133 MB / 270.1 MB Notification: Performance of pre-optimization done (n=54): time 2.755e-06/0.2715, allocations: 480 / 340.4 MB, free: 4.133 MB / 270.1 MB Notification: Performance of matching and sorting (n=54): time 0.005182/0.2767, allocations: 1.48 MB / 341.9 MB, free: 2.582 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002465/0.277, allocations: 0.5722 MB / 342.5 MB, free: 1.875 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006019/0.2776, allocations: 0.5381 MB / 343 MB, free: 1.328 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.867e-05/0.2777, allocations: 41.7 kB / 343.1 MB, free: 1.281 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/0.2779, allocations: 292.5 kB / 343.4 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.278, allocations: 181.2 kB / 343.5 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001775/0.2782, allocations: 110.2 kB / 343.6 MB, free: 0.6953 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.2784, allocations: 374.7 kB / 344 MB, free: 328 kB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004948/0.2789, allocations: 200.9 kB / 344.2 MB, free: 128 kB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000695/0.2796, allocations: 416.4 kB / 344.6 MB, free: 15.63 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.2806, allocations: 488.5 kB / 345.1 MB, free: 15.14 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2806, allocations: 0 / 345.1 MB, free: 15.14 MB / 286.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002425/0.283, allocations: 0.8068 MB / 345.9 MB, free: 14.3 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.898e-05/0.2831, allocations: 29.7 kB / 345.9 MB, free: 14.27 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.2831, allocations: 4 kB / 345.9 MB, free: 14.27 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/0.2842, allocations: 222.4 kB / 346.1 MB, free: 14.04 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007757/0.285, allocations: 123.8 kB / 346.3 MB, free: 13.92 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007871/0.2929, allocations: 5.621 MB / 351.9 MB, free: 7.883 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007082/0.2936, allocations: 79.55 kB / 352 MB, free: 7.805 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-05/0.2937, allocations: 32.05 kB / 352 MB, free: 7.773 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.000287/0.294, allocations: 185.8 kB / 352.2 MB, free: 7.582 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.2941, allocations: 71.19 kB / 352.2 MB, free: 7.512 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002303/0.2964, allocations: 0.7773 MB / 353 MB, free: 6.711 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.2964, allocations: 4 kB / 353 MB, free: 6.707 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.2964, allocations: 0 / 353 MB, free: 6.707 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002235/0.2987, allocations: 1.043 MB / 354.1 MB, free: 5.555 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003145/0.3018, allocations: 1.506 MB / 355.6 MB, free: 3.98 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.3018, allocations: 0 / 355.6 MB, free: 3.98 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007788/0.3026, allocations: 127.8 kB / 355.7 MB, free: 3.855 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008859/0.3035, allocations: 181.5 kB / 355.9 MB, free: 3.672 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.473e-05/0.3036, allocations: 8 kB / 355.9 MB, free: 3.664 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005321/0.3089, allocations: 3.795 MB / 359.7 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3089, allocations: 0 / 359.7 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002809/0.3117, allocations: 1.081 MB / 360.8 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003387/0.3121, allocations: 204.1 kB / 361 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.544e-05/0.3122, allocations: 16 kB / 361 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005138/0.3127, allocations: 35.97 kB / 361 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/0.3129, allocations: 48.44 kB / 361.1 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-05/0.3129, allocations: 15.98 kB / 361.1 MB, free: 14.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005496/0.3135, allocations: 386.8 kB / 361.5 MB, free: 13.78 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3135, allocations: 0 / 361.5 MB, free: 13.78 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007414/0.3142, allocations: 216 kB / 361.7 MB, free: 13.57 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.0001484/0.3144, allocations: 111.1 kB / 361.8 MB, free: 13.45 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002533/0.3169, allocations: 1.061 MB / 362.8 MB, free: 12.33 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.361e-06/0.317, allocations: 4 kB / 362.8 MB, free: 12.33 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001099/0.3181, allocations: 0.5318 MB / 363.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008963/0.319, allocations: 182.6 kB / 363.5 MB, free: 11.6 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002572/0.3215, allocations: 1.51 MB / 365.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004806/0.322, allocations: 0.8918 MB / 365.9 MB, free: 9.145 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003548/0.3224, allocations: 77.14 kB / 366 MB, free: 9.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.3225, allocations: 51.44 kB / 366.1 MB, free: 9.02 MB / 302.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3226, allocations: 0 / 366.1 MB, free: 9.02 MB / 302.1 MB Notification: Performance of Templates: time 0.02163/0.3442, allocations: 13.81 MB / 379.9 MB, free: 11.18 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile (rm -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1)