Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001136/0.001136, allocations: 110 kB / 17.06 MB, free: 6.023 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.001378/0.001378, allocations: 191 kB / 18 MB, free: 5.105 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.5/1.5, allocations: 205.1 MB / 223.9 MB, free: 12.29 MB / 190.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.001356/0.001356, allocations: 51.94 kB / 327.9 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1101, allocations: 46.62 MB / 374.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.2149/0.3251, allocations: 4.818 MB / 379.3 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002771/0.3279, allocations: 1.396 MB / 380.7 MB, free: 9.641 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003314/0.3282, allocations: 7.625 kB / 380.7 MB, free: 9.641 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004275/0.3287, allocations: 156.4 kB / 380.9 MB, free: 9.57 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006887/0.3294, allocations: 349.2 kB / 381.2 MB, free: 9.434 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004914/0.3299, allocations: 214.4 kB / 381.4 MB, free: 9.426 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00104/0.331, allocations: 1.033 MB / 382.4 MB, free: 9.16 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000517/0.3315, allocations: 299.8 kB / 382.7 MB, free: 9.102 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005903/0.3321, allocations: 411.5 kB / 383.1 MB, free: 9.023 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005067/0.3326, allocations: 448.3 kB / 383.6 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001328/0.3327, allocations: 88.03 kB / 383.7 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001683/0.3329, allocations: 90.81 kB / 383.7 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001797/0.3331, allocations: 198.6 kB / 383.9 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004396/0.3336, allocations: 480.4 kB / 384.4 MB, free: 8.484 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001216/0.3348, allocations: 1.073 MB / 385.5 MB, free: 8.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.12e-05/0.3348, allocations: 1.25 kB / 385.5 MB, free: 8.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.3348, allocations: 0 / 385.5 MB, free: 8.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.613e-05/0.3348, allocations: 1.031 kB / 385.5 MB, free: 8.09 MB / 318.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.00228/0.3371, allocations: 1.221 MB / 386.7 MB, free: 7.23 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.3372, allocations: 10.09 kB / 386.7 MB, free: 7.23 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001685/0.3373, allocations: 95.78 kB / 386.8 MB, free: 7.188 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00074/0.3381, allocations: 0.5103 MB / 387.3 MB, free: 6.805 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001549/0.3383, allocations: 107.8 kB / 387.4 MB, free: 6.723 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.3384, allocations: 49.59 kB / 387.5 MB, free: 6.707 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/0.3397, allocations: 0.7967 MB / 388.3 MB, free: 6.184 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/0.3397, allocations: 0.7969 kB / 388.3 MB, free: 6.184 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.492e-05/0.3398, allocations: 24.44 kB / 388.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.684e-05/0.3398, allocations: 12.56 kB / 388.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/0.3411, allocations: 0.5012 MB / 388.8 MB, free: 6.012 MB / 318.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.003503/0.3446, allocations: 2.152 MB / 391 MB, free: 4.629 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001347/0.346, allocations: 0.5268 MB / 391.5 MB, free: 4.426 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006204/0.3466, allocations: 261.7 kB / 391.7 MB, free: 4.328 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.843e-05/0.3467, allocations: 17.69 kB / 391.8 MB, free: 4.324 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008048/0.3475, allocations: 326.1 kB / 392.1 MB, free: 4.188 MB / 318.1 MB Notification: Performance of pre-optimization done (n=56): time 2.805e-06/0.3475, allocations: 0 / 392.1 MB, free: 4.188 MB / 318.1 MB Notification: Performance of matching and sorting (n=56): time 0.005116/0.3526, allocations: 1.494 MB / 393.6 MB, free: 3.602 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001863/0.3528, allocations: 0.8221 MB / 394.4 MB, free: 2.598 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008361/0.3537, allocations: 0.5907 MB / 395 MB, free: 2.324 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.145e-05/0.3538, allocations: 46.41 kB / 395 MB, free: 2.281 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002814/0.3541, allocations: 334 kB / 395.4 MB, free: 2.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000238/0.3543, allocations: 185.2 kB / 395.5 MB, free: 1.875 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002892/0.3546, allocations: 131.8 kB / 395.7 MB, free: 1.809 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.3548, allocations: 380.6 kB / 396 MB, free: 1.465 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006935/0.3555, allocations: 215.2 kB / 396.3 MB, free: 1.395 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008922/0.3564, allocations: 0.5156 MB / 396.8 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.3576, allocations: 0.5659 MB / 397.3 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.3576, allocations: 0 / 397.3 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002427/0.36, allocations: 0.9 MB / 398.2 MB, free: 244 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.27e-05/0.3601, allocations: 60.14 kB / 398.3 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.3601, allocations: 2.375 kB / 398.3 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007765/0.3609, allocations: 221.8 kB / 398.5 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006099/0.3615, allocations: 113 kB / 398.6 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006878/0.3684, allocations: 4.597 MB / 403.2 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/0.3694, allocations: 85.5 kB / 403.3 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.109e-05/0.3696, allocations: 21.31 kB / 403.3 MB, free: 12.38 MB / 334.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 (oneWayValve.backward,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * 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 (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 {(9,3), (1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0005657/0.3701, allocations: 212.4 kB / 403.5 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000266/0.3704, allocations: 81.8 kB / 403.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002157/0.3706, allocations: 80.92 kB / 403.7 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.3706, allocations: 10.2 kB / 403.7 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.3707, allocations: 1.531 kB / 403.7 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002412/0.3731, allocations: 1.051 MB / 404.8 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003311/0.3764, allocations: 1.537 MB / 406.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3764, allocations: 1.188 kB / 406.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005792/0.377, allocations: 108.7 kB / 406.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000574/0.3776, allocations: 169.4 kB / 406.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.788e-05/0.3777, allocations: 7.562 kB / 406.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005301/0.383, allocations: 3.939 MB / 410.5 MB, free: 6.48 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.383, allocations: 3.938 kB / 410.5 MB, free: 6.477 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00268/0.3857, allocations: 1.02 MB / 411.5 MB, free: 5.883 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005285/0.3862, allocations: 221.4 kB / 411.7 MB, free: 5.676 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001939/0.3864, allocations: 13.88 kB / 411.8 MB, free: 5.668 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006439/0.3871, allocations: 42.02 kB / 411.8 MB, free: 5.648 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001899/0.3873, allocations: 55.23 kB / 411.9 MB, free: 5.617 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-05/0.3873, allocations: 14.16 kB / 411.9 MB, free: 5.613 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006858/0.388, allocations: 420.8 kB / 412.3 MB, free: 5.367 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.388, allocations: 192 / 412.3 MB, free: 5.367 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001141/0.3892, allocations: 247.9 kB / 412.5 MB, free: 5.332 MB / 334.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 (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 {(2,3), (1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002055/0.3894, allocations: 132.8 kB / 412.7 MB, free: 5.215 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002233/0.3916, allocations: 1.021 MB / 413.7 MB, free: 4.516 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.535e-06/0.3917, allocations: 2.781 kB / 413.7 MB, free: 4.516 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009834/0.3926, allocations: 0.5516 MB / 414.2 MB, free: 4.117 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009572/0.3936, allocations: 219 kB / 414.4 MB, free: 4 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002792/0.3964, allocations: 1.292 MB / 415.7 MB, free: 3.227 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006405/0.3971, allocations: 0.9144 MB / 416.6 MB, free: 2.434 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004052/0.3975, allocations: 84.98 kB / 416.7 MB, free: 2.391 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/0.3977, allocations: 61.17 kB / 416.8 MB, free: 2.371 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3977, allocations: 0 / 416.8 MB, free: 2.371 MB / 334.1 MB Notification: Performance of Templates: time 0.02902/0.4267, allocations: 16.3 MB / 433.1 MB, free: 2.738 MB / 350.1 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile (rm -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1)