Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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.001773/0.001773, allocations: 103.6 kB / 20.43 MB, free: 1.211 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.002275/0.002275, allocations: 185 kB / 23.71 MB, free: 4.434 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.432/1.432, allocations: 225.7 MB / 252.5 MB, free: 12.85 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.ParallelCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 51.86 kB / 370.4 MB, free: 9.688 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2327, allocations: 52.18 MB / 422.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.00644/0.2391, allocations: 4.427 MB / 427 MB, free: 9.953 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00252/0.2416, allocations: 1.23 MB / 428.2 MB, free: 8.715 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005995/0.2422, allocations: 11.94 kB / 428.2 MB, free: 8.703 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006078/0.2428, allocations: 162.6 kB / 428.4 MB, free: 8.543 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001006/0.2439, allocations: 329.3 kB / 428.7 MB, free: 8.219 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005854/0.2444, allocations: 227.6 kB / 428.9 MB, free: 7.996 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001437/0.2459, allocations: 1.16 MB / 430.1 MB, free: 6.828 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003746/0.2463, allocations: 222.5 kB / 430.3 MB, free: 6.598 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004872/0.2467, allocations: 462.4 kB / 430.8 MB, free: 6.145 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005893/0.2473, allocations: 434 kB / 431.2 MB, free: 5.719 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001587/0.2475, allocations: 103.9 kB / 431.3 MB, free: 5.617 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.2477, allocations: 104 kB / 431.4 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002038/0.2479, allocations: 223.2 kB / 431.6 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004617/0.2483, allocations: 442.2 kB / 432 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001259/0.2496, allocations: 1.187 MB / 433.2 MB, free: 3.672 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.2496, allocations: 4 kB / 433.2 MB, free: 3.668 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.2496, allocations: 4 kB / 433.2 MB, free: 3.664 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.2496, allocations: 0 / 433.2 MB, free: 3.664 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002346/0.252, allocations: 1.261 MB / 434.5 MB, free: 2.352 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.252, allocations: 12.03 kB / 434.5 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001807/0.2522, allocations: 119.9 kB / 434.6 MB, free: 2.211 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001816/0.2524, allocations: 116.3 kB / 434.7 MB, free: 2.098 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009144/0.2533, allocations: 0.4953 MB / 435.2 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000293/0.2536, allocations: 301.2 kB / 435.5 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.2537, allocations: 64.38 kB / 435.6 MB, free: 1.164 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001852/0.2555, allocations: 1.616 MB / 437.2 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.2555, allocations: 0 / 437.2 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.81e-05/0.2556, allocations: 32 kB / 437.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/0.2556, allocations: 15.98 kB / 437.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/0.2569, allocations: 0.5711 MB / 437.8 MB, free: 14.64 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.003377/0.2602, allocations: 1.67 MB / 439.5 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001714/0.262, allocations: 0.6944 MB / 440.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006991/0.2626, allocations: 335.3 kB / 440.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.903e-05/0.2627, allocations: 12.64 kB / 440.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.834e-05/0.2627, allocations: 51.16 kB / 440.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.144e-06/0.2627, allocations: 0 / 440.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004751/0.2675, allocations: 1.439 MB / 442 MB, free: 10.37 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004668/0.268, allocations: 0.8272 MB / 442.9 MB, free: 9.344 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008382/0.2688, allocations: 0.641 MB / 443.5 MB, free: 8.695 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.654e-05/0.2689, allocations: 45.7 kB / 443.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003101/0.2692, allocations: 349.4 kB / 443.9 MB, free: 8.297 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002313/0.2694, allocations: 261.7 kB / 444.1 MB, free: 8.039 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002477/0.2697, allocations: 150.6 kB / 444.3 MB, free: 7.887 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002153/0.2699, allocations: 390.7 kB / 444.7 MB, free: 7.496 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00061/0.2705, allocations: 327 kB / 445 MB, free: 7.156 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001302/0.2718, allocations: 1.356 MB / 446.3 MB, free: 5.496 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/0.273, allocations: 0.6388 MB / 447 MB, free: 4.828 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.273, allocations: 0 / 447 MB, free: 4.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002529/0.2755, allocations: 1.119 MB / 448.1 MB, free: 3.652 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.12e-05/0.2756, allocations: 95.28 kB / 448.2 MB, free: 3.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.2756, allocations: 0 / 448.2 MB, free: 3.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006907/0.2763, allocations: 239.2 kB / 448.4 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005691/0.2769, allocations: 131.8 kB / 448.5 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008292/0.2852, allocations: 6.471 MB / 455 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008108/0.286, allocations: 95.64 kB / 455.1 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.872e-05/0.286, allocations: 28.22 kB / 455.1 MB, free: 12.12 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 (70): * Single equations (assignments): 63 * 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.0003443/0.2864, allocations: 216.7 kB / 455.4 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000155/0.2865, allocations: 95.42 kB / 455.4 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001954/0.2867, allocations: 91.33 kB / 455.5 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.2867, allocations: 8 kB / 455.5 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.2867, allocations: 0 / 455.5 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002325/0.2891, allocations: 1.186 MB / 456.7 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003622/0.2927, allocations: 1.683 MB / 458.4 MB, free: 8.656 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.2927, allocations: 12 kB / 458.4 MB, free: 8.645 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000621/0.2933, allocations: 124 kB / 458.5 MB, free: 8.523 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005465/0.2939, allocations: 198.4 kB / 458.7 MB, free: 8.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.737e-05/0.2939, allocations: 23.98 kB / 458.8 MB, free: 8.297 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006351/0.3002, allocations: 4.966 MB / 463.7 MB, free: 2.988 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.3003, allocations: 0 / 463.7 MB, free: 2.988 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003007/0.3033, allocations: 1.313 MB / 465 MB, free: 1.645 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003966/0.3037, allocations: 163.3 kB / 465.2 MB, free: 1.484 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.3038, allocations: 20 kB / 465.2 MB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006166/0.3044, allocations: 47.91 kB / 465.3 MB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/0.3045, allocations: 60.53 kB / 465.3 MB, free: 1.359 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.339e-05/0.3046, allocations: 23.94 kB / 465.3 MB, free: 1.336 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005968/0.3052, allocations: 459 kB / 465.8 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3052, allocations: 0 / 465.8 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008539/0.306, allocations: 283.8 kB / 466.1 MB, free: 0.6172 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (61): * Single equations (assignments): 58 * 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.003363/0.3094, allocations: 1.884 MB / 468 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002121/0.3115, allocations: 1.337 MB / 469.3 MB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.3115, allocations: 4 kB / 469.3 MB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.3126, allocations: 0.6717 MB / 470 MB, free: 12.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.3136, allocations: 241.7 kB / 470.2 MB, free: 12.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01314/0.3268, allocations: 7.743 MB / 478 MB, free: 4.281 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.3272, allocations: 354 kB / 478.3 MB, free: 3.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004513/0.3276, allocations: 98.42 kB / 478.4 MB, free: 3.809 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004348/0.328, allocations: 307.3 kB / 478.7 MB, free: 3.508 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.328, allocations: 0 / 478.7 MB, free: 3.508 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07312/0.4012, allocations: 27.56 MB / 0.4944 GB, free: 8.438 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.69/14.09, allocations: 18.77 kB / 0.4944 GB, free: 8.422 MB / 414.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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.ParallelCooling_res.csv. Warning: Get data of variable heatCapacitor1.T from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv failed! Error: Could not read variable heatCapacitor2.T in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv. Warning: Get data of variable heatCapacitor2.T from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv failed! Error: Could not read variable pipe1.T in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv. Warning: Get data of variable pipe1.T from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv failed! Error: Could not read variable pipe2.T in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv. Warning: Get data of variable pipe2.T from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv failed! Error: Could not read variable pipe3.T in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv. Warning: Get data of variable pipe3.T from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.52342598186806]