Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.IndirectCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001751/0.001751, allocations: 99.02 kB / 17.58 MB, free: 5.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002313/0.002313, allocations: 192 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.421/2.421, allocations: 205.1 MB / 224.4 MB, free: 12.31 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0025/0.0025, allocations: 55.92 kB / 280.8 MB, free: 3.062 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1741, allocations: 46.62 MB / 327.4 MB, free: 4.371 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.01329/0.1874, allocations: 5.595 MB / 333 MB, free: 14.74 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005346/0.1928, allocations: 1.465 MB / 334.4 MB, free: 13.26 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009838/0.1939, allocations: 11.94 kB / 334.4 MB, free: 13.25 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009927/0.1949, allocations: 198.2 kB / 334.6 MB, free: 13.05 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002329/0.1973, allocations: 384.7 kB / 335 MB, free: 12.68 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00119/0.1985, allocations: 259.6 kB / 335.3 MB, free: 12.42 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003141/0.2017, allocations: 1.355 MB / 336.6 MB, free: 11.06 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001161/0.2029, allocations: 419.1 kB / 337 MB, free: 10.63 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001555/0.2044, allocations: 0.5099 MB / 337.5 MB, free: 10.12 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002052/0.2065, allocations: 0.5757 MB / 338.1 MB, free: 9.539 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006039/0.2072, allocations: 120 kB / 338.2 MB, free: 9.422 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008187/0.208, allocations: 120 kB / 338.4 MB, free: 9.305 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006172/0.2086, allocations: 255.1 kB / 338.6 MB, free: 9.055 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002004/0.2107, allocations: 0.6105 MB / 339.2 MB, free: 8.441 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003193/0.2139, allocations: 1.378 MB / 340.6 MB, free: 7.059 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.178e-05/0.214, allocations: 0 / 340.6 MB, free: 7.059 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.507e-06/0.214, allocations: 4 kB / 340.6 MB, free: 7.055 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.872e-05/0.2141, allocations: 0 / 340.6 MB, free: 7.055 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.006252/0.2203, allocations: 1.485 MB / 342.1 MB, free: 5.496 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.628e-05/0.2205, allocations: 16.03 kB / 342.1 MB, free: 5.48 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005053/0.221, allocations: 136.5 kB / 342.2 MB, free: 5.34 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006702/0.2217, allocations: 127.5 kB / 342.4 MB, free: 5.215 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002517/0.2242, allocations: 0.6226 MB / 343 MB, free: 4.551 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004848/0.2247, allocations: 155.6 kB / 343.1 MB, free: 4.379 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002898/0.2251, allocations: 72.38 kB / 343.2 MB, free: 4.309 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003195/0.2283, allocations: 0.9899 MB / 344.2 MB, free: 3.203 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.059e-05/0.2283, allocations: 0 / 344.2 MB, free: 3.203 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001635/0.2285, allocations: 36 kB / 344.2 MB, free: 3.168 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.901e-05/0.2286, allocations: 16 kB / 344.2 MB, free: 3.152 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002529/0.2311, allocations: 0.6246 MB / 344.9 MB, free: 2.527 MB / 286.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.009107/0.2402, allocations: 2.667 MB / 347.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00479/0.2451, allocations: 0.8708 MB / 348.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001431/0.2466, allocations: 354.7 kB / 348.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001068/0.2467, allocations: 16.64 kB / 348.8 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.288e-05/0.2468, allocations: 55.14 kB / 348.8 MB, free: 14.38 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 7.514e-06/0.2469, allocations: 0 / 348.8 MB, free: 14.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.005235/0.2521, allocations: 1.397 MB / 350.2 MB, free: 12.87 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009026/0.2531, allocations: 0.9527 MB / 351.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002323/0.2554, allocations: 0.7903 MB / 352 MB, free: 10.88 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002091/0.2556, allocations: 41.7 kB / 352 MB, free: 10.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006733/0.2563, allocations: 416.4 kB / 352.4 MB, free: 10.42 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004854/0.2568, allocations: 248.3 kB / 352.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006998/0.2576, allocations: 162.6 kB / 352.8 MB, free: 10.01 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002348/0.2578, allocations: 337.9 kB / 353.1 MB, free: 9.672 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001214/0.2591, allocations: 257.9 kB / 353.4 MB, free: 9.422 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001932/0.261, allocations: 0.584 MB / 354 MB, free: 8.715 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002469/0.2635, allocations: 0.6618 MB / 354.6 MB, free: 8.023 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.195e-05/0.2636, allocations: 0 / 354.6 MB, free: 8.023 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003684/0.2673, allocations: 0.9547 MB / 355.6 MB, free: 7.031 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001346/0.2674, allocations: 89.05 kB / 355.7 MB, free: 6.926 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.569e-05/0.2675, allocations: 7.984 kB / 355.7 MB, free: 6.918 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006541/0.2681, allocations: 124.3 kB / 355.8 MB, free: 6.781 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/0.2693, allocations: 147.8 kB / 356 MB, free: 6.637 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01128/0.2806, allocations: 7.333 MB / 363.3 MB, free: 14.6 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002115/0.2829, allocations: 103.2 kB / 363.4 MB, free: 14.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000266/0.2832, allocations: 32 kB / 363.4 MB, free: 14.46 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (80): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,1), (1,1), (3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.001085/0.2843, allocations: 233.7 kB / 363.6 MB, free: 14.23 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006541/0.285, allocations: 102.9 kB / 363.7 MB, free: 14.12 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000611/0.2856, allocations: 100.9 kB / 363.8 MB, free: 14.02 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.642e-05/0.2856, allocations: 4 kB / 363.8 MB, free: 14.02 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-05/0.2857, allocations: 11.94 kB / 363.9 MB, free: 14.01 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002875/0.2886, allocations: 0.9622 MB / 364.8 MB, free: 12.94 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006792/0.2954, allocations: 1.765 MB / 366.6 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/0.2954, allocations: 0 / 366.6 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001494/0.297, allocations: 155.8 kB / 366.7 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002589/0.2973, allocations: 28.78 kB / 366.8 MB, free: 10.92 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.429e-05/0.2974, allocations: 12 kB / 366.8 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002051/0.2994, allocations: 1.407 MB / 368.2 MB, free: 9.359 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2995, allocations: 3.938 kB / 368.2 MB, free: 9.355 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004276/0.3037, allocations: 1.072 MB / 369.3 MB, free: 8.258 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00119/0.305, allocations: 255.8 kB / 369.5 MB, free: 7.988 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005479/0.3055, allocations: 20 kB / 369.5 MB, free: 7.969 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001565/0.3071, allocations: 43.97 kB / 369.6 MB, free: 7.926 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001858/0.3073, allocations: 44.53 kB / 369.6 MB, free: 7.883 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.467e-05/0.3074, allocations: 19.98 kB / 369.6 MB, free: 7.863 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001758/0.3092, allocations: 0.5498 MB / 370.2 MB, free: 7.32 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3092, allocations: 0 / 370.2 MB, free: 7.32 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002005/0.3112, allocations: 299.5 kB / 370.5 MB, free: 7.027 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004396/0.3157, allocations: 1.64 MB / 372.1 MB, free: 5.355 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004938/0.3206, allocations: 1.433 MB / 373.6 MB, free: 3.82 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.548e-05/0.3207, allocations: 4 kB / 373.6 MB, free: 3.816 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001449/0.3222, allocations: 422.3 kB / 374 MB, free: 3.395 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003286/0.3255, allocations: 287 kB / 374.2 MB, free: 3.113 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3333/0.6588, allocations: 8.521 MB / 382.8 MB, free: 50.84 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001147/0.66, allocations: 0.9835 MB / 383.8 MB, free: 50.14 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.00156/0.6616, allocations: 125.5 kB / 383.9 MB, free: 50.13 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009218/0.6626, allocations: 356 kB / 384.2 MB, free: 49.88 MB / 318.1 MB Notification: Performance of SimCode: time 1.563e-06/0.6626, allocations: 0 / 384.2 MB, free: 49.88 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1173/0.7799, allocations: 25.89 MB / 410.1 MB, free: 32.19 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.48/20.26, allocations: 0 / 410.1 MB, free: 32.19 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches