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.001259/0.001259, 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.001437/0.001437, 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.442/1.442, allocations: 230.6 MB / 258.3 MB, free: 8.051 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.00197/0.00197, allocations: 64.77 kB / 378.5 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2466, allocations: 53.38 MB / 431.9 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.007442/0.2541, allocations: 5.246 MB / 437.2 MB, free: 1.598 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003179/0.2572, allocations: 1.378 MB / 438.5 MB, free: 220 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006226/0.2579, allocations: 11.94 kB / 438.6 MB, free: 208 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000532/0.2584, allocations: 174.4 kB / 438.7 MB, free: 32 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008539/0.2592, allocations: 357.2 kB / 439.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005476/0.2598, allocations: 239.6 kB / 439.3 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001552/0.2613, allocations: 1.223 MB / 440.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004989/0.2618, allocations: 238.7 kB / 440.8 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006634/0.2625, allocations: 490.3 kB / 441.2 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007355/0.2632, allocations: 0.5213 MB / 441.8 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001664/0.2634, allocations: 108 kB / 441.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001821/0.2636, allocations: 116 kB / 442 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002173/0.2638, allocations: 239.2 kB / 442.2 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005683/0.2644, allocations: 0.5444 MB / 442.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001475/0.2658, allocations: 1.254 MB / 444 MB, free: 10.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2658, allocations: 0 / 444 MB, free: 10.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2659, allocations: 0 / 444 MB, free: 10.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.862e-05/0.2659, allocations: 3.938 kB / 444 MB, free: 10.7 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.002622/0.2685, allocations: 1.335 MB / 445.4 MB, free: 9.316 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.2685, allocations: 16.02 kB / 445.4 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001885/0.2687, allocations: 119.9 kB / 445.5 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001988/0.2689, allocations: 116.3 kB / 445.6 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.27, allocations: 0.5506 MB / 446.2 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003107/0.2703, allocations: 305.2 kB / 446.5 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.2704, allocations: 64.38 kB / 446.5 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00161/0.272, allocations: 0.9016 MB / 447.4 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.2721, allocations: 0 / 447.4 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.565e-05/0.2721, allocations: 32 kB / 447.4 MB, free: 7.031 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.2722, allocations: 12 kB / 447.5 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001511/0.2737, allocations: 0.6375 MB / 448.1 MB, free: 6.383 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.003876/0.2775, allocations: 2.167 MB / 450.3 MB, free: 4.117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/0.2792, allocations: 0.7274 MB / 451 MB, free: 3.383 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008264/0.28, allocations: 375.2 kB / 451.4 MB, free: 3.012 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7e-05/0.2801, allocations: 16.66 kB / 451.4 MB, free: 2.996 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.316e-05/0.2802, allocations: 47.22 kB / 451.4 MB, free: 2.941 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 3.947e-06/0.2802, allocations: 4 kB / 451.4 MB, free: 2.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.00528/0.2854, allocations: 1.527 MB / 453 MB, free: 1.395 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005116/0.286, allocations: 0.8252 MB / 453.8 MB, free: 384 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.287, allocations: 0.6608 MB / 454.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001178/0.2871, allocations: 49.64 kB / 454.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003329/0.2874, allocations: 369.2 kB / 454.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002695/0.2877, allocations: 281.4 kB / 455.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002611/0.2879, allocations: 150.7 kB / 455.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.2881, allocations: 329.9 kB / 455.6 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006966/0.2888, allocations: 281.8 kB / 455.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009987/0.2898, allocations: 0.5624 MB / 456.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00151/0.2913, allocations: 0.7091 MB / 457.1 MB, free: 12.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.2913, allocations: 0 / 457.1 MB, free: 12.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002872/0.2942, allocations: 1.126 MB / 458.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.484e-05/0.2943, allocations: 89.09 kB / 458.4 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.2943, allocations: 0 / 458.4 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007375/0.295, allocations: 235.2 kB / 458.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007002/0.2957, allocations: 147.8 kB / 458.7 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008796/0.3045, allocations: 6.513 MB / 465.2 MB, free: 4.223 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/0.3056, allocations: 111.4 kB / 465.3 MB, free: 4.113 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.903e-05/0.3057, allocations: 35.92 kB / 465.4 MB, free: 4.078 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.0004549/0.3062, allocations: 217.7 kB / 465.6 MB, free: 3.855 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001831/0.3063, allocations: 95.44 kB / 465.7 MB, free: 3.762 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002028/0.3065, allocations: 96.53 kB / 465.8 MB, free: 3.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.3066, allocations: 11.98 kB / 465.8 MB, free: 3.648 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.3066, allocations: 4 kB / 465.8 MB, free: 3.645 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002775/0.3093, allocations: 1.256 MB / 467.1 MB, free: 2.273 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004389/0.3137, allocations: 1.958 MB / 469 MB, free: 256 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.3137, allocations: 0 / 469 MB, free: 256 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007305/0.3145, allocations: 143.8 kB / 469.2 MB, free: 112 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005757/0.315, allocations: 210.5 kB / 469.4 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.14e-05/0.3151, allocations: 16 kB / 469.4 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007302/0.3224, allocations: 5.043 MB / 474.4 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.3224, allocations: 0 / 474.4 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003707/0.3261, allocations: 1.446 MB / 475.9 MB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005651/0.3267, allocations: 167.2 kB / 476 MB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001311/0.3268, allocations: 20 kB / 476 MB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006618/0.3275, allocations: 52.06 kB / 476.1 MB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002102/0.3277, allocations: 72.53 kB / 476.2 MB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.221e-05/0.3277, allocations: 24 kB / 476.2 MB, free: 8.699 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006628/0.3284, allocations: 479 kB / 476.7 MB, free: 8.238 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3284, allocations: 0 / 476.7 MB, free: 8.238 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009773/0.3294, allocations: 291.8 kB / 476.9 MB, free: 7.953 MB / 382.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.004152/0.3335, allocations: 2.018 MB / 479 MB, free: 5.898 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002667/0.3362, allocations: 1.344 MB / 480.3 MB, free: 4.469 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.3362, allocations: 0 / 480.3 MB, free: 4.469 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001573/0.3378, allocations: 0.7574 MB / 481.1 MB, free: 3.672 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00139/0.3391, allocations: 246.9 kB / 481.3 MB, free: 3.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0146/0.3537, allocations: 7.815 MB / 489.1 MB, free: 11.44 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006715/0.3544, allocations: 0.9599 MB / 490.1 MB, free: 10.45 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005633/0.355, allocations: 110.7 kB / 490.2 MB, free: 10.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004729/0.3555, allocations: 311.3 kB / 490.5 MB, free: 10.04 MB / 398.1 MB Notification: Performance of SimCode: time 9.21e-07/0.3555, allocations: 0 / 490.5 MB, free: 10.04 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07789/0.4333, allocations: 27.27 MB / 0.5056 GB, free: 15.17 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.54/13.98, allocations: 64 / 0.5056 GB, free: 15.17 MB / 430.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.409544902853668] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor1.T', 'heatCapacitor2.T', 'pipe1.T', 'pipe2.T', 'pipe3.T'] 14.088352208957076 14.106266743 13.836450373 Calling exit ...