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.0008841/0.0008841, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.001044/0.001044, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8991/0.8991, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.432e-06/1.432e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.769e-06/1.12e-05, allocations: 3.688 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.003546/0.003557, allocations: 4.439 MB / 329 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.005184, allocations: 1.277 MB / 330.3 MB, free: 10.2 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002302/0.005414, allocations: 11.94 kB / 330.3 MB, free: 10.19 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003051/0.005719, allocations: 158.6 kB / 330.5 MB, free: 10.03 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004287/0.006148, allocations: 341 kB / 330.8 MB, free: 9.695 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002979/0.006446, allocations: 227.5 kB / 331 MB, free: 9.473 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007894/0.007235, allocations: 1.203 MB / 332.2 MB, free: 8.266 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002665/0.007502, allocations: 226.5 kB / 332.4 MB, free: 8.035 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000501/0.008003, allocations: 0.6705 MB / 333.1 MB, free: 7.363 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003388/0.008342, allocations: 371 kB / 333.5 MB, free: 7 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.287e-05/0.008434, allocations: 104 kB / 333.6 MB, free: 6.898 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.533e-05/0.00853, allocations: 104 kB / 333.7 MB, free: 6.797 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.00864, allocations: 219.2 kB / 333.9 MB, free: 6.582 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002439/0.008884, allocations: 379.2 kB / 334.2 MB, free: 6.211 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007532/0.009637, allocations: 1.238 MB / 335.5 MB, free: 4.969 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.009639, allocations: 0 / 335.5 MB, free: 4.969 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.00964, allocations: 0 / 335.5 MB, free: 4.969 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.009652, allocations: 4 kB / 335.5 MB, free: 4.965 MB / 298.7 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.00139/0.01104, allocations: 1.249 MB / 336.7 MB, free: 3.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.01108, allocations: 12.03 kB / 336.8 MB, free: 3.648 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001318/0.01121, allocations: 120 kB / 336.9 MB, free: 3.523 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.01133, allocations: 116.3 kB / 337 MB, free: 3.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005706/0.0119, allocations: 0.5023 MB / 337.5 MB, free: 2.879 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001656/0.01207, allocations: 301.2 kB / 337.8 MB, free: 2.527 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.625e-05/0.01213, allocations: 60.38 kB / 337.8 MB, free: 2.469 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/0.0132, allocations: 1.616 MB / 339.5 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.01322, allocations: 192 / 339.5 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.959e-05/0.01327, allocations: 35.94 kB / 339.5 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.01328, allocations: 16 kB / 339.5 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007611/0.01404, allocations: 0.5633 MB / 340.1 MB, free: 15.95 MB / 314.7 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.002065/0.01611, allocations: 1.678 MB / 341.7 MB, free: 14.23 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.01713, allocations: 0.7038 MB / 342.5 MB, free: 13.52 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004116/0.01754, allocations: 330.7 kB / 342.8 MB, free: 13.19 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.537e-05/0.01758, allocations: 16.58 kB / 342.8 MB, free: 13.17 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.01761, allocations: 47.22 kB / 342.8 MB, free: 13.11 MB / 314.7 MB Notification: Performance of pre-optimization done (n=73): time 1.813e-06/0.01761, allocations: 0 / 342.8 MB, free: 13.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=73): time 0.002449/0.02006, allocations: 1.433 MB / 344.3 MB, free: 11.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000215/0.02027, allocations: 0.8234 MB / 345.1 MB, free: 10.64 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004844/0.02076, allocations: 0.6526 MB / 345.7 MB, free: 9.98 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.569e-05/0.0208, allocations: 45.7 kB / 345.8 MB, free: 9.93 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.02097, allocations: 341.4 kB / 346.1 MB, free: 9.594 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.0211, allocations: 253.7 kB / 346.4 MB, free: 9.344 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.02124, allocations: 150.6 kB / 346.5 MB, free: 9.191 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.02135, allocations: 384.4 kB / 346.9 MB, free: 8.809 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000352/0.0217, allocations: 331 kB / 347.2 MB, free: 8.465 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006812/0.02238, allocations: 1.363 MB / 348.6 MB, free: 6.797 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006864/0.02307, allocations: 0.631 MB / 349.2 MB, free: 6.137 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.02307, allocations: 0 / 349.2 MB, free: 6.137 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001336/0.02441, allocations: 1.123 MB / 350.3 MB, free: 4.957 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.146e-05/0.02445, allocations: 89.09 kB / 350.4 MB, free: 4.852 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.02445, allocations: 3.984 kB / 350.4 MB, free: 4.848 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004034/0.02486, allocations: 239.2 kB / 350.7 MB, free: 4.602 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002732/0.02513, allocations: 127.9 kB / 350.8 MB, free: 4.477 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004379/0.02951, allocations: 6.47 MB / 357.3 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003479/0.02986, allocations: 95.52 kB / 357.3 MB, free: 13.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-05/0.02989, allocations: 20 kB / 357.4 MB, free: 13.43 MB / 330.7 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.0001982/0.03009, allocations: 217.7 kB / 357.6 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.414e-05/0.03017, allocations: 95.48 kB / 357.7 MB, free: 13.12 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.401e-05/0.03027, allocations: 95.2 kB / 357.8 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.03027, allocations: 11.94 kB / 357.8 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.03027, allocations: 0 / 357.8 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001299/0.03157, allocations: 1.186 MB / 359 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001996/0.03357, allocations: 1.679 MB / 360.6 MB, free: 9.965 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.03357, allocations: 4 kB / 360.6 MB, free: 9.961 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003065/0.03388, allocations: 127.8 kB / 360.8 MB, free: 9.836 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002896/0.03417, allocations: 194.7 kB / 361 MB, free: 9.637 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.22e-05/0.0342, allocations: 23.92 kB / 361 MB, free: 9.613 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003251/0.03745, allocations: 4.967 MB / 366 MB, free: 4.305 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.03745, allocations: 0 / 366 MB, free: 4.305 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001597/0.03905, allocations: 1.317 MB / 367.3 MB, free: 2.953 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002128/0.03926, allocations: 167.3 kB / 367.4 MB, free: 2.789 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.898e-05/0.03932, allocations: 20 kB / 367.5 MB, free: 2.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002889/0.03961, allocations: 31.97 kB / 367.5 MB, free: 2.738 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.03972, allocations: 68.48 kB / 367.5 MB, free: 2.672 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.439e-05/0.03975, allocations: 19.98 kB / 367.6 MB, free: 2.652 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003444/0.04009, allocations: 459.1 kB / 368 MB, free: 2.207 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04009, allocations: 4 kB / 368 MB, free: 2.203 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005329/0.04062, allocations: 279.8 kB / 368.3 MB, free: 1.93 MB / 330.7 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.00177/0.04239, allocations: 1.884 MB / 370.2 MB, free: 8 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001169/0.04356, allocations: 1.333 MB / 371.5 MB, free: 14.57 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.04356, allocations: 12 kB / 371.5 MB, free: 14.55 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005231/0.04409, allocations: 0.6676 MB / 372.2 MB, free: 13.85 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005739/0.04466, allocations: 231.2 kB / 372.4 MB, free: 13.62 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007699/0.05236, allocations: 7.715 MB / 380.1 MB, free: 5.637 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.0527, allocations: 350 kB / 380.5 MB, free: 5.27 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002603/0.05296, allocations: 110.4 kB / 380.6 MB, free: 5.156 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002662/0.05322, allocations: 292.4 kB / 380.9 MB, free: 4.871 MB / 346.7 MB Notification: Performance of SimCode: time 8.22e-07/0.05323, allocations: 0 / 380.9 MB, free: 4.871 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0419/0.09513, allocations: 27.61 MB / 408.5 MB, free: 9.695 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.581/8.676, allocations: 8 kB / 408.5 MB, free: 9.688 MB / 378.7 MB " [Timeout remaining time 651] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins/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: 10.417316232807934]