Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001344/0.001344, allocations: 194.6 kB / 23.71 MB, free: 4.406 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.397/1.397, allocations: 225.7 MB / 252.5 MB, free: 12.8 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.IndirectCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 43.92 kB / 370.4 MB, free: 9.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.2291, allocations: 52.19 MB / 422.6 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006463/0.2356, allocations: 4.968 MB / 427.5 MB, free: 9.367 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002416/0.238, allocations: 1.367 MB / 428.9 MB, free: 7.992 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003191/0.2383, allocations: 15.94 kB / 428.9 MB, free: 7.977 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004686/0.2388, allocations: 202.3 kB / 429.1 MB, free: 7.777 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007119/0.2395, allocations: 396.7 kB / 429.5 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004678/0.24, allocations: 255.6 kB / 429.8 MB, free: 7.137 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001387/0.2413, allocations: 1.369 MB / 431.1 MB, free: 5.762 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004202/0.2418, allocations: 263.8 kB / 431.4 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006347/0.2424, allocations: 0.5294 MB / 431.9 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006493/0.2431, allocations: 0.4937 MB / 432.4 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001765/0.2432, allocations: 124 kB / 432.5 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002111/0.2434, allocations: 120 kB / 432.7 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002313/0.2437, allocations: 259.1 kB / 432.9 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005542/0.2442, allocations: 0.5135 MB / 433.4 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001568/0.2458, allocations: 1.42 MB / 434.8 MB, free: 2.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.2458, allocations: 3.938 kB / 434.8 MB, free: 2.016 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2458, allocations: 0 / 434.8 MB, free: 2.016 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.2458, allocations: 0 / 434.8 MB, free: 2.016 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002599/0.2484, allocations: 1.44 MB / 436.3 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.2485, allocations: 12.03 kB / 436.3 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002081/0.2487, allocations: 128.6 kB / 436.4 MB, free: 384 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002132/0.2489, allocations: 136.2 kB / 436.6 MB, free: 248 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.25, allocations: 0.5824 MB / 437.1 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003443/0.2503, allocations: 305.9 kB / 437.4 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.2504, allocations: 76.33 kB / 437.5 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002117/0.2525, allocations: 1.866 MB / 439.4 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.2526, allocations: 0 / 439.4 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.268e-05/0.2527, allocations: 32 kB / 439.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.2527, allocations: 20 kB / 439.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001339/0.254, allocations: 0.6168 MB / 440 MB, free: 12.34 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.004086/0.2581, allocations: 1.991 MB / 442 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002523/0.2606, allocations: 0.7547 MB / 442.8 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007024/0.2613, allocations: 314.8 kB / 443.1 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.594e-05/0.2614, allocations: 16.59 kB / 443.1 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.87e-05/0.2614, allocations: 55.2 kB / 443.2 MB, free: 9.141 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.475e-06/0.2614, allocations: 0 / 443.2 MB, free: 9.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.00252/0.2639, allocations: 1.013 MB / 444.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000534/0.2645, allocations: 0.9528 MB / 445.1 MB, free: 6.934 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.2655, allocations: 0.7903 MB / 445.9 MB, free: 6.133 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.749e-05/0.2656, allocations: 45.7 kB / 446 MB, free: 6.082 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000363/0.266, allocations: 425 kB / 446.4 MB, free: 5.664 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002568/0.2662, allocations: 269.7 kB / 446.6 MB, free: 5.398 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002506/0.2665, allocations: 150.7 kB / 446.8 MB, free: 5.246 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.2666, allocations: 341.9 kB / 447.1 MB, free: 4.906 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006235/0.2673, allocations: 335 kB / 447.5 MB, free: 4.559 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001435/0.2687, allocations: 1.546 MB / 449 MB, free: 2.656 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001243/0.2699, allocations: 0.6678 MB / 449.7 MB, free: 1.953 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.2699, allocations: 3.938 kB / 449.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001897/0.2718, allocations: 1.03 MB / 450.7 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.358e-05/0.2719, allocations: 93.05 kB / 450.8 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.2719, allocations: 0 / 450.8 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003339/0.2723, allocations: 120.2 kB / 450.9 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007099/0.273, allocations: 155.9 kB / 451.1 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00621/0.2792, allocations: 6.781 MB / 457.8 MB, free: 9.105 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008861/0.2801, allocations: 115.6 kB / 458 MB, free: 8.992 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.706e-05/0.2801, allocations: 24 kB / 458 MB, free: 8.969 MB / 366.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.0003898/0.2805, allocations: 237.7 kB / 458.2 MB, free: 8.727 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001706/0.2807, allocations: 107.3 kB / 458.3 MB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001849/0.2809, allocations: 100.9 kB / 458.4 MB, free: 8.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.2809, allocations: 8.234 kB / 458.4 MB, free: 8.512 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.2809, allocations: 0 / 458.4 MB, free: 8.512 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001497/0.2824, allocations: 0.9739 MB / 459.4 MB, free: 7.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002788/0.2852, allocations: 1.557 MB / 461 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.2852, allocations: 0 / 461 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007692/0.2859, allocations: 155.7 kB / 461.1 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.953e-05/0.286, allocations: 24.84 kB / 461.1 MB, free: 5.625 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.422e-05/0.2861, allocations: 15.98 kB / 461.1 MB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001063/0.2871, allocations: 1.303 MB / 462.4 MB, free: 4.191 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.2871, allocations: 0 / 462.4 MB, free: 4.191 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002064/0.2892, allocations: 1.074 MB / 463.5 MB, free: 3.102 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000421/0.2896, allocations: 191.2 kB / 463.7 MB, free: 2.914 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/0.2898, allocations: 23.98 kB / 463.7 MB, free: 2.891 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006483/0.2904, allocations: 43.83 kB / 463.8 MB, free: 2.848 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.8e-05/0.2905, allocations: 48.56 kB / 463.8 MB, free: 2.797 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.789e-05/0.2905, allocations: 16.23 kB / 463.8 MB, free: 2.781 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007272/0.2913, allocations: 0.5537 MB / 464.4 MB, free: 2.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2913, allocations: 0 / 464.4 MB, free: 2.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007402/0.292, allocations: 291.7 kB / 464.7 MB, free: 1.945 MB / 366.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.002464/0.2945, allocations: 1.659 MB / 466.3 MB, free: 268 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002209/0.2967, allocations: 1.445 MB / 467.8 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.2967, allocations: 0 / 467.8 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007089/0.2974, allocations: 410.5 kB / 468.2 MB, free: 14.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.2985, allocations: 282.4 kB / 468.5 MB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0123/0.3108, allocations: 8.147 MB / 476.6 MB, free: 5.594 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004219/0.3112, allocations: 390.2 kB / 477 MB, free: 5.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005945/0.3118, allocations: 131.5 kB / 477.1 MB, free: 5.047 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005275/0.3123, allocations: 363.2 kB / 477.5 MB, free: 4.691 MB / 382.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3123, allocations: 0 / 477.5 MB, free: 4.691 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07404/0.3864, allocations: 29.4 MB / 0.495 GB, free: 7.836 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.17/14.56, allocations: 0 / 0.495 GB, free: 7.836 MB / 414.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable heatCapacitor.T in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! Error: Could not read variable innerPipe.T in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv. Warning: Get data of variable innerPipe.T from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! Error: Could not read variable outerPipe.T in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv. Warning: Get data of variable outerPipe.T from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! Error: Could not read variable pipe1.T in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv. Warning: Get data of variable pipe1.T from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.9832301735878]