Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 193.9 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 43.94 kB / 370.4 MB, free: 9.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2764, allocations: 52.18 MB / 422.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.007602/0.284, allocations: 4.639 MB / 427.2 MB, free: 9.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003023/0.2871, allocations: 1.281 MB / 428.5 MB, free: 8.441 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003354/0.2874, allocations: 15.88 kB / 428.5 MB, free: 8.426 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004935/0.2879, allocations: 166.5 kB / 428.7 MB, free: 8.262 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007129/0.2886, allocations: 337.2 kB / 429 MB, free: 7.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004745/0.2891, allocations: 251.5 kB / 429.3 MB, free: 7.684 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001439/0.2905, allocations: 1.23 MB / 430.5 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004415/0.291, allocations: 234.7 kB / 430.7 MB, free: 6.207 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006408/0.2916, allocations: 482.4 kB / 431.2 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006271/0.2922, allocations: 465.8 kB / 431.6 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001661/0.2924, allocations: 112 kB / 431.7 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000201/0.2926, allocations: 108 kB / 431.8 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002281/0.2928, allocations: 231.2 kB / 432.1 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005353/0.2934, allocations: 474 kB / 432.5 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001456/0.2948, allocations: 1.268 MB / 433.8 MB, free: 3.098 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.2948, allocations: 0 / 433.8 MB, free: 3.098 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.2948, allocations: 0 / 433.8 MB, free: 3.098 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.485e-05/0.2948, allocations: 0 / 433.8 MB, free: 3.098 MB / 334.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.002711/0.2975, allocations: 1.335 MB / 435.1 MB, free: 1.711 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.2976, allocations: 8.031 kB / 435.1 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002092/0.2978, allocations: 127.9 kB / 435.3 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002429/0.298, allocations: 124.2 kB / 435.4 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.2992, allocations: 0.5506 MB / 435.9 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003151/0.2995, allocations: 305.2 kB / 436.2 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.2996, allocations: 68.36 kB / 436.3 MB, free: 460 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002108/0.3017, allocations: 1.659 MB / 438 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/0.3018, allocations: 0 / 438 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-05/0.3018, allocations: 32 kB / 438 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.875e-05/0.3019, allocations: 19.94 kB / 438 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001499/0.3034, allocations: 0.6336 MB / 438.7 MB, free: 13.82 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.003434/0.3068, allocations: 1.74 MB / 440.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/0.3084, allocations: 0.725 MB / 441.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008489/0.3093, allocations: 374 kB / 441.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.886e-05/0.3093, allocations: 18.5 kB / 441.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.24e-05/0.3094, allocations: 51.22 kB / 441.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 2.315e-06/0.3094, allocations: 0 / 441.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.005128/0.3145, allocations: 1.531 MB / 443.1 MB, free: 9.309 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004954/0.315, allocations: 0.8195 MB / 443.9 MB, free: 8.293 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008951/0.3159, allocations: 0.6647 MB / 444.6 MB, free: 7.621 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.246e-05/0.316, allocations: 45.7 kB / 444.6 MB, free: 7.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003305/0.3163, allocations: 369.2 kB / 445 MB, free: 7.207 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000248/0.3166, allocations: 273.6 kB / 445.2 MB, free: 6.938 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002571/0.3168, allocations: 154.6 kB / 445.4 MB, free: 6.781 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.317, allocations: 334 kB / 445.7 MB, free: 6.449 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007746/0.3178, allocations: 362.9 kB / 446.1 MB, free: 6.074 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001486/0.3193, allocations: 1.399 MB / 447.5 MB, free: 4.371 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001478/0.3207, allocations: 0.7012 MB / 448.2 MB, free: 3.641 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.3207, allocations: 4 kB / 448.2 MB, free: 3.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002883/0.3236, allocations: 1.205 MB / 449.4 MB, free: 2.375 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.317e-05/0.3237, allocations: 89.09 kB / 449.5 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.3237, allocations: 7.938 kB / 449.5 MB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007201/0.3244, allocations: 227.3 kB / 449.7 MB, free: 2.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006758/0.3251, allocations: 147.8 kB / 449.8 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008499/0.3336, allocations: 6.475 MB / 456.3 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009709/0.3346, allocations: 119.6 kB / 456.4 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-05/0.3346, allocations: 27.92 kB / 456.5 MB, free: 10.8 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.0003914/0.335, allocations: 221.7 kB / 456.7 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/0.3352, allocations: 99.44 kB / 456.8 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001948/0.3354, allocations: 96.52 kB / 456.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/0.3354, allocations: 8 kB / 456.9 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.3354, allocations: 4 kB / 456.9 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002603/0.338, allocations: 1.253 MB / 458.1 MB, free: 9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004048/0.342, allocations: 1.794 MB / 459.9 MB, free: 7.141 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.525e-06/0.3421, allocations: 3.984 kB / 459.9 MB, free: 7.137 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007279/0.3428, allocations: 151.8 kB / 460.1 MB, free: 6.988 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005515/0.3433, allocations: 190.5 kB / 460.3 MB, free: 6.793 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.532e-05/0.3434, allocations: 15.98 kB / 460.3 MB, free: 6.777 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006785/0.3502, allocations: 4.996 MB / 465.3 MB, free: 1.441 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.3502, allocations: 4.031 kB / 465.3 MB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003559/0.3537, allocations: 1.439 MB / 466.7 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005073/0.3542, allocations: 175.2 kB / 466.9 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.3544, allocations: 20 kB / 466.9 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006574/0.355, allocations: 47.95 kB / 467 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001909/0.3552, allocations: 72.47 kB / 467 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.566e-05/0.3553, allocations: 23.98 kB / 467.1 MB, free: 15.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006151/0.3559, allocations: 475 kB / 467.5 MB, free: 15.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3559, allocations: 0 / 467.5 MB, free: 15.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008695/0.3567, allocations: 299.7 kB / 467.8 MB, free: 14.89 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.003696/0.3604, allocations: 2.009 MB / 469.8 MB, free: 12.85 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002408/0.3628, allocations: 1.423 MB / 471.2 MB, free: 11.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.3629, allocations: 8.125 kB / 471.2 MB, free: 11.31 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001433/0.3643, allocations: 0.7612 MB / 472 MB, free: 10.51 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.3653, allocations: 239.1 kB / 472.2 MB, free: 10.28 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01388/0.3792, allocations: 8.144 MB / 480.4 MB, free: 1.871 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/0.3796, allocations: 363.6 kB / 480.7 MB, free: 1.492 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004909/0.3801, allocations: 102.7 kB / 480.8 MB, free: 1.387 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004559/0.3806, allocations: 319.3 kB / 481.2 MB, free: 1.074 MB / 382.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3806, allocations: 4 kB / 481.2 MB, free: 1.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09516/0.4757, allocations: 28.93 MB / 0.4981 GB, free: 4.645 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.91/14.39, allocations: 8 kB / 0.4981 GB, free: 4.637 MB / 414.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable heatCapacitor1.T in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.csv. Warning: Get data of variable heatCapacitor1.T from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.csv failed! Error: Could not read variable heatCapacitor2.T in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.csv. Warning: Get data of variable heatCapacitor2.T from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.csv failed! Error: Could not read variable pipe1.T in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.csv. Warning: Get data of variable pipe1.T from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.csv failed! Error: Could not read variable pipe2.T in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.csv. Warning: Get data of variable pipe2.T from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.csv failed! Error: Could not read variable pipe3.T in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.csv. Warning: Get data of variable pipe3.T from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.949304101988673]