Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 115.6 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00206/0.00206, allocations: 212.4 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.445/1.445, allocations: 230.6 MB / 257.5 MB, free: 8.012 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001639/0.001639, allocations: 51.91 kB / 377.8 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2463, allocations: 53.37 MB / 431.1 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.00975/0.2561, allocations: 4.98 MB / 436.1 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003792/0.2599, allocations: 1.332 MB / 437.5 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005495/0.2604, allocations: 11.94 kB / 437.5 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006514/0.2611, allocations: 162.6 kB / 437.6 MB, free: 360 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001068/0.2621, allocations: 325.2 kB / 437.9 MB, free: 32 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000781/0.2629, allocations: 231.6 kB / 438.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002315/0.2652, allocations: 1.164 MB / 439.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006305/0.2659, allocations: 234 kB / 439.6 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009219/0.2668, allocations: 454.4 kB / 440 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001148/0.2679, allocations: 0.498 MB / 440.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002602/0.2682, allocations: 104 kB / 440.6 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002799/0.2685, allocations: 104 kB / 440.7 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003022/0.2688, allocations: 219.3 kB / 440.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007078/0.2695, allocations: 0.5172 MB / 441.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00188/0.2714, allocations: 1.18 MB / 442.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2714, allocations: 4 kB / 442.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.2714, allocations: 4 kB / 442.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.812e-05/0.2714, allocations: 3.938 kB / 442.6 MB, free: 11.32 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.002577/0.274, allocations: 1.257 MB / 443.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.274, allocations: 16.03 kB / 443.9 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001842/0.2742, allocations: 123.9 kB / 444 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001858/0.2744, allocations: 112.3 kB / 444.1 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008839/0.2753, allocations: 0.4914 MB / 444.6 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002954/0.2756, allocations: 301.2 kB / 444.9 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.827e-05/0.2757, allocations: 60.38 kB / 445 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001392/0.2771, allocations: 0.8594 MB / 445.8 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/0.2771, allocations: 3.953 kB / 445.8 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.115e-05/0.2772, allocations: 28 kB / 445.9 MB, free: 7.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/0.2772, allocations: 16 kB / 445.9 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/0.2784, allocations: 0.5673 MB / 446.5 MB, free: 7.254 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.003729/0.2821, allocations: 2.093 MB / 448.5 MB, free: 5.062 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001705/0.2838, allocations: 0.6879 MB / 449.2 MB, free: 4.367 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007378/0.2846, allocations: 343 kB / 449.6 MB, free: 4.031 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.001e-05/0.2846, allocations: 12.66 kB / 449.6 MB, free: 4.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.622e-05/0.2847, allocations: 55.16 kB / 449.6 MB, free: 3.957 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 3.035e-06/0.2847, allocations: 0 / 449.6 MB, free: 3.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004788/0.2895, allocations: 1.433 MB / 451.1 MB, free: 2.508 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000509/0.29, allocations: 0.8234 MB / 451.9 MB, free: 1.488 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008844/0.2909, allocations: 0.6487 MB / 452.5 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001026/0.291, allocations: 45.7 kB / 452.6 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003068/0.2913, allocations: 341.4 kB / 452.9 MB, free: 448 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002508/0.2915, allocations: 261.7 kB / 453.2 MB, free: 184 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002536/0.2918, allocations: 146.7 kB / 453.3 MB, free: 32 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002471/0.292, allocations: 386.8 kB / 453.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005594/0.2926, allocations: 253.8 kB / 453.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008243/0.2934, allocations: 0.5273 MB / 454.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/0.2946, allocations: 0.6349 MB / 455.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.2946, allocations: 4 kB / 455.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002515/0.2971, allocations: 1.04 MB / 456.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.77e-05/0.2972, allocations: 85.11 kB / 456.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.2972, allocations: 0 / 456.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007021/0.2979, allocations: 239.2 kB / 456.5 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000587/0.2985, allocations: 131.9 kB / 456.6 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008222/0.3067, allocations: 6.525 MB / 463.1 MB, free: 5.562 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008984/0.3076, allocations: 95.52 kB / 463.2 MB, free: 5.469 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.117e-05/0.3076, allocations: 23.98 kB / 463.2 MB, free: 5.445 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.0003773/0.308, allocations: 224.3 kB / 463.5 MB, free: 5.219 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/0.3082, allocations: 91.42 kB / 463.5 MB, free: 5.129 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001841/0.3084, allocations: 95.34 kB / 463.6 MB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.3084, allocations: 4 kB / 463.6 MB, free: 5.023 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.3084, allocations: 0 / 463.6 MB, free: 5.023 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002279/0.3107, allocations: 1.178 MB / 464.8 MB, free: 3.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00377/0.3144, allocations: 1.839 MB / 466.7 MB, free: 1.824 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.3144, allocations: 8.062 kB / 466.7 MB, free: 1.816 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000631/0.3151, allocations: 127.8 kB / 466.8 MB, free: 1.691 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005504/0.3156, allocations: 198.5 kB / 467 MB, free: 1.488 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.893e-05/0.3157, allocations: 15.98 kB / 467 MB, free: 1.473 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006437/0.3221, allocations: 5.006 MB / 472 MB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3221, allocations: 4 kB / 472 MB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003097/0.3252, allocations: 1.321 MB / 473.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000451/0.3256, allocations: 163.2 kB / 473.5 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/0.3258, allocations: 23.94 kB / 473.5 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005908/0.3264, allocations: 43.91 kB / 473.6 MB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001655/0.3265, allocations: 68.47 kB / 473.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.102e-05/0.3266, allocations: 16 kB / 473.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006038/0.3272, allocations: 463 kB / 474.1 MB, free: 10.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3272, allocations: 4 kB / 474.1 MB, free: 10.01 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009152/0.3281, allocations: 283.8 kB / 474.4 MB, free: 9.734 MB / 382.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.003335/0.3314, allocations: 1.884 MB / 476.3 MB, free: 7.809 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002118/0.3335, allocations: 1.254 MB / 477.5 MB, free: 6.469 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.3335, allocations: 0 / 477.5 MB, free: 6.469 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.3346, allocations: 0.6714 MB / 478.2 MB, free: 5.754 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.3356, allocations: 231.1 kB / 478.4 MB, free: 5.527 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01306/0.3487, allocations: 7.442 MB / 485.8 MB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005915/0.3493, allocations: 0.9517 MB / 486.8 MB, free: 12.91 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004497/0.3498, allocations: 94.44 kB / 486.9 MB, free: 12.82 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000407/0.3502, allocations: 303.3 kB / 487.2 MB, free: 12.52 MB / 398.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3502, allocations: 0 / 487.2 MB, free: 12.52 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07231/0.4225, allocations: 26.11 MB / 0.5013 GB, free: 2.828 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.32/14.75, allocations: 4.234 kB / 0.5013 GB, free: 2.824 MB / 414.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling.fmu > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv. Warning: Get data of variable heatCapacitor1.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv failed! Error: Could not read variable heatCapacitor2.T in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv. Warning: Get data of variable heatCapacitor2.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv failed! Error: Could not read variable pipe1.T in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv. Warning: Get data of variable pipe1.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv failed! Error: Could not read variable pipe2.T in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv. Warning: Get data of variable pipe2.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv failed! Error: Could not read variable pipe3.T in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv. Warning: Get data of variable pipe3.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.26850145299977]