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.001311/0.001311, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001345/0.001345, allocations: 187.4 kB / 16.25 MB, free: 6.145 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.52/1.52, allocations: 205.1 MB / 222.1 MB, free: 4.574 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.00115/0.00115, allocations: 51.94 kB / 278.2 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2721, allocations: 46.62 MB / 324.8 MB, free: 2.047 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005352/0.2775, allocations: 4.386 MB / 329.2 MB, free: 14.57 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002388/0.2799, allocations: 1.251 MB / 330.5 MB, free: 13.53 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003201/0.2803, allocations: 6.5 kB / 330.5 MB, free: 13.53 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004075/0.2807, allocations: 116.6 kB / 330.6 MB, free: 13.44 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000543/0.2813, allocations: 230.1 kB / 330.8 MB, free: 13.24 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000415/0.2817, allocations: 172.5 kB / 331 MB, free: 13.1 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00102/0.2827, allocations: 0.92 MB / 331.9 MB, free: 12.55 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004207/0.2832, allocations: 251 kB / 332.2 MB, free: 12.41 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004983/0.2837, allocations: 356.1 kB / 332.5 MB, free: 12.21 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000484/0.2842, allocations: 406.6 kB / 332.9 MB, free: 11.93 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001335/0.2843, allocations: 77 kB / 333 MB, free: 11.91 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.2844, allocations: 83.94 kB / 333.1 MB, free: 11.83 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001708/0.2846, allocations: 163.5 kB / 333.2 MB, free: 11.67 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004513/0.2851, allocations: 418 kB / 333.6 MB, free: 11.26 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000922/0.286, allocations: 0.9071 MB / 334.5 MB, free: 10.35 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.286, allocations: 0 / 334.5 MB, free: 10.35 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.286, allocations: 0 / 334.5 MB, free: 10.35 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.62e-05/0.2861, allocations: 0 / 334.5 MB, free: 10.35 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.001939/0.288, allocations: 1.113 MB / 335.6 MB, free: 9.172 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.288, allocations: 8.031 kB / 335.7 MB, free: 9.164 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.2882, allocations: 88 kB / 335.7 MB, free: 9.078 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006271/0.2888, allocations: 488.5 kB / 336.2 MB, free: 8.559 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001361/0.289, allocations: 92.95 kB / 336.3 MB, free: 8.457 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.841e-05/0.2891, allocations: 48.38 kB / 336.4 MB, free: 8.41 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.2902, allocations: 0.6477 MB / 337 MB, free: 7.691 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.2902, allocations: 0 / 337 MB, free: 7.691 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.316e-05/0.2903, allocations: 24 kB / 337 MB, free: 7.668 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.2903, allocations: 8 kB / 337 MB, free: 7.66 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.2913, allocations: 451.7 kB / 337.5 MB, free: 7.219 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.00304/0.2944, allocations: 1.963 MB / 339.4 MB, free: 5.133 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001857/0.2962, allocations: 0.6871 MB / 340.1 MB, free: 4.422 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000539/0.2968, allocations: 270 kB / 340.4 MB, free: 4.156 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.599e-05/0.2968, allocations: 4.438 kB / 340.4 MB, free: 4.152 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.2969, allocations: 47 kB / 340.4 MB, free: 4.094 MB / 270.1 MB Notification: Performance of pre-optimization done (n=54): time 1.452e-06/0.2969, allocations: 0 / 340.4 MB, free: 4.094 MB / 270.1 MB Notification: Performance of matching and sorting (n=54): time 0.004972/0.3019, allocations: 1.484 MB / 341.9 MB, free: 2.539 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002378/0.3021, allocations: 0.5683 MB / 342.5 MB, free: 1.836 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006014/0.3027, allocations: 0.5381 MB / 343 MB, free: 1.289 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 6.143e-05/0.3028, allocations: 37.7 kB / 343.1 MB, free: 1.246 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002257/0.303, allocations: 280.6 kB / 343.3 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/0.3032, allocations: 197.1 kB / 343.5 MB, free: 0.7734 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001875/0.3034, allocations: 118.2 kB / 343.6 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.3035, allocations: 370.7 kB / 344 MB, free: 284 kB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004899/0.304, allocations: 193 kB / 344.2 MB, free: 92 kB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006845/0.3047, allocations: 416.3 kB / 344.6 MB, free: 15.6 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.3057, allocations: 492.5 kB / 345.1 MB, free: 15.1 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3058, allocations: 0 / 345.1 MB, free: 15.1 MB / 286.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002282/0.308, allocations: 0.8029 MB / 345.9 MB, free: 14.27 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.972e-05/0.3081, allocations: 37.69 kB / 345.9 MB, free: 14.23 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.3081, allocations: 0 / 345.9 MB, free: 14.23 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001068/0.3092, allocations: 222.4 kB / 346.1 MB, free: 14 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007692/0.31, allocations: 127.8 kB / 346.3 MB, free: 13.88 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007616/0.3176, allocations: 5.614 MB / 351.9 MB, free: 7.848 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007508/0.3184, allocations: 79.48 kB / 352 MB, free: 7.77 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.304e-05/0.3184, allocations: 23.92 kB / 352 MB, free: 7.746 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.0003129/0.3187, allocations: 197.7 kB / 352.2 MB, free: 7.543 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.3189, allocations: 67.25 kB / 352.2 MB, free: 7.477 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00231/0.3212, allocations: 0.7812 MB / 353 MB, free: 6.672 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.3212, allocations: 4 kB / 353 MB, free: 6.668 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.3212, allocations: 0 / 353 MB, free: 6.668 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002307/0.3235, allocations: 1.035 MB / 354.1 MB, free: 5.523 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003356/0.3269, allocations: 1.502 MB / 355.6 MB, free: 3.953 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.3269, allocations: 8.062 kB / 355.6 MB, free: 3.945 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007738/0.3277, allocations: 131.8 kB / 355.7 MB, free: 3.816 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009165/0.3286, allocations: 177.5 kB / 355.9 MB, free: 3.637 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.155e-05/0.3287, allocations: 11.98 kB / 355.9 MB, free: 3.625 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005612/0.3343, allocations: 3.798 MB / 359.7 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3343, allocations: 0 / 359.7 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00279/0.3371, allocations: 1.07 MB / 360.8 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000321/0.3375, allocations: 204.1 kB / 361 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.1e-05/0.3376, allocations: 19.98 kB / 361 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005167/0.3381, allocations: 35.97 kB / 361 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/0.3382, allocations: 48.42 kB / 361.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.434e-05/0.3383, allocations: 20.17 kB / 361.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004805/0.3388, allocations: 382.8 kB / 361.4 MB, free: 13.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3388, allocations: 7.938 kB / 361.5 MB, free: 13.74 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000756/0.3395, allocations: 215.8 kB / 361.7 MB, free: 13.53 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.0001667/0.3397, allocations: 115.2 kB / 361.8 MB, free: 13.4 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00246/0.3422, allocations: 1.053 MB / 362.8 MB, free: 12.29 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/0.3422, allocations: 0 / 362.8 MB, free: 12.29 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001064/0.3433, allocations: 0.5395 MB / 363.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008325/0.3441, allocations: 182.6 kB / 363.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002414/0.3465, allocations: 1.499 MB / 365 MB, free: 10.03 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006984/0.3472, allocations: 0.8879 MB / 365.9 MB, free: 9.117 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003622/0.3476, allocations: 81.12 kB / 366 MB, free: 9.039 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.3478, allocations: 55.42 kB / 366.1 MB, free: 8.984 MB / 302.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3478, allocations: 4 kB / 366.1 MB, free: 8.98 MB / 302.1 MB Notification: Performance of Templates: time 0.02355/0.3713, allocations: 13.81 MB / 379.9 MB, free: 11.15 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)