Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.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.001724/0.001724, allocations: 117.1 kB / 18.45 MB, free: 4.613 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.002162/0.002162, allocations: 209.7 kB / 21.41 MB, free: 1.66 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.446/1.446, allocations: 227.7 MB / 251.9 MB, free: 15.85 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.ParallelPumpDropOut,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",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.002125/0.002125, allocations: 71.83 kB / 365.2 MB, free: 184 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1057, allocations: 50.54 MB / 415.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.007793/0.1135, allocations: 5.21 MB / 421 MB, free: 8.359 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002995/0.1166, allocations: 1.363 MB / 422.3 MB, free: 6.988 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006222/0.1172, allocations: 11.94 kB / 422.3 MB, free: 6.977 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006004/0.1179, allocations: 170.5 kB / 422.5 MB, free: 6.809 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001077/0.119, allocations: 333.1 kB / 422.8 MB, free: 6.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006449/0.1197, allocations: 239.6 kB / 423.1 MB, free: 6.246 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001661/0.1214, allocations: 1.233 MB / 424.3 MB, free: 5.008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005582/0.1219, allocations: 338.1 kB / 424.6 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000728/0.1227, allocations: 470.4 kB / 425.1 MB, free: 4.195 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008386/0.1235, allocations: 0.5252 MB / 425.6 MB, free: 3.668 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002477/0.1238, allocations: 108 kB / 425.7 MB, free: 3.562 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002855/0.1241, allocations: 112 kB / 425.8 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002572/0.1243, allocations: 235.2 kB / 426.1 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007618/0.1251, allocations: 0.5444 MB / 426.6 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001561/0.1267, allocations: 1.261 MB / 427.9 MB, free: 1.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.1267, allocations: 0 / 427.9 MB, free: 1.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1267, allocations: 4 kB / 427.9 MB, free: 1.406 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.863e-05/0.1268, allocations: 0 / 427.9 MB, free: 1.406 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.003098/0.1299, allocations: 1.418 MB / 429.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.1299, allocations: 8.031 kB / 429.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002273/0.1302, allocations: 120 kB / 429.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002543/0.1304, allocations: 128.2 kB / 429.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/0.1317, allocations: 0.6071 MB / 430.2 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002266/0.132, allocations: 147 kB / 430.3 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/0.1321, allocations: 64.56 kB / 430.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/0.1338, allocations: 0.9016 MB / 431.3 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.1338, allocations: 0 / 431.3 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.157e-05/0.1339, allocations: 32 kB / 431.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.1339, allocations: 16 kB / 431.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00171/0.1356, allocations: 0.6375 MB / 431.9 MB, free: 13.1 MB / 366.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.004175/0.1398, allocations: 2.202 MB / 434.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00188/0.1417, allocations: 1.005 MB / 435.2 MB, free: 9.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009225/0.1427, allocations: 425.3 kB / 435.6 MB, free: 9.312 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.13e-05/0.1428, allocations: 12.64 kB / 435.6 MB, free: 9.301 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.167e-05/0.1428, allocations: 55.2 kB / 435.6 MB, free: 9.238 MB / 366.1 MB Notification: Performance of pre-optimization done (n=77): time 2.946e-06/0.1428, allocations: 7.875 kB / 435.6 MB, free: 9.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=77): time 0.005851/0.1487, allocations: 1.84 MB / 437.5 MB, free: 7.301 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005377/0.1493, allocations: 0.8234 MB / 438.3 MB, free: 6.281 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/0.1504, allocations: 0.6646 MB / 439 MB, free: 5.605 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001594/0.1506, allocations: 45.7 kB / 439 MB, free: 5.555 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000416/0.151, allocations: 361.3 kB / 439.4 MB, free: 5.199 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003759/0.1514, allocations: 285.5 kB / 439.6 MB, free: 4.918 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003648/0.1518, allocations: 146.7 kB / 439.8 MB, free: 4.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.152, allocations: 334 kB / 440.1 MB, free: 4.438 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007976/0.1528, allocations: 281.8 kB / 440.4 MB, free: 4.164 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.1538, allocations: 0.5624 MB / 441 MB, free: 3.496 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001612/0.1555, allocations: 0.7051 MB / 441.7 MB, free: 2.766 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.1555, allocations: 0 / 441.7 MB, free: 2.766 MB / 366.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003161/0.1586, allocations: 1.126 MB / 442.8 MB, free: 1.598 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.417e-05/0.1588, allocations: 89.05 kB / 442.9 MB, free: 1.492 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.1588, allocations: 0 / 442.9 MB, free: 1.492 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007796/0.1596, allocations: 235.2 kB / 443.1 MB, free: 1.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007138/0.1603, allocations: 155.8 kB / 443.3 MB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.224/0.3843, allocations: 6.92 MB / 450.2 MB, free: 24.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/0.3857, allocations: 112 kB / 450.3 MB, free: 24.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001707/0.3859, allocations: 24.09 kB / 450.3 MB, free: 24.46 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (73): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005473/0.3864, allocations: 218.2 kB / 450.5 MB, free: 24.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002492/0.3867, allocations: 103.6 kB / 450.6 MB, free: 24.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002098/0.3869, allocations: 92.67 kB / 450.7 MB, free: 24.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/0.3869, allocations: 13.45 kB / 450.7 MB, free: 24.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.3869, allocations: 0 / 450.7 MB, free: 24.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002326/0.3893, allocations: 1.263 MB / 452 MB, free: 23.76 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004139/0.3934, allocations: 1.993 MB / 454 MB, free: 23.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.3935, allocations: 2.391 kB / 454 MB, free: 23.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007264/0.3942, allocations: 152 kB / 454.1 MB, free: 23.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005958/0.3948, allocations: 201 kB / 454.3 MB, free: 23.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.918e-05/0.3949, allocations: 14.17 kB / 454.3 MB, free: 23.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005898/0.4008, allocations: 5.351 MB / 459.7 MB, free: 19.19 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4009, allocations: 0 / 459.7 MB, free: 19.19 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004007/0.4049, allocations: 1.449 MB / 461.1 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005206/0.4054, allocations: 249.2 kB / 461.4 MB, free: 18.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002104/0.4056, allocations: 21.5 kB / 461.4 MB, free: 18.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007778/0.4064, allocations: 47.25 kB / 461.4 MB, free: 18.81 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002639/0.4067, allocations: 63.14 kB / 461.5 MB, free: 18.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-05/0.4068, allocations: 26.33 kB / 461.5 MB, free: 18.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007796/0.4076, allocations: 477.9 kB / 462 MB, free: 18.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.163e-06/0.4076, allocations: 0 / 462 MB, free: 18.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001357/0.4089, allocations: 300.8 kB / 462.3 MB, free: 18.7 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * 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 (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003864/0.4128, allocations: 2.007 MB / 464.3 MB, free: 17.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002466/0.4153, allocations: 1.391 MB / 465.7 MB, free: 17.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/0.4153, allocations: 2.25 kB / 465.7 MB, free: 17.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001495/0.4168, allocations: 0.7852 MB / 466.5 MB, free: 16.67 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001378/0.4182, allocations: 241.6 kB / 466.7 MB, free: 16.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01419/0.4325, allocations: 7.829 MB / 474.5 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005954/0.4331, allocations: 0.9618 MB / 475.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006819/0.4338, allocations: 107.5 kB / 475.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004924/0.4343, allocations: 315.1 kB / 475.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of SimCode: time 8.91e-07/0.4343, allocations: 0 / 475.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08983/0.5241, allocations: 26.63 MB / 0.4908 GB, free: 7.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.35/13.87, allocations: 10.66 kB / 0.4908 GB, free: 7.652 MB / 382.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_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_ParallelPumpDropOut.fmu > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.357413933961652] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor1.T', 'heatCapacitor2.T', 'pipe1.T', 'pipe2.T', 'pipe3.T'] 13.980098956031725 13.999864808 13.869465694 Calling exit ...