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.0008908/0.0008906, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.00117/0.00117, allocations: 168.7 kB / 15.95 MB, free: 204 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.552/1.552, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.0004535/0.0004536, allocations: 8 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2566, allocations: 47.58 MB / 326.5 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.004507/0.2611, allocations: 3.796 MB / 330.3 MB, free: 14.42 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002534/0.2637, allocations: 1.122 MB / 331.4 MB, free: 13.48 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002664/0.264, allocations: 13.88 kB / 331.4 MB, free: 13.47 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003021/0.2643, allocations: 99.44 kB / 331.5 MB, free: 13.39 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005391/0.2649, allocations: 225.4 kB / 331.7 MB, free: 13.2 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003523/0.2652, allocations: 143.5 kB / 331.9 MB, free: 13.08 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008725/0.2661, allocations: 0.8251 MB / 332.7 MB, free: 12.57 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003397/0.2665, allocations: 206.9 kB / 332.9 MB, free: 12.45 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004612/0.2669, allocations: 315.8 kB / 333.2 MB, free: 12.29 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004316/0.2674, allocations: 361.6 kB / 333.6 MB, free: 12.05 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.094e-05/0.2675, allocations: 48.72 kB / 333.6 MB, free: 12.05 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.2676, allocations: 53.44 kB / 333.7 MB, free: 12.04 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.2677, allocations: 135.8 kB / 333.8 MB, free: 11.93 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.2679, allocations: 167.2 kB / 333.9 MB, free: 11.84 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006211/0.2685, allocations: 0.6678 MB / 334.6 MB, free: 11.32 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.2685, allocations: 0 / 334.6 MB, free: 11.32 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2685, allocations: 0 / 334.6 MB, free: 11.32 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.318e-05/0.2686, allocations: 4 kB / 334.6 MB, free: 11.32 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.001709/0.2703, allocations: 0.9924 MB / 335.6 MB, free: 10.26 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.2703, allocations: 12.03 kB / 335.6 MB, free: 10.25 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001521/0.2705, allocations: 87.06 kB / 335.7 MB, free: 10.16 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006391/0.2711, allocations: 459.7 kB / 336.2 MB, free: 9.672 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000141/0.2713, allocations: 104.4 kB / 336.3 MB, free: 9.559 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.488e-05/0.2714, allocations: 48 kB / 336.3 MB, free: 9.512 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/0.2725, allocations: 0.656 MB / 337 MB, free: 8.781 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.2725, allocations: 4 kB / 337 MB, free: 8.777 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.109e-05/0.2726, allocations: 20 kB / 337 MB, free: 8.758 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/0.2726, allocations: 12 kB / 337 MB, free: 8.746 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.2736, allocations: 479.7 kB / 337.5 MB, free: 8.281 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.002868/0.2765, allocations: 1.983 MB / 339.5 MB, free: 6.172 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001798/0.2783, allocations: 0.7225 MB / 340.2 MB, free: 5.426 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005641/0.2789, allocations: 278 kB / 340.4 MB, free: 5.152 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.15e-05/0.279, allocations: 8.438 kB / 340.5 MB, free: 5.145 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.279, allocations: 43 kB / 340.5 MB, free: 5.09 MB / 270.1 MB Notification: Performance of pre-optimization done (n=54): time 2.224e-06/0.279, allocations: 4 kB / 340.5 MB, free: 5.086 MB / 270.1 MB Notification: Performance of matching and sorting (n=54): time 0.004624/0.2837, allocations: 1.589 MB / 342.1 MB, free: 3.426 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002548/0.2839, allocations: 0.5644 MB / 342.7 MB, free: 2.727 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006302/0.2846, allocations: 0.5381 MB / 343.2 MB, free: 2.18 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 7.427e-05/0.2847, allocations: 37.7 kB / 343.2 MB, free: 2.137 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.2849, allocations: 292.7 kB / 343.5 MB, free: 1.848 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/0.285, allocations: 185.2 kB / 343.7 MB, free: 1.664 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-05/0.2851, allocations: 12 kB / 343.7 MB, free: 1.652 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.2852, allocations: 370.8 kB / 344.1 MB, free: 1.281 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00047/0.2857, allocations: 205 kB / 344.3 MB, free: 1.082 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006454/0.2863, allocations: 428.5 kB / 344.7 MB, free: 0.582 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000528/0.2869, allocations: 275.9 kB / 345 MB, free: 316 kB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.2869, allocations: 0 / 345 MB, free: 316 kB / 270.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002099/0.289, allocations: 0.8537 MB / 345.8 MB, free: 15.43 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.194e-05/0.2891, allocations: 33.7 kB / 345.8 MB, free: 15.39 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.2891, allocations: 0 / 345.8 MB, free: 15.39 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009272/0.29, allocations: 230.4 kB / 346.1 MB, free: 15.16 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006689/0.2907, allocations: 131.8 kB / 346.2 MB, free: 15.03 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007213/0.2979, allocations: 5.243 MB / 351.4 MB, free: 9.391 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008173/0.2988, allocations: 83.73 kB / 351.5 MB, free: 9.309 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.533e-05/0.2988, allocations: 23.98 kB / 351.5 MB, free: 9.285 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {5 2,1 1,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0003177/0.2992, allocations: 190 kB / 351.7 MB, free: 9.09 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/0.2993, allocations: 67.25 kB / 351.8 MB, free: 9.023 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002178/0.3015, allocations: 0.8281 MB / 352.6 MB, free: 8.176 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.3015, allocations: 7.953 kB / 352.6 MB, free: 8.168 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.3015, allocations: 0 / 352.6 MB, free: 8.168 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002028/0.3036, allocations: 1.082 MB / 353.7 MB, free: 6.973 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003268/0.3068, allocations: 1.545 MB / 355.3 MB, free: 5.359 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.3069, allocations: 0 / 355.3 MB, free: 5.359 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006892/0.3076, allocations: 143.7 kB / 355.4 MB, free: 5.219 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007509/0.3083, allocations: 189.5 kB / 355.6 MB, free: 5.027 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.436e-05/0.3084, allocations: 12 kB / 355.6 MB, free: 5.016 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00487/0.3132, allocations: 3.537 MB / 359.1 MB, free: 1.215 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3133, allocations: 4.031 kB / 359.1 MB, free: 1.211 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002997/0.3163, allocations: 1.128 MB / 360.3 MB, free: 56 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004829/0.3168, allocations: 208.1 kB / 360.5 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001983/0.317, allocations: 12 kB / 360.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000651/0.3176, allocations: 47.97 kB / 360.5 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001813/0.3178, allocations: 40.48 kB / 360.6 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-05/0.3179, allocations: 16.19 kB / 360.6 MB, free: 15.72 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000528/0.3184, allocations: 382.8 kB / 361 MB, free: 15.35 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3184, allocations: 3.938 kB / 361 MB, free: 15.34 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001004/0.3194, allocations: 215.8 kB / 361.2 MB, free: 15.13 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 (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 {1 2,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001615/0.3196, allocations: 123.2 kB / 361.3 MB, free: 15 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002204/0.3218, allocations: 1.065 MB / 362.4 MB, free: 13.89 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.3218, allocations: 0 / 362.4 MB, free: 13.89 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009714/0.3228, allocations: 0.5512 MB / 362.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009754/0.3238, allocations: 182.2 kB / 363.1 MB, free: 13.13 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/0.3264, allocations: 1.537 MB / 364.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005309/0.327, allocations: 0.8879 MB / 365.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003861/0.3274, allocations: 77.12 kB / 365.6 MB, free: 10.58 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.3275, allocations: 51.42 kB / 365.6 MB, free: 10.53 MB / 302.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3275, allocations: 4 kB / 365.6 MB, free: 10.53 MB / 302.1 MB Notification: Performance of Templates: time 0.02114/0.3487, allocations: 12.43 MB / 378.1 MB, free: 14.07 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)