Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001296/0.001296, allocations: 114.5 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001397/0.001397, allocations: 211.4 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.42/1.42, allocations: 230.4 MB / 258.1 MB, free: 8.145 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 63.89 kB / 378.7 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2174, allocations: 53.32 MB / 432.1 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.006622/0.224, allocations: 4.884 MB / 436.9 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002583/0.2266, allocations: 1.395 MB / 438.3 MB, free: 1.066 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003734/0.227, allocations: 8 kB / 438.3 MB, free: 1.059 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004564/0.2274, allocations: 154.7 kB / 438.5 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00084/0.2283, allocations: 345.4 kB / 438.8 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005155/0.2288, allocations: 219.6 kB / 439 MB, free: 360 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001323/0.2301, allocations: 1.03 MB / 440.1 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003456/0.2305, allocations: 206 kB / 440.3 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005619/0.231, allocations: 410.6 kB / 440.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005736/0.2316, allocations: 446.1 kB / 441.1 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001234/0.2317, allocations: 91.94 kB / 441.2 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.2319, allocations: 88 kB / 441.3 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001752/0.232, allocations: 199.3 kB / 441.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004404/0.2325, allocations: 481.9 kB / 442 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001088/0.2336, allocations: 1.085 MB / 443 MB, free: 12.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.2336, allocations: 0 / 443 MB, free: 12.33 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2336, allocations: 0 / 443 MB, free: 12.33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.2336, allocations: 0 / 443 MB, free: 12.33 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.002304/0.2359, allocations: 1.235 MB / 444.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.2359, allocations: 12.02 kB / 444.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001753/0.2361, allocations: 108.3 kB / 444.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008137/0.2369, allocations: 0.5126 MB / 444.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000157/0.2371, allocations: 101.3 kB / 445 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.54e-05/0.2372, allocations: 52.38 kB / 445.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.2386, allocations: 0.801 MB / 445.9 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.2386, allocations: 0 / 445.9 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.63e-05/0.2387, allocations: 24 kB / 445.9 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.2387, allocations: 16 kB / 445.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001293/0.24, allocations: 0.4958 MB / 446.4 MB, free: 8.754 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.003526/0.2435, allocations: 2.154 MB / 448.5 MB, free: 6.465 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001353/0.2448, allocations: 497.9 kB / 449 MB, free: 5.965 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006172/0.2455, allocations: 230.4 kB / 449.3 MB, free: 5.734 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.345e-05/0.2455, allocations: 17.62 kB / 449.3 MB, free: 5.719 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007678/0.2463, allocations: 319 kB / 449.6 MB, free: 5.398 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 1.108e-05/0.2463, allocations: 4 kB / 449.6 MB, free: 5.395 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.005221/0.2515, allocations: 1.482 MB / 451.1 MB, free: 3.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004727/0.252, allocations: 0.8233 MB / 451.9 MB, free: 2.844 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007638/0.2528, allocations: 0.5824 MB / 452.5 MB, free: 2.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.728e-05/0.2528, allocations: 41.7 kB / 452.5 MB, free: 2.203 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003097/0.2531, allocations: 341.2 kB / 452.8 MB, free: 1.863 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/0.2533, allocations: 198.3 kB / 453 MB, free: 1.668 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002257/0.2535, allocations: 138.2 kB / 453.2 MB, free: 1.527 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002082/0.2538, allocations: 378.8 kB / 453.5 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006099/0.2544, allocations: 209 kB / 453.8 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009035/0.2553, allocations: 0.5247 MB / 454.3 MB, free: 304 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/0.2565, allocations: 0.5616 MB / 454.8 MB, free: 15.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.2565, allocations: 0 / 454.8 MB, free: 15.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002334/0.2589, allocations: 0.9016 MB / 455.7 MB, free: 14.76 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.449e-05/0.2589, allocations: 63.34 kB / 455.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.2589, allocations: 8 kB / 455.8 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007406/0.2597, allocations: 217.6 kB / 456 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006573/0.2603, allocations: 119.8 kB / 456.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006904/0.2672, allocations: 4.593 MB / 460.7 MB, free: 9.477 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007159/0.268, allocations: 79.58 kB / 460.8 MB, free: 9.398 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-05/0.268, allocations: 24 kB / 460.8 MB, free: 9.375 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.0003233/0.2683, allocations: 221.7 kB / 461.1 MB, free: 9.148 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.2685, allocations: 79.53 kB / 461.1 MB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001527/0.2686, allocations: 78.86 kB / 461.2 MB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002207/0.2708, allocations: 1.043 MB / 462.2 MB, free: 7.824 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2708, allocations: 4 kB / 462.3 MB, free: 7.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003307/0.2711, allocations: 220.4 kB / 462.5 MB, free: 7.586 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.2713, allocations: 12 kB / 462.5 MB, free: 7.574 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00058/0.2718, allocations: 43.95 kB / 462.5 MB, free: 7.531 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.2719, allocations: 40.5 kB / 462.6 MB, free: 7.492 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002542/0.2745, allocations: 0.8124 MB / 463.4 MB, free: 6.668 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002099/0.2766, allocations: 0.9965 MB / 464.4 MB, free: 5.656 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005812/0.2772, allocations: 220.5 kB / 464.6 MB, free: 5.438 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005114/0.2777, allocations: 419.1 kB / 465 MB, free: 5.035 MB / 366.1 MB Notification: Performance of Backend: time 3.7e-07/0.2777, allocations: 0 / 465 MB, free: 5.035 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001988/0.2797, allocations: 0.9001 MB / 465.9 MB, free: 4.082 MB / 366.1 MB Notification: Performance of SimCode: time 0.002434/0.2821, allocations: 1.878 MB / 467.8 MB, free: 2.152 MB / 366.1 MB Notification: Performance of Templates: time 0.0256/0.3077, allocations: 15.65 MB / 483.4 MB, free: 2.738 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.729002695996314] Failed to read output from testmodel.py, exit status != 0: ['time', 'speed.phi'] 0.3158378740772605 0.32983769799999996 0.093278841 Calling exit ...