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.001369/0.001369, 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.001528/0.001528, allocations: 196.7 kB / 16.14 MB, free: 6.715 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.497/1.497, allocations: 205.1 MB / 222 MB, free: 4.77 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.001124/0.001124, allocations: 63.84 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2206, allocations: 46.62 MB / 324.7 MB, free: 1.918 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005171/0.2258, allocations: 4.382 MB / 329.1 MB, free: 14.45 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002252/0.2281, allocations: 1.255 MB / 330.3 MB, free: 13.4 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002902/0.2284, allocations: 7.312 kB / 330.3 MB, free: 13.4 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003496/0.2288, allocations: 109.3 kB / 330.4 MB, free: 13.32 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004857/0.2293, allocations: 233.8 kB / 330.7 MB, free: 13.12 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003562/0.2296, allocations: 167.9 kB / 330.8 MB, free: 12.98 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007773/0.2304, allocations: 0.88 MB / 331.7 MB, free: 12.45 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003163/0.2308, allocations: 231.6 kB / 331.9 MB, free: 12.32 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000396/0.2312, allocations: 334.6 kB / 332.3 MB, free: 12.14 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003811/0.2316, allocations: 382.6 kB / 332.6 MB, free: 11.88 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.769e-05/0.2317, allocations: 58.89 kB / 332.7 MB, free: 11.88 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.2318, allocations: 54.69 kB / 332.7 MB, free: 11.88 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001437/0.2319, allocations: 156.6 kB / 332.9 MB, free: 11.74 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003677/0.2323, allocations: 388.2 kB / 333.3 MB, free: 11.5 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007066/0.233, allocations: 0.8811 MB / 334.1 MB, free: 10.65 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2331, allocations: 4 kB / 334.2 MB, free: 10.64 MB / 270.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.2331, allocations: 0 / 334.2 MB, free: 10.64 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.2331, allocations: 0 / 334.2 MB, free: 10.64 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.001965/0.235, allocations: 1.109 MB / 335.3 MB, free: 9.473 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.2351, allocations: 8.031 kB / 335.3 MB, free: 9.465 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/0.2352, allocations: 92 kB / 335.4 MB, free: 9.375 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006197/0.2359, allocations: 484.5 kB / 335.8 MB, free: 8.859 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000142/0.236, allocations: 92.97 kB / 335.9 MB, free: 8.758 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.834e-05/0.2361, allocations: 48.38 kB / 336 MB, free: 8.711 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.2372, allocations: 0.6554 MB / 336.6 MB, free: 7.98 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.2372, allocations: 0 / 336.6 MB, free: 7.98 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.44e-05/0.2373, allocations: 20 kB / 336.6 MB, free: 7.961 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.2373, allocations: 15.88 kB / 336.7 MB, free: 7.945 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.2383, allocations: 455.7 kB / 337.1 MB, free: 7.504 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.002933/0.2413, allocations: 1.948 MB / 339.1 MB, free: 5.43 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001971/0.2433, allocations: 0.703 MB / 339.8 MB, free: 4.703 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000551/0.2438, allocations: 258 kB / 340 MB, free: 4.449 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.968e-05/0.2439, allocations: 16.42 kB / 340 MB, free: 4.434 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/0.2439, allocations: 43 kB / 340.1 MB, free: 4.379 MB / 270.1 MB Notification: Performance of pre-optimization done (n=54): time 2.154e-06/0.2439, allocations: 0 / 340.1 MB, free: 4.379 MB / 270.1 MB Notification: Performance of matching and sorting (n=54): time 0.00502/0.249, allocations: 1.48 MB / 341.5 MB, free: 2.828 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002148/0.2492, allocations: 0.5682 MB / 342.1 MB, free: 2.125 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006227/0.2498, allocations: 0.5381 MB / 342.7 MB, free: 1.578 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 6.203e-05/0.2499, allocations: 37.7 kB / 342.7 MB, free: 1.535 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002003/0.2501, allocations: 292.5 kB / 343 MB, free: 1.246 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.2503, allocations: 185.2 kB / 343.2 MB, free: 1.062 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001887/0.2505, allocations: 110.2 kB / 343.3 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.2506, allocations: 374.7 kB / 343.6 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005028/0.2511, allocations: 193 kB / 343.8 MB, free: 392 kB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006901/0.2518, allocations: 416.3 kB / 344.2 MB, free: 15.89 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.2529, allocations: 492.5 kB / 344.7 MB, free: 15.39 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.2529, allocations: 0 / 344.7 MB, free: 15.39 MB / 286.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002338/0.2552, allocations: 0.8068 MB / 345.5 MB, free: 14.56 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.558e-05/0.2553, allocations: 33.73 kB / 345.5 MB, free: 14.52 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.2553, allocations: 3.984 kB / 345.5 MB, free: 14.52 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.2563, allocations: 222.3 kB / 345.8 MB, free: 14.29 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000742/0.2571, allocations: 123.8 kB / 345.9 MB, free: 14.17 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007096/0.2642, allocations: 5.156 MB / 351 MB, free: 8.617 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007386/0.265, allocations: 79.55 kB / 351.1 MB, free: 8.539 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.331e-05/0.265, allocations: 19.98 kB / 351.1 MB, free: 8.52 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.0002862/0.2653, allocations: 189.8 kB / 351.3 MB, free: 8.324 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.2655, allocations: 71.16 kB / 351.4 MB, free: 8.254 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00228/0.2678, allocations: 0.7812 MB / 352.2 MB, free: 7.449 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.2678, allocations: 8 kB / 352.2 MB, free: 7.441 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.2678, allocations: 0 / 352.2 MB, free: 7.441 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002175/0.27, allocations: 1.039 MB / 353.2 MB, free: 6.293 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003207/0.2732, allocations: 1.506 MB / 354.7 MB, free: 4.719 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.2732, allocations: 4 kB / 354.7 MB, free: 4.715 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007596/0.274, allocations: 127.8 kB / 354.9 MB, free: 4.59 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008548/0.2748, allocations: 173.5 kB / 355 MB, free: 4.414 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.48e-05/0.2749, allocations: 15.98 kB / 355 MB, free: 4.398 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005/0.2799, allocations: 3.486 MB / 358.5 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2799, allocations: 0 / 358.5 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002846/0.2828, allocations: 1.07 MB / 359.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004026/0.2832, allocations: 200.1 kB / 359.8 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001483/0.2833, allocations: 20 kB / 359.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005407/0.2839, allocations: 35.97 kB / 359.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/0.2841, allocations: 48.42 kB / 359.9 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-05/0.2841, allocations: 12 kB / 359.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004699/0.2846, allocations: 386.8 kB / 360.3 MB, free: 14.85 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2846, allocations: 0 / 360.3 MB, free: 14.85 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000768/0.2853, allocations: 219.8 kB / 360.5 MB, free: 14.64 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.0001632/0.2855, allocations: 115.1 kB / 360.6 MB, free: 14.51 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002294/0.2878, allocations: 1.018 MB / 361.6 MB, free: 13.44 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.2878, allocations: 0 / 361.6 MB, free: 13.44 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009968/0.2888, allocations: 0.5356 MB / 362.2 MB, free: 12.88 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009215/0.2898, allocations: 177.2 kB / 362.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002685/0.2925, allocations: 1.504 MB / 363.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000473/0.293, allocations: 0.8879 MB / 364.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003692/0.2933, allocations: 81.12 kB / 364.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.2935, allocations: 51.42 kB / 364.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2935, allocations: 4 kB / 364.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of Templates: time 0.02264/0.3161, allocations: 13.05 MB / 377.9 MB, free: 13.06 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)