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.001125/0.001125, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.009208/0.009208, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.529/1.529, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.000699/0.0006991, allocations: 8 kB / 279.4 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2783, allocations: 47.57 MB / 327 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.006777/0.2851, allocations: 4.002 MB / 331 MB, free: 14.24 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003303/0.2885, allocations: 1.184 MB / 332.2 MB, free: 13.25 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004827/0.289, allocations: 6.844 kB / 332.2 MB, free: 13.25 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004915/0.2895, allocations: 113.1 kB / 332.3 MB, free: 13.16 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001025/0.2905, allocations: 229.6 kB / 332.5 MB, free: 12.96 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007011/0.2913, allocations: 169.2 kB / 332.7 MB, free: 12.82 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001582/0.2929, allocations: 0.8872 MB / 333.6 MB, free: 12.29 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005945/0.2935, allocations: 226.4 kB / 333.8 MB, free: 12.16 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008249/0.2943, allocations: 323 kB / 334.1 MB, free: 11.99 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000904/0.2952, allocations: 373.9 kB / 334.5 MB, free: 11.74 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00018/0.2954, allocations: 48.88 kB / 334.5 MB, free: 11.74 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002666/0.2957, allocations: 50.16 kB / 334.6 MB, free: 11.74 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001969/0.2959, allocations: 146.6 kB / 334.7 MB, free: 11.61 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006786/0.2966, allocations: 415.7 kB / 335.1 MB, free: 11.2 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001262/0.2979, allocations: 0.86 MB / 336 MB, free: 10.33 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.2979, allocations: 4 kB / 336 MB, free: 10.33 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.298, allocations: 0 / 336 MB, free: 10.33 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.613e-05/0.298, allocations: 0 / 336 MB, free: 10.33 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.003017/0.301, allocations: 0.9926 MB / 337 MB, free: 9.273 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.803e-05/0.3011, allocations: 8.031 kB / 337 MB, free: 9.266 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003015/0.3014, allocations: 91.98 kB / 337.1 MB, free: 9.176 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.3026, allocations: 476.6 kB / 337.6 MB, free: 8.668 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002478/0.3029, allocations: 101 kB / 337.7 MB, free: 8.559 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001449/0.3031, allocations: 48.38 kB / 337.7 MB, free: 8.512 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00217/0.3052, allocations: 0.6633 MB / 338.4 MB, free: 7.773 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.928e-05/0.3053, allocations: 0 / 338.4 MB, free: 7.773 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.615e-05/0.3054, allocations: 16 kB / 338.4 MB, free: 7.758 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.26e-05/0.3054, allocations: 12 kB / 338.4 MB, free: 7.746 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002189/0.3076, allocations: 483.7 kB / 338.9 MB, free: 7.277 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.005805/0.3135, allocations: 1.975 MB / 340.8 MB, free: 5.176 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003681/0.3172, allocations: 0.7262 MB / 341.6 MB, free: 4.426 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001187/0.3184, allocations: 282 kB / 341.8 MB, free: 4.148 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.626e-05/0.3185, allocations: 12.42 kB / 341.9 MB, free: 4.137 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.628e-05/0.3186, allocations: 46.98 kB / 341.9 MB, free: 4.078 MB / 270.1 MB Notification: Performance of pre-optimization done (n=54): time 4.058e-06/0.3186, allocations: 0 / 341.9 MB, free: 4.078 MB / 270.1 MB Notification: Performance of matching and sorting (n=54): time 0.01012/0.3287, allocations: 1.601 MB / 343.5 MB, free: 2.406 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000366/0.3291, allocations: 0.5643 MB / 344.1 MB, free: 1.707 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/0.3305, allocations: 0.5382 MB / 344.6 MB, free: 1.16 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001272/0.3307, allocations: 37.7 kB / 344.6 MB, free: 1.117 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003952/0.3311, allocations: 284.5 kB / 344.9 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003165/0.3314, allocations: 189.3 kB / 345.1 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.3316, allocations: 49.69 kB / 345.2 MB, free: 0.5938 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002852/0.3319, allocations: 374.7 kB / 345.5 MB, free: 224 kB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001068/0.3329, allocations: 209 kB / 345.7 MB, free: 12 kB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00142/0.3344, allocations: 432.2 kB / 346.1 MB, free: 15.51 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002071/0.3365, allocations: 0.5083 MB / 346.7 MB, free: 14.98 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.3365, allocations: 0 / 346.7 MB, free: 14.98 MB / 286.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.004699/0.3412, allocations: 0.8576 MB / 347.5 MB, free: 14.1 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.229e-05/0.3413, allocations: 33.7 kB / 347.5 MB, free: 14.06 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.3413, allocations: 0 / 347.5 MB, free: 14.06 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00189/0.3432, allocations: 234.4 kB / 347.8 MB, free: 13.82 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/0.3446, allocations: 127.8 kB / 347.9 MB, free: 13.7 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01347/0.3581, allocations: 5.254 MB / 353.2 MB, free: 8.043 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.3595, allocations: 87.73 kB / 353.2 MB, free: 7.957 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/0.3596, allocations: 19.98 kB / 353.3 MB, free: 7.938 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.0006163/0.3603, allocations: 193.7 kB / 353.4 MB, free: 7.738 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002841/0.3606, allocations: 79.09 kB / 353.5 MB, free: 7.66 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004551/0.3651, allocations: 0.8242 MB / 354.4 MB, free: 6.812 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.545e-05/0.3652, allocations: 8 kB / 354.4 MB, free: 6.805 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3652, allocations: 0 / 354.4 MB, free: 6.805 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002685/0.3679, allocations: 1.085 MB / 355.4 MB, free: 5.613 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003502/0.3714, allocations: 1.553 MB / 357 MB, free: 3.988 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.3714, allocations: 8 kB / 357 MB, free: 3.98 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007699/0.3722, allocations: 127.8 kB / 357.1 MB, free: 3.855 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008755/0.3731, allocations: 189.5 kB / 357.3 MB, free: 3.664 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.233e-05/0.3732, allocations: 15.98 kB / 357.3 MB, free: 3.648 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005334/0.3785, allocations: 3.537 MB / 360.9 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3785, allocations: 0 / 360.9 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003172/0.3817, allocations: 1.132 MB / 362 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004648/0.3822, allocations: 208.2 kB / 362.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001767/0.3824, allocations: 15.98 kB / 362.2 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000643/0.383, allocations: 43.97 kB / 362.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/0.3832, allocations: 44.5 kB / 362.3 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.373e-05/0.3833, allocations: 19.98 kB / 362.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005161/0.3838, allocations: 382.8 kB / 362.7 MB, free: 13.97 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.843e-06/0.3838, allocations: 0 / 362.7 MB, free: 13.97 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007826/0.3846, allocations: 223.7 kB / 362.9 MB, free: 13.75 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.0001611/0.3847, allocations: 115.4 kB / 363 MB, free: 13.63 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002528/0.3873, allocations: 1.077 MB / 364.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.3873, allocations: 3.938 kB / 364.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001059/0.3884, allocations: 0.5474 MB / 364.7 MB, free: 11.92 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009928/0.3894, allocations: 170.2 kB / 364.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00256/0.3919, allocations: 1.605 MB / 366.4 MB, free: 10.13 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005138/0.3925, allocations: 0.8879 MB / 367.3 MB, free: 9.219 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003622/0.3928, allocations: 77.12 kB / 367.4 MB, free: 9.145 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.393, allocations: 59.42 kB / 367.4 MB, free: 9.086 MB / 302.1 MB Notification: Performance of SimCode: time 5.91e-07/0.393, allocations: 0 / 367.4 MB, free: 9.086 MB / 302.1 MB Notification: Performance of Templates: time 0.02318/0.4162, allocations: 12.94 MB / 380.4 MB, free: 12.12 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)