Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.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.001434/0.001433, allocations: 92.39 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.001628/0.001628, 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.608/1.608, allocations: 205.4 MB / 222.1 MB, free: 5.504 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.0007656/0.0007658, allocations: 12 kB / 278.9 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.3017, allocations: 47.58 MB / 326.5 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.004634/0.3064, allocations: 4.221 MB / 330.7 MB, free: 14.1 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002503/0.309, allocations: 1.316 MB / 332 MB, free: 13 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002716/0.3092, allocations: 11.22 kB / 332 MB, free: 12.99 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000302/0.3096, allocations: 104 kB / 332.1 MB, free: 12.91 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006002/0.3102, allocations: 305.1 kB / 332.4 MB, free: 12.66 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003619/0.3105, allocations: 164.8 kB / 332.6 MB, free: 12.52 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009433/0.3115, allocations: 0.8999 MB / 333.5 MB, free: 11.98 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003938/0.3119, allocations: 256.9 kB / 333.7 MB, free: 11.81 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004735/0.3124, allocations: 356.8 kB / 334.1 MB, free: 11.63 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004628/0.3129, allocations: 400.8 kB / 334.5 MB, free: 11.37 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001085/0.313, allocations: 56.34 kB / 334.5 MB, free: 11.37 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.3131, allocations: 58.94 kB / 334.6 MB, free: 11.34 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001408/0.3133, allocations: 159.4 kB / 334.7 MB, free: 11.19 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001781/0.3134, allocations: 189.3 kB / 334.9 MB, free: 11 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006911/0.3141, allocations: 0.7907 MB / 335.7 MB, free: 10.2 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3142, allocations: 4 kB / 335.7 MB, free: 10.2 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3142, allocations: 0 / 335.7 MB, free: 10.2 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.3142, allocations: 0 / 335.7 MB, free: 10.2 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.001929/0.3161, allocations: 1.084 MB / 336.8 MB, free: 9.051 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3162, allocations: 8.031 kB / 336.8 MB, free: 9.043 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001679/0.3163, allocations: 94.97 kB / 336.9 MB, free: 8.949 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006878/0.317, allocations: 0.4916 MB / 337.4 MB, free: 8.414 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001518/0.3172, allocations: 108.6 kB / 337.5 MB, free: 8.293 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.657e-05/0.3173, allocations: 48 kB / 337.5 MB, free: 8.246 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.3186, allocations: 0.8004 MB / 338.3 MB, free: 7.34 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.3186, allocations: 0 / 338.3 MB, free: 7.34 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.986e-05/0.3187, allocations: 32 kB / 338.4 MB, free: 7.309 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.3187, allocations: 16 kB / 338.4 MB, free: 7.293 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.3199, allocations: 0.5231 MB / 338.9 MB, free: 6.773 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.003282/0.3232, allocations: 2.173 MB / 341.1 MB, free: 4.461 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.3244, allocations: 0.5699 MB / 341.7 MB, free: 3.883 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005464/0.325, allocations: 270.4 kB / 341.9 MB, free: 3.613 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.061e-05/0.325, allocations: 20.7 kB / 341.9 MB, free: 3.594 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007444/0.3258, allocations: 335 kB / 342.3 MB, free: 3.254 MB / 270.1 MB Notification: Performance of pre-optimization done (n=56): time 2.895e-06/0.3258, allocations: 0 / 342.3 MB, free: 3.254 MB / 270.1 MB Notification: Performance of matching and sorting (n=56): time 0.004742/0.3306, allocations: 1.587 MB / 343.9 MB, free: 1.617 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003939/0.331, allocations: 0.8155 MB / 344.7 MB, free: 0.6055 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007573/0.3317, allocations: 0.59 MB / 345.3 MB, free: 8 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 8.678e-05/0.3318, allocations: 45.69 kB / 345.3 MB, free: 15.96 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002866/0.3321, allocations: 332.8 kB / 345.6 MB, free: 15.63 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002151/0.3323, allocations: 189.2 kB / 345.8 MB, free: 15.44 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.031e-05/0.3324, allocations: 12 kB / 345.8 MB, free: 15.43 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.3326, allocations: 382.8 kB / 346.2 MB, free: 15.05 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000519/0.3331, allocations: 221 kB / 346.4 MB, free: 14.83 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008188/0.3339, allocations: 0.5325 MB / 347 MB, free: 14.18 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005944/0.3345, allocations: 329.3 kB / 347.3 MB, free: 13.84 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.3345, allocations: 4 kB / 347.3 MB, free: 13.84 MB / 286.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001779/0.3363, allocations: 0.8624 MB / 348.1 MB, free: 12.95 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.193e-05/0.3364, allocations: 63.41 kB / 348.2 MB, free: 12.88 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.3364, allocations: 8 kB / 348.2 MB, free: 12.87 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006802/0.3371, allocations: 233.5 kB / 348.4 MB, free: 12.63 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005573/0.3377, allocations: 119.8 kB / 348.6 MB, free: 12.52 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006056/0.3437, allocations: 4.28 MB / 352.8 MB, free: 7.969 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007633/0.3445, allocations: 95.39 kB / 352.9 MB, free: 7.875 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.918e-05/0.3446, allocations: 23.98 kB / 352.9 MB, free: 7.852 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.0003839/0.345, allocations: 209.9 kB / 353.2 MB, free: 7.637 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.3451, allocations: 79.16 kB / 353.2 MB, free: 7.559 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001588/0.3453, allocations: 78.84 kB / 353.3 MB, free: 7.48 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.3453, allocations: 8 kB / 353.3 MB, free: 7.473 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3453, allocations: 3.953 kB / 353.3 MB, free: 7.469 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001966/0.3473, allocations: 1.097 MB / 354.4 MB, free: 6.262 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002763/0.35, allocations: 1.572 MB / 356 MB, free: 4.617 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3501, allocations: 4 kB / 356 MB, free: 4.613 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005765/0.3506, allocations: 115.8 kB / 356.1 MB, free: 4.5 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005161/0.3512, allocations: 177.5 kB / 356.3 MB, free: 4.32 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.742e-05/0.3512, allocations: 15.98 kB / 356.3 MB, free: 4.305 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004489/0.3557, allocations: 3.667 MB / 360 MB, free: 376 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3558, allocations: 4.031 kB / 360 MB, free: 372 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002392/0.3582, allocations: 1.074 MB / 361 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003919/0.3586, allocations: 208.1 kB / 361.2 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001483/0.3587, allocations: 19.98 kB / 361.3 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005891/0.3593, allocations: 59.86 kB / 361.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/0.3595, allocations: 52.5 kB / 361.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-05/0.3595, allocations: 20 kB / 361.4 MB, free: 14.89 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005295/0.3601, allocations: 419 kB / 361.8 MB, free: 14.49 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3601, allocations: 288 / 361.8 MB, free: 14.49 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009236/0.361, 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.00017/0.3612, allocations: 123.1 kB / 362.2 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002149/0.3633, allocations: 1.051 MB / 363.2 MB, free: 13.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.3633, allocations: 0 / 363.2 MB, free: 13.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000938/0.3643, 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.0009003/0.3652, allocations: 202.9 kB / 364 MB, free: 12.23 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002579/0.3678, allocations: 1.546 MB / 365.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000478/0.3683, allocations: 0.9083 MB / 366.4 MB, free: 9.727 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003724/0.3687, allocations: 89.2 kB / 366.5 MB, free: 9.641 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.3688, allocations: 55.42 kB / 366.6 MB, free: 9.586 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3688, allocations: 4 kB / 366.6 MB, free: 9.582 MB / 302.1 MB Notification: Performance of Templates: time 0.0244/0.3932, allocations: 14.36 MB / 380.9 MB, free: 11.19 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile (rm -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1)