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.001713/0.001713, allocations: 124 kB / 17.79 MB, free: 5.266 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.002003/0.002003, allocations: 190.9 kB / 20.73 MB, free: 2.328 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.493/1.493, allocations: 225.6 MB / 249.1 MB, free: 3.598 MB / 190.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.001598/0.001598, allocations: 51.92 kB / 365.6 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09541/0.09701, allocations: 52.14 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006439/0.1034, allocations: 4.968 MB / 422.8 MB, free: 7.617 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002501/0.1059, allocations: 1.281 MB / 424 MB, free: 6.328 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005315/0.1065, allocations: 15.88 kB / 424 MB, free: 6.312 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00052/0.107, allocations: 166.6 kB / 424.2 MB, free: 6.148 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009139/0.1079, allocations: 329.2 kB / 424.5 MB, free: 5.824 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005523/0.1085, allocations: 227.6 kB / 424.8 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001586/0.11, allocations: 1.149 MB / 425.9 MB, free: 4.445 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004155/0.1105, allocations: 234 kB / 426.1 MB, free: 4.199 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000609/0.1111, allocations: 454.5 kB / 426.6 MB, free: 3.754 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006104/0.1117, allocations: 0.5058 MB / 427.1 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001443/0.1118, allocations: 100 kB / 427.2 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000161/0.112, allocations: 104 kB / 427.3 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001856/0.1122, allocations: 219.2 kB / 427.5 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000495/0.1127, allocations: 0.5172 MB / 428 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001238/0.1139, allocations: 1.183 MB / 429.2 MB, free: 1.125 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1139, allocations: 0 / 429.2 MB, free: 1.125 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1139, allocations: 0 / 429.2 MB, free: 1.125 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.727e-05/0.1139, allocations: 0 / 429.2 MB, free: 1.125 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002378/0.1163, allocations: 1.336 MB / 430.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.1163, allocations: 8.031 kB / 430.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001952/0.1165, allocations: 127.8 kB / 430.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001925/0.1167, allocations: 116.3 kB / 430.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000863/0.1176, allocations: 0.5558 MB / 431.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002259/0.1178, allocations: 139 kB / 431.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.1179, allocations: 64.38 kB / 431.5 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/0.1193, allocations: 0.8586 MB / 432.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.1194, allocations: 8 kB / 432.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.151e-05/0.1194, allocations: 32 kB / 432.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.1195, allocations: 12 kB / 432.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001231/0.1207, allocations: 0.5634 MB / 433 MB, free: 13.07 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.00357/0.1243, allocations: 2.151 MB / 435.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001896/0.1262, allocations: 0.9148 MB / 436.1 MB, free: 9.836 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007108/0.1269, allocations: 342.4 kB / 436.4 MB, free: 9.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.414e-05/0.1269, allocations: 12.72 kB / 436.4 MB, free: 9.488 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/0.127, allocations: 59.16 kB / 436.5 MB, free: 9.422 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 2.355e-06/0.127, allocations: 0 / 436.5 MB, free: 9.422 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.005181/0.1321, allocations: 1.742 MB / 438.2 MB, free: 7.586 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000442/0.1326, allocations: 0.8195 MB / 439 MB, free: 6.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008634/0.1334, allocations: 0.6371 MB / 439.7 MB, free: 5.926 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001316/0.1336, allocations: 45.7 kB / 439.7 MB, free: 5.875 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000297/0.1339, allocations: 341.4 kB / 440.1 MB, free: 5.535 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002587/0.1341, allocations: 265.7 kB / 440.3 MB, free: 5.273 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002612/0.1344, allocations: 146.7 kB / 440.5 MB, free: 5.125 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002048/0.1346, allocations: 386.8 kB / 440.8 MB, free: 4.738 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005871/0.1352, allocations: 245.9 kB / 441.1 MB, free: 4.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008607/0.136, allocations: 0.5367 MB / 441.6 MB, free: 3.859 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/0.1373, allocations: 0.6388 MB / 442.2 MB, free: 3.195 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.1373, allocations: 0 / 442.2 MB, free: 3.195 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002608/0.1399, allocations: 1.048 MB / 443.3 MB, free: 2.105 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.636e-05/0.1399, allocations: 81.11 kB / 443.4 MB, free: 2.008 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.14, allocations: 0 / 443.4 MB, free: 2.008 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007239/0.1407, allocations: 235.3 kB / 443.6 MB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006345/0.1413, allocations: 127.8 kB / 443.7 MB, free: 1.641 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1832/0.3245, allocations: 6.926 MB / 450.7 MB, free: 25.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/0.3257, allocations: 88.86 kB / 450.7 MB, free: 25.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.251e-05/0.3258, allocations: 25.42 kB / 450.8 MB, free: 25.74 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.0003649/0.3262, allocations: 214.8 kB / 451 MB, free: 25.63 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/0.3263, allocations: 97.42 kB / 451.1 MB, free: 25.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001829/0.3265, allocations: 92.27 kB / 451.2 MB, free: 25.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.433e-06/0.3265, allocations: 7.406 kB / 451.2 MB, free: 25.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.3265, allocations: 0.7656 kB / 451.2 MB, free: 25.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002053/0.3286, allocations: 1.187 MB / 452.4 MB, free: 25.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003555/0.3322, allocations: 1.864 MB / 454.2 MB, free: 24.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.3322, allocations: 1.625 kB / 454.2 MB, free: 24.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006675/0.3328, allocations: 130.9 kB / 454.4 MB, free: 24.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006573/0.3335, allocations: 199.9 kB / 454.5 MB, free: 24.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.973e-05/0.3335, allocations: 14.95 kB / 454.6 MB, free: 24.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005279/0.3388, allocations: 5.314 MB / 459.9 MB, free: 20.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3388, allocations: 1.125 kB / 459.9 MB, free: 20.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003363/0.3422, allocations: 1.31 MB / 461.2 MB, free: 19.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004554/0.3426, allocations: 246.1 kB / 461.4 MB, free: 19.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/0.3428, allocations: 20.06 kB / 461.4 MB, free: 19.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006126/0.3434, allocations: 35.12 kB / 461.5 MB, free: 19.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001964/0.3436, allocations: 63.08 kB / 461.5 MB, free: 19.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-05/0.3436, allocations: 20.17 kB / 461.6 MB, free: 19.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005744/0.3442, allocations: 462.4 kB / 462 MB, free: 19.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3442, allocations: 3.938 kB / 462 MB, free: 19.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009259/0.3451, allocations: 284.4 kB / 462.3 MB, free: 19.19 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.003031/0.3481, allocations: 1.894 MB / 464.2 MB, free: 18.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00195/0.3501, allocations: 1.257 MB / 465.4 MB, free: 17.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/0.3501, allocations: 2.969 kB / 465.4 MB, free: 17.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000901/0.351, allocations: 0.6718 MB / 466.1 MB, free: 16.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.3521, allocations: 232 kB / 466.3 MB, free: 16.67 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01187/0.364, allocations: 7.455 MB / 473.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004412/0.3644, allocations: 0.94 MB / 474.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005134/0.3649, allocations: 103.2 kB / 474.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003606/0.3653, allocations: 294.4 kB / 475.1 MB, free: 11.96 MB / 366.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3653, allocations: 0 / 475.1 MB, free: 11.96 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06697/0.4322, allocations: 25.59 MB / 0.489 GB, free: 9.078 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.84/14.27, allocations: 9 kB / 0.489 GB, free: 9.07 MB / 382.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.823180704843253]