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.001624/0.001624, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001991/0.001991, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.489/1.489, allocations: 230.6 MB / 258.3 MB, free: 8.039 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: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump",fmuType="me",version="2.0",platforms={"static"}) [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.002006/0.002006, allocations: 64.78 kB / 378.5 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.2661, allocations: 53.37 MB / 431.9 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.00633/0.2724, allocations: 4.893 MB / 436.8 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00276/0.2752, allocations: 1.39 MB / 438.2 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002979/0.2755, allocations: 15.88 kB / 438.2 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003955/0.2759, allocations: 154.7 kB / 438.4 MB, free: 412 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006774/0.2766, allocations: 349.4 kB / 438.7 MB, free: 60 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004787/0.277, allocations: 211.7 kB / 438.9 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00115/0.2782, allocations: 1.026 MB / 439.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003488/0.2785, allocations: 210.4 kB / 440.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005909/0.2791, allocations: 426.5 kB / 440.6 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000561/0.2797, allocations: 450.1 kB / 441 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.2798, allocations: 88 kB / 441.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.28, allocations: 92 kB / 441.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001812/0.2801, allocations: 199.3 kB / 441.4 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004484/0.2806, allocations: 477.8 kB / 441.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001155/0.2817, allocations: 1.078 MB / 442.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2818, allocations: 0 / 442.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.2818, allocations: 0 / 442.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.946e-05/0.2818, allocations: 0 / 442.9 MB, free: 11.82 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.002277/0.284, allocations: 1.176 MB / 444.1 MB, free: 10.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.2841, allocations: 8.031 kB / 444.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001686/0.2843, allocations: 108 kB / 444.2 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001769/0.2844, allocations: 108.3 kB / 444.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008279/0.2853, allocations: 463.3 kB / 444.8 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000189/0.2855, allocations: 156.7 kB / 444.9 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.792e-05/0.2855, allocations: 48.38 kB / 445 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.2869, allocations: 0.8095 MB / 445.8 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.407e-05/0.287, allocations: 4 kB / 445.8 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.995e-05/0.287, allocations: 27.98 kB / 445.8 MB, free: 8.727 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.677e-05/0.2871, allocations: 12 kB / 445.8 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00122/0.2883, allocations: 0.5164 MB / 446.3 MB, free: 8.195 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.003461/0.2917, allocations: 2.095 MB / 448.4 MB, free: 5.977 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/0.293, allocations: 498.4 kB / 448.9 MB, free: 5.473 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005644/0.2936, allocations: 230.2 kB / 449.1 MB, free: 5.246 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.466e-05/0.2936, allocations: 16.88 kB / 449.2 MB, free: 5.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007473/0.2944, allocations: 330 kB / 449.5 MB, free: 4.895 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 2.504e-06/0.2944, allocations: 0 / 449.5 MB, free: 4.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.005013/0.2994, allocations: 1.325 MB / 450.8 MB, free: 3.559 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004536/0.2998, allocations: 0.8232 MB / 451.6 MB, free: 2.539 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007632/0.3006, allocations: 0.5824 MB / 452.2 MB, free: 1.945 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.253e-05/0.3007, allocations: 41.7 kB / 452.2 MB, free: 1.898 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002976/0.301, allocations: 349.1 kB / 452.6 MB, free: 1.551 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001831/0.3011, allocations: 202.2 kB / 452.8 MB, free: 1.352 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002086/0.3014, allocations: 138.3 kB / 452.9 MB, free: 1.211 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.3015, allocations: 374.8 kB / 453.3 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005686/0.3021, allocations: 213.2 kB / 453.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008864/0.303, allocations: 0.5216 MB / 454 MB, free: 15.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/0.3042, allocations: 0.5602 MB / 454.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.3042, allocations: 4 kB / 454.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002282/0.3065, allocations: 0.8924 MB / 455.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.707e-05/0.3066, allocations: 59.41 kB / 455.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.3066, allocations: 8 kB / 455.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007394/0.3073, allocations: 221.5 kB / 455.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006171/0.308, allocations: 119.8 kB / 455.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006859/0.3148, allocations: 4.39 MB / 460.3 MB, free: 9.422 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007723/0.3156, allocations: 87.56 kB / 460.3 MB, free: 9.336 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.563e-05/0.3156, allocations: 20 kB / 460.4 MB, free: 9.316 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.0003508/0.316, allocations: 221.7 kB / 460.6 MB, free: 9.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.3161, allocations: 83.47 kB / 460.7 MB, free: 9.008 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000152/0.3163, allocations: 78.84 kB / 460.7 MB, free: 8.926 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.3163, allocations: 8.188 kB / 460.7 MB, free: 8.918 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3163, allocations: 0 / 460.7 MB, free: 8.918 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002148/0.3184, allocations: 1.049 MB / 461.8 MB, free: 7.758 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002816/0.3212, allocations: 1.514 MB / 463.3 MB, free: 6.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.3212, allocations: 0 / 463.3 MB, free: 6.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005887/0.3218, allocations: 107.8 kB / 463.4 MB, free: 6.074 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005386/0.3224, allocations: 169.6 kB / 463.6 MB, free: 5.902 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.533e-05/0.3224, allocations: 19.98 kB / 463.6 MB, free: 5.883 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005229/0.3276, allocations: 3.722 MB / 467.3 MB, free: 1.926 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.3276, allocations: 4 kB / 467.3 MB, free: 1.922 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002417/0.33, allocations: 1.018 MB / 468.3 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003556/0.3304, allocations: 139.3 kB / 468.5 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.3305, allocations: 16 kB / 468.5 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005666/0.3311, allocations: 47.95 kB / 468.5 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/0.3312, allocations: 52.39 kB / 468.6 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.874e-05/0.3313, allocations: 12 kB / 468.6 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005698/0.3319, allocations: 427.1 kB / 469 MB, free: 212 kB / 366.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3319, allocations: 0 / 469 MB, free: 212 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008608/0.3327, allocations: 255.8 kB / 469.3 MB, free: 15.95 MB / 382.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.002745/0.3355, allocations: 1.591 MB / 470.9 MB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002119/0.3376, allocations: 0.9903 MB / 471.9 MB, free: 13.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3376, allocations: 0 / 471.9 MB, free: 13.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.3386, allocations: 0.5278 MB / 472.4 MB, free: 12.74 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008919/0.3395, allocations: 207.3 kB / 472.6 MB, free: 12.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/0.35, allocations: 6.116 MB / 478.7 MB, free: 6.258 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005992/0.3506, allocations: 0.9238 MB / 479.6 MB, free: 5.309 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003892/0.351, allocations: 93.14 kB / 479.7 MB, free: 5.215 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003495/0.3513, allocations: 259.3 kB / 480 MB, free: 4.961 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3513, allocations: 0 / 480 MB, free: 4.961 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06653/0.4178, allocations: 23.36 MB / 0.4915 GB, free: 13.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.5/13.92, allocations: 9.125 kB / 0.4915 GB, free: 13.98 MB / 414.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump.fmu > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.36429298715666] Failed to read output from testmodel.py, exit status != 0: ['time', 'speed.phi'] 14.027224853169173 14.057869036 13.770441281 Calling exit ...