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.001086/0.001085, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001391/0.001391, allocations: 172.7 kB / 15.95 MB, free: 208 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.674/1.674, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.0008292/0.0008294, allocations: 8 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2809, allocations: 47.6 MB / 326.5 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.004408/0.2854, allocations: 3.804 MB / 330.3 MB, free: 14.39 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002379/0.2878, allocations: 1.117 MB / 331.4 MB, free: 13.46 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002851/0.2881, allocations: 10.31 kB / 331.4 MB, free: 13.46 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002772/0.2884, allocations: 95.02 kB / 331.5 MB, free: 13.38 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004959/0.2889, allocations: 230.4 kB / 331.7 MB, free: 13.18 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003661/0.2893, allocations: 142.9 kB / 331.9 MB, free: 13.07 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008846/0.2902, allocations: 0.8284 MB / 332.7 MB, free: 12.55 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003435/0.2905, allocations: 207.2 kB / 332.9 MB, free: 12.43 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004989/0.2911, allocations: 316.1 kB / 333.2 MB, free: 12.27 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004315/0.2915, allocations: 354 kB / 333.5 MB, free: 12.04 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.2916, allocations: 48.72 kB / 333.6 MB, free: 12.04 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.2917, allocations: 50 kB / 333.6 MB, free: 12.04 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.2919, allocations: 147.4 kB / 333.8 MB, free: 11.91 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001588/0.2921, allocations: 166 kB / 333.9 MB, free: 11.82 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006137/0.2927, allocations: 0.6736 MB / 334.6 MB, free: 11.3 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2927, allocations: 0 / 334.6 MB, free: 11.3 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.2927, allocations: 0 / 334.6 MB, free: 11.3 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.2927, allocations: 0 / 334.6 MB, free: 11.3 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.001669/0.2944, allocations: 1 MB / 335.6 MB, free: 10.24 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.2944, allocations: 8.031 kB / 335.6 MB, free: 10.23 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001407/0.2946, allocations: 87.06 kB / 335.7 MB, free: 10.15 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006351/0.2952, allocations: 455.8 kB / 336.2 MB, free: 9.66 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001431/0.2954, allocations: 104.4 kB / 336.3 MB, free: 9.547 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.206e-05/0.2955, allocations: 44 kB / 336.3 MB, free: 9.504 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.2966, allocations: 0.66 MB / 337 MB, free: 8.77 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.825e-05/0.2966, allocations: 3.984 kB / 337 MB, free: 8.766 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.197e-05/0.2966, allocations: 20 kB / 337 MB, free: 8.746 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.2967, allocations: 8 kB / 337 MB, free: 8.738 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.2977, allocations: 491.6 kB / 337.5 MB, free: 8.262 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.3007, allocations: 1.975 MB / 339.5 MB, free: 6.16 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001772/0.3025, allocations: 0.7184 MB / 340.2 MB, free: 5.418 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005555/0.303, allocations: 270.1 kB / 340.4 MB, free: 5.152 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.236e-05/0.3031, allocations: 20.41 kB / 340.5 MB, free: 5.133 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.259e-05/0.3031, allocations: 39 kB / 340.5 MB, free: 5.082 MB / 270.1 MB Notification: Performance of pre-optimization done (n=54): time 2.224e-06/0.3031, allocations: 0 / 340.5 MB, free: 5.082 MB / 270.1 MB Notification: Performance of matching and sorting (n=54): time 0.004771/0.3079, allocations: 1.589 MB / 342.1 MB, free: 3.422 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002448/0.3082, allocations: 0.5644 MB / 342.6 MB, free: 2.723 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006361/0.3088, allocations: 0.5381 MB / 343.2 MB, free: 2.176 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.25e-05/0.3089, allocations: 37.7 kB / 343.2 MB, free: 2.133 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002133/0.3091, allocations: 284.7 kB / 343.5 MB, free: 1.852 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001631/0.3093, allocations: 189.2 kB / 343.7 MB, free: 1.664 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/0.3093, allocations: 12 kB / 343.7 MB, free: 1.652 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.3095, allocations: 370.8 kB / 344.1 MB, free: 1.281 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004869/0.31, allocations: 205 kB / 344.3 MB, free: 1.082 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006715/0.3107, allocations: 428.5 kB / 344.7 MB, free: 0.582 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005651/0.3113, allocations: 267.9 kB / 344.9 MB, free: 324 kB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.3113, allocations: 8 kB / 344.9 MB, free: 316 kB / 270.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002186/0.3135, allocations: 0.8576 MB / 345.8 MB, free: 15.43 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.873e-05/0.3135, allocations: 29.7 kB / 345.8 MB, free: 15.39 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.3135, allocations: 4 kB / 345.8 MB, free: 15.39 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009431/0.3145, allocations: 230.4 kB / 346.1 MB, free: 15.16 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007091/0.3152, allocations: 127.8 kB / 346.2 MB, free: 15.03 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007/0.3222, allocations: 5.242 MB / 351.4 MB, free: 9.391 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008786/0.3231, allocations: 87.73 kB / 351.5 MB, free: 9.305 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.842e-05/0.3232, allocations: 23.98 kB / 351.5 MB, free: 9.281 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.0003261/0.3235, allocations: 189.9 kB / 351.7 MB, free: 9.086 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.3236, allocations: 67.25 kB / 351.8 MB, free: 9.02 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002234/0.3259, allocations: 0.832 MB / 352.6 MB, free: 8.168 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.3259, allocations: 11.95 kB / 352.6 MB, free: 8.156 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.3259, allocations: 0 / 352.6 MB, free: 8.156 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002085/0.328, allocations: 1.082 MB / 353.7 MB, free: 6.961 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003256/0.3313, allocations: 1.549 MB / 355.3 MB, free: 5.344 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.3313, allocations: 0 / 355.3 MB, free: 5.344 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000708/0.332, allocations: 135.9 kB / 355.4 MB, free: 5.211 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000775/0.3328, allocations: 181.5 kB / 355.6 MB, free: 5.027 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.63e-05/0.3328, allocations: 19.98 kB / 355.6 MB, free: 5.008 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005073/0.3379, allocations: 3.533 MB / 359.1 MB, free: 1.211 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.338, allocations: 0 / 359.1 MB, free: 1.211 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002956/0.3409, allocations: 1.132 MB / 360.3 MB, free: 52 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006306/0.3416, allocations: 212 kB / 360.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002374/0.3418, allocations: 12 kB / 360.5 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000655/0.3425, allocations: 43.97 kB / 360.5 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/0.3427, allocations: 48.48 kB / 360.6 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-05/0.3427, allocations: 11.94 kB / 360.6 MB, free: 15.71 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007065/0.3434, allocations: 386.8 kB / 361 MB, free: 15.34 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3434, allocations: 0 / 361 MB, free: 15.34 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001279/0.3447, allocations: 219.8 kB / 361.2 MB, free: 15.12 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.000274/0.345, allocations: 107.2 kB / 361.3 MB, free: 15 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002544/0.3476, allocations: 1.073 MB / 362.3 MB, free: 13.88 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/0.3476, allocations: 8 kB / 362.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.3486, allocations: 0.5472 MB / 362.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.3497, allocations: 181.7 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.002632/0.3523, allocations: 1.538 MB / 364.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005497/0.3529, allocations: 0.884 MB / 365.5 MB, free: 10.65 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004116/0.3533, allocations: 81.12 kB / 365.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.3535, allocations: 51.42 kB / 365.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of SimCode: time 1.302e-06/0.3535, allocations: 0 / 365.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of Templates: time 0.02251/0.376, allocations: 12.43 MB / 378.1 MB, free: 14.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)