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.001291/0.001291, allocations: 122.6 kB / 18.5 MB, free: 4.578 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.001355/0.001355, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.494/1.494, allocations: 230.5 MB / 254.8 MB, free: 15.1 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.001979/0.001979, allocations: 67.84 kB / 373.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1095, allocations: 53.32 MB / 427 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.237/0.3465, allocations: 5.227 MB / 432.2 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002503/0.349, allocations: 1.372 MB / 433.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004229/0.3494, allocations: 13.19 kB / 433.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004303/0.3498, allocations: 167 kB / 433.8 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006835/0.3505, allocations: 341.4 kB / 434.1 MB, free: 7.293 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004766/0.351, allocations: 245.3 kB / 434.3 MB, free: 7.285 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001169/0.3522, allocations: 1.227 MB / 435.6 MB, free: 6.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003861/0.3525, allocations: 244.8 kB / 435.8 MB, free: 6.918 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005832/0.3531, allocations: 483.9 kB / 436.3 MB, free: 6.832 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006457/0.3538, allocations: 0.5251 MB / 436.8 MB, free: 6.723 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001801/0.3539, allocations: 108.9 kB / 436.9 MB, free: 6.723 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002001/0.3541, allocations: 110.3 kB / 437 MB, free: 6.723 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001989/0.3543, allocations: 236.9 kB / 437.3 MB, free: 6.574 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00047/0.3548, allocations: 0.5458 MB / 437.8 MB, free: 6.254 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001372/0.3562, allocations: 1.26 MB / 439.1 MB, free: 5.781 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.3562, allocations: 0 / 439.1 MB, free: 5.781 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.827e-06/0.3562, allocations: 1.891 kB / 439.1 MB, free: 5.781 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.908e-05/0.3562, allocations: 0 / 439.1 MB, free: 5.781 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.002602/0.3588, allocations: 1.416 MB / 440.5 MB, free: 4.805 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.3589, allocations: 9.719 kB / 440.5 MB, free: 4.805 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001787/0.359, allocations: 123.7 kB / 440.6 MB, free: 4.715 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002026/0.3592, allocations: 122.8 kB / 440.7 MB, free: 4.656 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000981/0.3602, allocations: 0.605 MB / 441.3 MB, free: 4.234 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001761/0.3604, allocations: 154 kB / 441.5 MB, free: 4.113 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.3605, allocations: 63.12 kB / 441.5 MB, free: 4.094 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001483/0.362, allocations: 0.8985 MB / 442.4 MB, free: 3.547 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.362, allocations: 4 kB / 442.4 MB, free: 3.543 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.084e-05/0.3621, allocations: 33 kB / 442.5 MB, free: 3.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.708e-05/0.3621, allocations: 16.09 kB / 442.5 MB, free: 3.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001685/0.3638, allocations: 0.6405 MB / 443.1 MB, free: 3.32 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.003968/0.3677, allocations: 2.201 MB / 445.3 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/0.3693, allocations: 0.9577 MB / 446.3 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007839/0.3701, allocations: 376.7 kB / 446.7 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.383e-05/0.3702, allocations: 14.8 kB / 446.7 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.3702, allocations: 51.36 kB / 446.7 MB, free: 1.336 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 2.545e-06/0.3702, allocations: 0 / 446.7 MB, free: 1.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.005205/0.3754, allocations: 1.832 MB / 448.6 MB, free: 496 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003821/0.3758, allocations: 0.8235 MB / 449.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.3768, allocations: 0.6656 MB / 450 MB, free: 15.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001206/0.377, allocations: 45.11 kB / 450.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004032/0.3774, allocations: 365.2 kB / 450.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002978/0.3777, allocations: 284.1 kB / 450.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002755/0.3779, allocations: 147.2 kB / 450.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.3781, allocations: 337 kB / 451.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007463/0.3788, allocations: 280.9 kB / 451.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/0.3799, allocations: 0.5613 MB / 452 MB, free: 13.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001565/0.3814, allocations: 0.702 MB / 452.7 MB, free: 13.37 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.3814, allocations: 0.6875 kB / 452.7 MB, free: 13.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002996/0.3844, allocations: 1.122 MB / 453.9 MB, free: 12.87 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.732e-05/0.3845, allocations: 90.42 kB / 453.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.3845, allocations: 5.312 kB / 454 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007672/0.3853, allocations: 234 kB / 454.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006858/0.386, allocations: 147.4 kB / 454.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008997/0.395, allocations: 6.929 MB / 461.3 MB, free: 6.391 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.3963, allocations: 105.4 kB / 461.4 MB, free: 6.344 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.876e-05/0.3963, allocations: 35.61 kB / 461.4 MB, free: 6.328 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.0005284/0.3969, allocations: 218.9 kB / 461.6 MB, free: 6.152 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002527/0.3971, allocations: 96.28 kB / 461.7 MB, free: 6.105 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002293/0.3973, allocations: 98.3 kB / 461.8 MB, free: 6.031 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.3974, allocations: 7.312 kB / 461.8 MB, free: 6.031 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-05/0.3974, allocations: 2 kB / 461.8 MB, free: 6.031 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002868/0.4002, allocations: 1.257 MB / 463.1 MB, free: 5.203 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004358/0.4046, allocations: 1.999 MB / 465.1 MB, free: 3.852 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.4046, allocations: 4 kB / 465.1 MB, free: 3.848 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007684/0.4054, allocations: 154.1 kB / 465.2 MB, free: 3.805 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005744/0.4059, allocations: 192.7 kB / 465.4 MB, free: 3.707 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.842e-05/0.406, allocations: 19.88 kB / 465.4 MB, free: 3.695 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007181/0.4132, allocations: 5.348 MB / 470.8 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.4132, allocations: 1.125 kB / 470.8 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003822/0.417, allocations: 1.443 MB / 472.2 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005454/0.4176, allocations: 246.4 kB / 472.5 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.4177, allocations: 23.91 kB / 472.5 MB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006804/0.4184, allocations: 48.89 kB / 472.5 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002037/0.4186, allocations: 63.25 kB / 472.6 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.305e-05/0.4186, allocations: 25.17 kB / 472.6 MB, free: 13.53 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006858/0.4193, allocations: 477.4 kB / 473.1 MB, free: 13.26 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4193, allocations: 0 / 473.1 MB, free: 13.26 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001052/0.4204, allocations: 295.2 kB / 473.4 MB, free: 13.21 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.003906/0.4243, allocations: 2.018 MB / 475.4 MB, free: 11.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002528/0.4268, allocations: 1.337 MB / 476.7 MB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.4268, allocations: 2.969 kB / 476.7 MB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001445/0.4282, allocations: 0.7559 MB / 477.5 MB, free: 10.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.4294, allocations: 240 kB / 477.7 MB, free: 10.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0144/0.4438, allocations: 7.825 MB / 485.5 MB, free: 3.348 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006867/0.4445, allocations: 0.9674 MB / 486.5 MB, free: 2.348 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005576/0.4451, allocations: 106.7 kB / 486.6 MB, free: 2.238 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004699/0.4455, allocations: 319.3 kB / 486.9 MB, free: 1.926 MB / 382.1 MB Notification: Performance of SimCode: time 1.342e-06/0.4455, allocations: 0 / 486.9 MB, free: 1.926 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07636/0.5219, allocations: 26.78 MB / 0.5017 GB, free: 7.609 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.56/14.08, allocations: 2.5 kB / 0.5017 GB, free: 7.609 MB / 414.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.656483298167586] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor1.T', 'heatCapacitor2.T', 'pipe1.T', 'pipe2.T', 'pipe3.T'] 14.195362308062613 14.219737278 13.859013093 Calling exit ...