Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.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.WaterPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000951/0.0009511, allocations: 91.14 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.001034/0.001034, 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.607/1.607, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.000485/0.000485, allocations: 11.98 kB / 278.9 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2748, allocations: 47.59 MB / 326.5 MB, free: 1.438 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.004811/0.2797, allocations: 4.221 MB / 330.7 MB, free: 14.12 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003435/0.2831, allocations: 1.317 MB / 332 MB, free: 13.02 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004731/0.2836, allocations: 13.69 kB / 332 MB, free: 13.01 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003683/0.284, allocations: 100.6 kB / 332.1 MB, free: 12.93 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008267/0.2848, allocations: 304.8 kB / 332.4 MB, free: 12.68 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005036/0.2854, allocations: 161.7 kB / 332.6 MB, free: 12.55 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001064/0.2864, allocations: 0.9031 MB / 333.5 MB, free: 12 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004497/0.2869, allocations: 257.1 kB / 333.7 MB, free: 11.83 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005147/0.2874, allocations: 345.2 kB / 334.1 MB, free: 11.66 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005014/0.2879, allocations: 404.9 kB / 334.5 MB, free: 11.39 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001206/0.2881, allocations: 56.03 kB / 334.5 MB, free: 11.39 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001335/0.2882, allocations: 59.03 kB / 334.6 MB, free: 11.34 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001509/0.2884, allocations: 163.4 kB / 334.7 MB, free: 11.18 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001863/0.2886, allocations: 193.3 kB / 334.9 MB, free: 10.98 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007283/0.2893, allocations: 0.7868 MB / 335.7 MB, free: 10.2 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.2893, allocations: 4 kB / 335.7 MB, free: 10.19 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2893, allocations: 0 / 335.7 MB, free: 10.19 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.2893, allocations: 0 / 335.7 MB, free: 10.19 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002024/0.2914, allocations: 1.088 MB / 336.8 MB, free: 9.039 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.2914, allocations: 8.031 kB / 336.8 MB, free: 9.031 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001802/0.2916, allocations: 94.97 kB / 336.9 MB, free: 8.938 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007843/0.2924, allocations: 499.5 kB / 337.4 MB, free: 8.406 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000177/0.2926, allocations: 112.6 kB / 337.5 MB, free: 8.281 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.2927, allocations: 48 kB / 337.5 MB, free: 8.234 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/0.2942, allocations: 0.8043 MB / 338.4 MB, free: 7.324 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.277e-05/0.2943, allocations: 0 / 338.4 MB, free: 7.324 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.92e-05/0.2943, allocations: 28 kB / 338.4 MB, free: 7.297 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.906e-05/0.2944, allocations: 16 kB / 338.4 MB, free: 7.281 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/0.2956, allocations: 0.5231 MB / 338.9 MB, free: 6.762 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.0036/0.2992, allocations: 2.173 MB / 341.1 MB, free: 4.449 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/0.3005, allocations: 0.5651 MB / 341.7 MB, free: 3.875 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005937/0.3011, allocations: 278.4 kB / 341.9 MB, free: 3.598 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.472e-05/0.3012, allocations: 17.64 kB / 341.9 MB, free: 3.582 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007699/0.302, allocations: 335 kB / 342.3 MB, free: 3.242 MB / 270.1 MB Notification: Performance of pre-optimization done (n=56): time 3.576e-06/0.302, allocations: 0 / 342.3 MB, free: 3.242 MB / 270.1 MB Notification: Performance of matching and sorting (n=56): time 0.004629/0.3066, allocations: 1.587 MB / 343.9 MB, free: 1.605 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003279/0.3069, allocations: 0.8155 MB / 344.7 MB, free: 0.5938 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006854/0.3076, allocations: 0.5901 MB / 345.3 MB, free: 15.99 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.127e-05/0.3077, allocations: 45.7 kB / 345.3 MB, free: 15.94 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002526/0.308, allocations: 332.8 kB / 345.6 MB, free: 15.62 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/0.3081, allocations: 185.2 kB / 345.8 MB, free: 15.43 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-05/0.3082, allocations: 12 kB / 345.8 MB, free: 15.42 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.3084, allocations: 382.8 kB / 346.2 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005279/0.3089, allocations: 221 kB / 346.4 MB, free: 14.82 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008177/0.3097, allocations: 0.5403 MB / 347 MB, free: 14.16 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006541/0.3104, allocations: 317.4 kB / 347.3 MB, free: 13.84 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.263e-06/0.3104, allocations: 4 kB / 347.3 MB, free: 13.84 MB / 286.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001922/0.3123, allocations: 0.8585 MB / 348.1 MB, free: 12.95 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.673e-05/0.3124, allocations: 67.39 kB / 348.2 MB, free: 12.87 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.3124, allocations: 8.031 kB / 348.2 MB, free: 12.86 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007132/0.3132, allocations: 225.5 kB / 348.4 MB, free: 12.64 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005975/0.3138, allocations: 123.8 kB / 348.5 MB, free: 12.52 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006374/0.3201, allocations: 4.295 MB / 352.8 MB, free: 7.953 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008172/0.321, allocations: 91.39 kB / 352.9 MB, free: 7.863 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.136e-05/0.3211, allocations: 23.98 kB / 353 MB, free: 7.84 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,oneWayValve.backward) * 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: 2 * 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 {9 3,1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0004695/0.3215, allocations: 213.9 kB / 353.2 MB, free: 7.621 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.3217, allocations: 75.16 kB / 353.2 MB, free: 7.547 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000152/0.3218, allocations: 78.84 kB / 353.3 MB, free: 7.469 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.3218, allocations: 8 kB / 353.3 MB, free: 7.461 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.3218, allocations: 3.953 kB / 353.3 MB, free: 7.457 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002003/0.3239, allocations: 1.097 MB / 354.4 MB, free: 6.25 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002726/0.3266, allocations: 1.576 MB / 356 MB, free: 4.602 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.3266, allocations: 0 / 356 MB, free: 4.602 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005493/0.3272, allocations: 119.8 kB / 356.1 MB, free: 4.484 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005215/0.3277, allocations: 177.5 kB / 356.3 MB, free: 4.305 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.265e-05/0.3278, allocations: 15.98 kB / 356.3 MB, free: 4.289 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004644/0.3324, allocations: 3.655 MB / 360 MB, free: 372 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.3324, allocations: 4.031 kB / 360 MB, free: 368 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002241/0.3347, allocations: 1.07 MB / 361 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003139/0.335, allocations: 212.1 kB / 361.2 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.3351, allocations: 20 kB / 361.3 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005311/0.3357, allocations: 63.91 kB / 361.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.3358, allocations: 52.44 kB / 361.4 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.768e-05/0.3359, allocations: 16 kB / 361.4 MB, free: 14.89 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005137/0.3364, allocations: 415.1 kB / 361.8 MB, free: 14.49 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3364, allocations: 0 / 361.8 MB, free: 14.49 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000859/0.3372, allocations: 251.8 kB / 362 MB, free: 14.24 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (speed.phi) * Number of discrete variables: 4 ($whenCondition1,trapezoid.T_start,trapezoid.count,oneWayValve.backward) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {2 3,1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001681/0.3374, allocations: 119.1 kB / 362.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001991/0.3394, allocations: 1.05 MB / 363.2 MB, free: 13.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3394, allocations: 4 kB / 363.2 MB, free: 13.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009011/0.3403, allocations: 0.5594 MB / 363.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008932/0.3413, allocations: 203.3 kB / 364 MB, free: 12.23 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002791/0.3441, allocations: 1.55 MB / 365.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005257/0.3446, allocations: 0.9122 MB / 366.4 MB, free: 9.719 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.00037/0.345, allocations: 81.22 kB / 366.5 MB, free: 9.641 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.3451, allocations: 55.42 kB / 366.6 MB, free: 9.586 MB / 302.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3451, allocations: 4 kB / 366.6 MB, free: 9.582 MB / 302.1 MB Notification: Performance of Templates: time 0.02333/0.3685, allocations: 14.38 MB / 380.9 MB, free: 11.18 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1)