Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.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.001342/0.001342, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001543/0.001543, allocations: 212 kB / 24.54 MB, free: 4.016 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.424/1.424, allocations: 230.6 MB / 258.3 MB, free: 8.055 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.PumpAndValve,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",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.001953/0.001953, allocations: 64.77 kB / 378.5 MB, free: 3.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2534, allocations: 53.37 MB / 431.9 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.006035/0.2594, allocations: 4.423 MB / 436.3 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002799/0.2622, allocations: 1.263 MB / 437.6 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003788/0.2626, allocations: 11.94 kB / 437.6 MB, free: 1.168 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004744/0.2631, allocations: 126.8 kB / 437.7 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006378/0.2637, allocations: 273.8 kB / 438 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004976/0.2642, allocations: 195.6 kB / 438.2 MB, free: 0.582 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001148/0.2654, allocations: 0.9297 MB / 439.1 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003786/0.2658, allocations: 173.1 kB / 439.3 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006482/0.2664, allocations: 382.7 kB / 439.7 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005767/0.267, allocations: 406.3 kB / 440.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001144/0.2671, allocations: 76 kB / 440.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001725/0.2673, allocations: 83.98 kB / 440.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.2674, allocations: 171.4 kB / 440.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004196/0.2678, allocations: 418 kB / 440.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001132/0.269, allocations: 0.918 MB / 441.7 MB, free: 13.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.906e-06/0.269, allocations: 7.984 kB / 441.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.269, allocations: 0 / 441.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.269, allocations: 0 / 441.7 MB, free: 13.04 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: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.00219/0.2712, allocations: 1.063 MB / 442.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.2712, allocations: 12.03 kB / 442.8 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001544/0.2714, allocations: 95.64 kB / 442.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002555/0.2717, allocations: 92.42 kB / 443 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007935/0.2724, allocations: 431.2 kB / 443.4 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001952/0.2726, allocations: 152.4 kB / 443.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.597e-05/0.2727, allocations: 56.27 kB / 443.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/0.274, allocations: 0.6647 MB / 444.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.274, allocations: 0 / 444.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.563e-05/0.274, allocations: 24 kB / 444.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.2741, allocations: 12 kB / 444.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/0.2751, allocations: 455.7 kB / 444.7 MB, free: 9.84 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.003394/0.2785, allocations: 1.896 MB / 446.6 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001891/0.2804, allocations: 0.5679 MB / 447.2 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005707/0.281, allocations: 240.7 kB / 447.4 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.676e-05/0.281, allocations: 16.42 kB / 447.5 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.51e-05/0.2811, allocations: 46.98 kB / 447.5 MB, free: 6.945 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 1.944e-06/0.2811, allocations: 0 / 447.5 MB, free: 6.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=54): time 0.004987/0.2861, allocations: 1.243 MB / 448.7 MB, free: 5.684 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003957/0.2865, allocations: 0.5722 MB / 449.3 MB, free: 4.977 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007709/0.2872, allocations: 0.5382 MB / 449.9 MB, free: 4.426 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.883e-05/0.2873, allocations: 37.7 kB / 449.9 MB, free: 4.383 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002676/0.2876, allocations: 301.1 kB / 450.2 MB, free: 4.078 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/0.2878, allocations: 186.3 kB / 450.4 MB, free: 3.895 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002058/0.288, allocations: 110.3 kB / 450.5 MB, free: 3.781 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002061/0.2882, allocations: 374.7 kB / 450.8 MB, free: 3.406 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005306/0.2887, allocations: 197.2 kB / 451 MB, free: 3.215 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007562/0.2895, allocations: 421.1 kB / 451.4 MB, free: 2.727 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.2906, allocations: 487.5 kB / 451.9 MB, free: 2.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.2906, allocations: 0 / 451.9 MB, free: 2.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002347/0.2929, allocations: 0.8095 MB / 452.7 MB, free: 1.398 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.903e-05/0.293, allocations: 29.7 kB / 452.8 MB, free: 1.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.293, allocations: 4 kB / 452.8 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001027/0.294, allocations: 222.3 kB / 453 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008424/0.2948, allocations: 131.8 kB / 453.1 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007881/0.3027, allocations: 5.301 MB / 458.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007118/0.3034, allocations: 79.62 kB / 458.5 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.501e-05/0.3035, allocations: 20 kB / 458.5 MB, free: 11.26 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * 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: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(5,2), (1,1), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0003232/0.3038, allocations: 197.7 kB / 458.7 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.3039, allocations: 71.58 kB / 458.8 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002326/0.3062, allocations: 0.7719 MB / 459.5 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.3063, allocations: 7.938 kB / 459.6 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.3063, allocations: 0 / 459.6 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002215/0.3085, allocations: 1.033 MB / 460.6 MB, free: 9.051 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003347/0.3118, allocations: 1.476 MB / 462.1 MB, free: 7.512 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.3118, allocations: 0 / 462.1 MB, free: 7.512 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007455/0.3126, allocations: 127.8 kB / 462.2 MB, free: 7.387 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008266/0.3134, allocations: 181.5 kB / 462.4 MB, free: 7.203 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.519e-05/0.3134, allocations: 8 kB / 462.4 MB, free: 7.195 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00555/0.319, allocations: 3.593 MB / 466 MB, free: 3.375 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/0.319, allocations: 7.969 kB / 466 MB, free: 3.367 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002899/0.3219, allocations: 1.057 MB / 467 MB, free: 2.285 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003518/0.3222, allocations: 135.4 kB / 467.2 MB, free: 2.152 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.788e-05/0.3223, allocations: 12 kB / 467.2 MB, free: 2.141 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000485/0.3228, allocations: 44.12 kB / 467.2 MB, free: 2.098 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/0.3229, allocations: 40.42 kB / 467.3 MB, free: 2.059 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.579e-05/0.323, allocations: 19.98 kB / 467.3 MB, free: 2.039 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005069/0.3235, allocations: 382.8 kB / 467.6 MB, free: 1.668 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3235, allocations: 0 / 467.6 MB, free: 1.668 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007436/0.3242, allocations: 219.8 kB / 467.9 MB, free: 1.453 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (pipe.T,heatCapacitor.T,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,2), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003197/0.3274, allocations: 1.628 MB / 469.5 MB, free: 15.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002391/0.3298, allocations: 1.017 MB / 470.5 MB, free: 14.72 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3298, allocations: 0 / 470.5 MB, free: 14.72 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.3308, allocations: 0.5078 MB / 471 MB, free: 14.19 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008438/0.3317, allocations: 186.6 kB / 471.2 MB, free: 14.01 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/0.3428, allocations: 6.07 MB / 477.3 MB, free: 7.805 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000592/0.3434, allocations: 0.8918 MB / 478.2 MB, free: 6.887 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003661/0.3437, allocations: 81.12 kB / 478.2 MB, free: 6.805 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003403/0.3441, allocations: 231.4 kB / 478.5 MB, free: 6.578 MB / 382.1 MB Notification: Performance of SimCode: time 9.91e-07/0.3441, allocations: 0 / 478.5 MB, free: 6.578 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06386/0.4079, allocations: 20.69 MB / 499.2 MB, free: 2.215 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.66/14.07, allocations: 13.92 kB / 499.2 MB, free: 2.207 MB / 398.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve.fmu > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.43898030789569] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor.T', 'pipe.T', 'speed.phi'] 14.179993201978505 14.19998064 13.927425393 Calling exit ...