Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0017/0.0017, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002105/0.002105, allocations: 208.7 kB / 24.48 MB, free: 3.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.459/1.459, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 51.91 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2208, allocations: 53.37 MB / 432.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.005964/0.2267, allocations: 4.374 MB / 436.7 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002557/0.2293, allocations: 1.316 MB / 438 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004026/0.2297, allocations: 19.88 kB / 438 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004091/0.2301, allocations: 150.7 kB / 438.2 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007258/0.2308, allocations: 341.4 kB / 438.5 MB, free: 500 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004665/0.2313, allocations: 215.6 kB / 438.7 MB, free: 284 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001058/0.2324, allocations: 1.022 MB / 439.8 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003403/0.2327, allocations: 206.4 kB / 440 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005291/0.2332, allocations: 422.6 kB / 440.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005207/0.2337, allocations: 454.1 kB / 440.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001287/0.2339, allocations: 88 kB / 440.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001647/0.234, allocations: 92 kB / 441 MB, free: 14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001664/0.2342, allocations: 195.3 kB / 441.2 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004356/0.2346, allocations: 402.3 kB / 441.6 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001089/0.2357, allocations: 1.085 MB / 442.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2357, allocations: 3.938 kB / 442.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2357, allocations: 0 / 442.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.2357, allocations: 4 kB / 442.7 MB, free: 12.32 MB / 350.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.002371/0.2381, allocations: 1.172 MB / 443.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.2381, allocations: 12.02 kB / 443.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001764/0.2383, allocations: 100.4 kB / 444 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008483/0.2392, allocations: 471 kB / 444.4 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001845/0.2394, allocations: 148.7 kB / 444.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.932e-05/0.2395, allocations: 52.36 kB / 444.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001888/0.2413, allocations: 1.554 MB / 446.2 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.2414, allocations: 0 / 446.2 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.279e-05/0.2414, allocations: 31.98 kB / 446.2 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.2415, allocations: 12 kB / 446.2 MB, free: 8.402 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/0.2428, allocations: 0.4996 MB / 446.7 MB, free: 7.902 MB / 350.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.003353/0.2461, allocations: 1.67 MB / 448.4 MB, free: 6.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001338/0.2475, allocations: 490.1 kB / 448.9 MB, free: 5.664 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005993/0.2481, allocations: 238.2 kB / 449.1 MB, free: 5.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.967e-05/0.2481, allocations: 16.48 kB / 449.1 MB, free: 5.414 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007814/0.2489, allocations: 318.2 kB / 449.4 MB, free: 5.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 2.164e-06/0.2489, allocations: 0 / 449.4 MB, free: 5.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.005359/0.2543, allocations: 1.329 MB / 450.7 MB, free: 3.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004389/0.2547, allocations: 0.8243 MB / 451.6 MB, free: 2.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006954/0.2554, allocations: 0.5578 MB / 452.1 MB, free: 2.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.041e-05/0.2555, allocations: 41.7 kB / 452.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002849/0.2558, allocations: 337.1 kB / 452.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000186/0.2559, allocations: 206.2 kB / 452.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002345/0.2562, allocations: 130.3 kB / 452.8 MB, free: 1.445 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002641/0.2564, allocations: 378.8 kB / 453.2 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006256/0.2571, allocations: 260.5 kB / 453.4 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001398/0.2585, allocations: 1.34 MB / 454.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/0.2597, allocations: 0.5603 MB / 455.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.2597, allocations: 0 / 455.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002407/0.2621, allocations: 0.9465 MB / 456.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001334/0.2623, allocations: 67.33 kB / 456.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.2623, allocations: 0 / 456.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007625/0.263, allocations: 221.5 kB / 456.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006671/0.2637, allocations: 119.8 kB / 456.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00737/0.2711, allocations: 4.291 MB / 461 MB, free: 8.641 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006682/0.2717, allocations: 79.69 kB / 461.1 MB, free: 8.562 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.172e-05/0.2718, allocations: 23.98 kB / 461.1 MB, free: 8.539 MB / 366.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.0003146/0.2721, allocations: 224.5 kB / 461.3 MB, free: 8.312 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.2722, allocations: 79.53 kB / 461.4 MB, free: 8.234 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001604/0.2724, allocations: 70.56 kB / 461.5 MB, free: 8.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002291/0.2747, allocations: 1.049 MB / 462.5 MB, free: 7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.2747, allocations: 0 / 462.5 MB, free: 7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003539/0.275, allocations: 139.2 kB / 462.6 MB, free: 6.863 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.2751, allocations: 16 kB / 462.7 MB, free: 6.848 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000574/0.2757, allocations: 47.95 kB / 462.7 MB, free: 6.801 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.2758, allocations: 36.42 kB / 462.7 MB, free: 6.766 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002621/0.2785, allocations: 0.8034 MB / 463.5 MB, free: 5.945 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002198/0.2807, allocations: 0.9843 MB / 464.5 MB, free: 4.949 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005842/0.2812, allocations: 223.8 kB / 464.7 MB, free: 4.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004862/0.2817, allocations: 394.8 kB / 465.1 MB, free: 4.348 MB / 366.1 MB Notification: Performance of Backend: time 2.41e-07/0.2817, allocations: 3.938 kB / 465.1 MB, free: 4.344 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002167/0.2839, allocations: 0.9522 MB / 466.1 MB, free: 3.328 MB / 366.1 MB Notification: Performance of SimCode: time 0.002537/0.2864, allocations: 1.86 MB / 467.9 MB, free: 1.41 MB / 366.1 MB Notification: Performance of Templates: time 0.02721/0.3136, allocations: 17.51 MB / 485.4 MB, free: 280 kB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.805536703002872] Failed to read output from testmodel.py, exit status != 0: ['time', 'speed.phi'] 0.32168753699806985 0.33614983200000004 0.0973633 Calling exit ...