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.00178/0.00178, allocations: 105.1 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.002178/0.002178, allocations: 213.9 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.062 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.00197/0.00197, allocations: 68.77 kB / 378.5 MB, free: 3.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2361, allocations: 53.36 MB / 431.9 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.00647/0.2426, allocations: 4.893 MB / 436.8 MB, free: 2.016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00309/0.2457, allocations: 1.401 MB / 438.2 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003393/0.246, allocations: 11.88 kB / 438.2 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004463/0.2465, allocations: 158.7 kB / 438.4 MB, free: 452 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007415/0.2472, allocations: 341.4 kB / 438.7 MB, free: 108 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004998/0.2477, allocations: 219.6 kB / 438.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00116/0.2489, allocations: 1.027 MB / 439.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003583/0.2493, allocations: 198.4 kB / 440.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005755/0.2498, allocations: 422.6 kB / 440.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005677/0.2504, allocations: 458.1 kB / 441 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001281/0.2505, allocations: 88 kB / 441.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.2507, allocations: 88 kB / 441.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001931/0.2509, allocations: 199.3 kB / 441.4 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004619/0.2513, allocations: 477.8 kB / 441.8 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001198/0.2525, allocations: 1.079 MB / 442.9 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.2525, allocations: 4 kB / 442.9 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2525, allocations: 4 kB / 442.9 MB, free: 11.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.848e-05/0.2525, allocations: 0 / 442.9 MB, free: 11.86 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.002283/0.2548, allocations: 1.164 MB / 444.1 MB, free: 10.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.2549, allocations: 8.031 kB / 444.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001706/0.255, allocations: 112 kB / 444.2 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.2552, allocations: 104.3 kB / 444.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008201/0.256, allocations: 471.3 kB / 444.8 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000195/0.2562, allocations: 156.7 kB / 444.9 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-05/0.2563, allocations: 56.38 kB / 445 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/0.2577, allocations: 0.8017 MB / 445.8 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.2578, allocations: 3.938 kB / 445.8 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.42e-05/0.2578, allocations: 24 kB / 445.8 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.2578, allocations: 16 kB / 445.8 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/0.2591, allocations: 0.5048 MB / 446.3 MB, free: 8.25 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.003554/0.2627, allocations: 2.102 MB / 448.4 MB, free: 6.023 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/0.264, allocations: 0.4899 MB / 448.9 MB, free: 5.516 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005567/0.2645, allocations: 222.2 kB / 449.1 MB, free: 5.297 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.359e-05/0.2646, allocations: 21.56 kB / 449.1 MB, free: 5.277 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007572/0.2654, allocations: 330 kB / 449.5 MB, free: 4.941 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 2.485e-06/0.2654, allocations: 0 / 449.5 MB, free: 4.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.004933/0.2703, allocations: 1.325 MB / 450.8 MB, free: 3.605 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004951/0.2708, allocations: 0.8193 MB / 451.6 MB, free: 2.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007916/0.2716, allocations: 0.5901 MB / 452.2 MB, free: 1.988 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.965e-05/0.2717, allocations: 45.69 kB / 452.2 MB, free: 1.938 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003039/0.272, allocations: 345.2 kB / 452.6 MB, free: 1.594 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000195/0.2722, allocations: 210.2 kB / 452.8 MB, free: 1.387 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002159/0.2724, allocations: 130.3 kB / 452.9 MB, free: 1.254 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001994/0.2726, allocations: 374.8 kB / 453.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005675/0.2731, allocations: 209.2 kB / 453.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009171/0.2741, allocations: 0.5217 MB / 454 MB, free: 36 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/0.2753, allocations: 0.5642 MB / 454.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.2753, allocations: 7.938 kB / 454.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002366/0.2777, allocations: 0.8924 MB / 455.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.933e-05/0.2778, allocations: 58.38 kB / 455.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.2778, allocations: 7.984 kB / 455.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007567/0.2785, allocations: 217.5 kB / 455.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005952/0.2791, allocations: 119.8 kB / 455.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007312/0.2864, allocations: 4.389 MB / 460.3 MB, free: 9.473 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009073/0.2873, allocations: 91.52 kB / 460.3 MB, free: 9.383 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.245e-05/0.2874, allocations: 27.98 kB / 460.4 MB, free: 9.355 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.0004704/0.2879, allocations: 216.2 kB / 460.6 MB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/0.2881, allocations: 87.47 kB / 460.7 MB, free: 9.051 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001745/0.2882, allocations: 74.86 kB / 460.7 MB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.2882, allocations: 11.98 kB / 460.8 MB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.2882, allocations: 4 kB / 460.8 MB, free: 8.957 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002276/0.2905, allocations: 1.041 MB / 461.8 MB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00289/0.2934, allocations: 1.518 MB / 463.3 MB, free: 6.223 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.2934, allocations: 0 / 463.3 MB, free: 6.223 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005879/0.294, allocations: 111.9 kB / 463.4 MB, free: 6.113 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005548/0.2946, allocations: 169.5 kB / 463.6 MB, free: 5.941 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.405e-05/0.2946, allocations: 8 kB / 463.6 MB, free: 5.934 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005199/0.2998, allocations: 3.723 MB / 467.3 MB, free: 1.977 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.2998, allocations: 8.109 kB / 467.3 MB, free: 1.969 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002448/0.3022, allocations: 1.011 MB / 468.3 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004152/0.3027, allocations: 143.5 kB / 468.5 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.3028, allocations: 15.98 kB / 468.5 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000579/0.3033, allocations: 55.95 kB / 468.6 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/0.3035, allocations: 48.41 kB / 468.6 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.841e-05/0.3035, allocations: 15.98 kB / 468.6 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005548/0.3041, allocations: 419.1 kB / 469 MB, free: 264 kB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3041, allocations: 0 / 469 MB, free: 264 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008513/0.3049, allocations: 259.7 kB / 469.3 MB, free: 4 kB / 366.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.002685/0.3076, allocations: 1.586 MB / 470.9 MB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002059/0.3097, allocations: 0.9903 MB / 471.9 MB, free: 13.35 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.3097, allocations: 0.5 kB / 471.9 MB, free: 13.35 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000998/0.3107, allocations: 0.5273 MB / 472.4 MB, free: 12.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009069/0.3116, allocations: 211 kB / 472.6 MB, free: 12.58 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01099/0.3226, allocations: 6.124 MB / 478.7 MB, free: 6.297 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005877/0.3232, allocations: 0.9199 MB / 479.6 MB, free: 5.352 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004293/0.3236, allocations: 85.22 kB / 479.7 MB, free: 5.266 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003571/0.324, allocations: 259.3 kB / 480 MB, free: 5.012 MB / 382.1 MB Notification: Performance of SimCode: time 9.91e-07/0.324, allocations: 0 / 480 MB, free: 5.012 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06571/0.3897, allocations: 23.37 MB / 0.4915 GB, free: 14.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.34/13.73, allocations: 10 kB / 0.4915 GB, free: 14.02 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.133806035853922] Failed to read output from testmodel.py, exit status != 0: ['time', 'speed.phi'] 13.836083135101944 13.852548712 13.596733868 Calling exit ...