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.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.001317/0.001317, allocations: 115.5 kB / 18.45 MB, free: 4.625 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.001369/0.001369, allocations: 211.3 kB / 21.41 MB, free: 1.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.516/1.516, allocations: 207.6 MB / 231.8 MB, free: 4.07 MB / 174.1 MB " [Timeout remaining time 178] 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.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.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001682/0.001682, allocations: 47.94 kB / 342.3 MB, free: 10 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0978/0.09949, allocations: 49.13 MB / 391.4 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.007217/0.1067, allocations: 5.633 MB / 397 MB, free: 3.059 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002907/0.1096, allocations: 1.465 MB / 398.5 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006021/0.1102, allocations: 15.88 kB / 398.5 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006031/0.1108, allocations: 194.3 kB / 398.7 MB, free: 1.375 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009573/0.1118, allocations: 396.7 kB / 399.1 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006351/0.1124, allocations: 259.6 kB / 399.4 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001768/0.1142, allocations: 1.355 MB / 400.7 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004836/0.1147, allocations: 291.1 kB / 401 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006987/0.1154, allocations: 0.5216 MB / 401.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000771/0.1161, allocations: 0.5874 MB / 402.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001868/0.1163, allocations: 116 kB / 402.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001984/0.1165, allocations: 120 kB / 402.3 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002517/0.1168, allocations: 263.1 kB / 402.6 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006578/0.1174, allocations: 0.6066 MB / 403.2 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001553/0.119, allocations: 1.408 MB / 404.6 MB, free: 11.44 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.119, allocations: 0 / 404.6 MB, free: 11.44 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.119, allocations: 0 / 404.6 MB, free: 11.44 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.69e-05/0.119, allocations: 0 / 404.6 MB, free: 11.44 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.002738/0.1217, allocations: 1.515 MB / 406.1 MB, free: 9.852 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.1218, allocations: 12.03 kB / 406.1 MB, free: 9.84 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000228/0.122, allocations: 136.5 kB / 406.3 MB, free: 9.695 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000228/0.1222, allocations: 136.2 kB / 406.4 MB, free: 9.562 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.1233, allocations: 0.6428 MB / 407 MB, free: 8.879 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002269/0.1235, allocations: 159.6 kB / 407.2 MB, free: 8.707 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.1236, allocations: 68.38 kB / 407.3 MB, free: 8.641 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/0.1253, allocations: 0.9937 MB / 408.3 MB, free: 7.527 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.1253, allocations: 0 / 408.3 MB, free: 7.527 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.042e-05/0.1254, allocations: 32 kB / 408.3 MB, free: 7.496 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.855e-05/0.1254, allocations: 20 kB / 408.3 MB, free: 7.477 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001475/0.1269, allocations: 0.6246 MB / 408.9 MB, free: 6.855 MB / 334.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.00451/0.1314, allocations: 2.656 MB / 411.6 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002631/0.134, allocations: 0.8202 MB / 412.4 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007562/0.1348, allocations: 318.7 kB / 412.7 MB, free: 2.875 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.576e-05/0.1349, allocations: 24.64 kB / 412.7 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.376e-05/0.1349, allocations: 47.22 kB / 412.8 MB, free: 2.797 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 3.096e-06/0.1349, allocations: 0 / 412.8 MB, free: 2.797 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.002893/0.1378, allocations: 1.397 MB / 414.2 MB, free: 1.285 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006845/0.1385, allocations: 0.9528 MB / 415.1 MB, free: 108 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.1396, allocations: 0.7903 MB / 415.9 MB, free: 15.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001039/0.1397, allocations: 41.7 kB / 416 MB, free: 15.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003718/0.1401, allocations: 421 kB / 416.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002611/0.1404, allocations: 261.7 kB / 416.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002716/0.1407, allocations: 158.6 kB / 416.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.1408, allocations: 341.9 kB / 417.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006059/0.1414, allocations: 261.8 kB / 417.4 MB, free: 13.83 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000983/0.1424, allocations: 0.5841 MB / 418 MB, free: 13.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/0.1437, allocations: 0.66 MB / 418.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.1437, allocations: 1.859 kB / 418.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001988/0.1457, allocations: 0.9475 MB / 419.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.056e-05/0.1458, allocations: 89.05 kB / 419.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.1458, allocations: 0 / 419.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003911/0.1462, allocations: 136.2 kB / 419.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007079/0.1469, allocations: 151.8 kB / 419.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007072/0.1539, allocations: 7.329 MB / 427.3 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/0.1551, allocations: 107.3 kB / 427.4 MB, free: 2.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.574e-05/0.1551, allocations: 23.98 kB / 427.4 MB, free: 2.875 MB / 350.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.000504/0.1556, allocations: 233.7 kB / 427.6 MB, free: 2.637 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002079/0.1558, allocations: 107.4 kB / 427.7 MB, free: 2.531 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002407/0.1561, allocations: 108.9 kB / 427.8 MB, free: 2.418 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.1561, allocations: 8 kB / 427.8 MB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/0.1561, allocations: 0 / 427.8 MB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001553/0.1577, allocations: 0.9699 MB / 428.8 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003068/0.1607, allocations: 1.756 MB / 430.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.1607, allocations: 0 / 430.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007799/0.1615, allocations: 163.8 kB / 430.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001095/0.1616, allocations: 24.84 kB / 430.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.431e-05/0.1617, allocations: 12 kB / 430.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001184/0.1628, allocations: 1.407 MB / 432.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1628, allocations: 0 / 432.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002183/0.165, allocations: 1.082 MB / 433.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004894/0.1655, allocations: 264.2 kB / 433.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.1656, allocations: 19.98 kB / 433.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006461/0.1663, allocations: 39.97 kB / 433.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.1664, allocations: 48.59 kB / 433.6 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-05/0.1664, allocations: 16 kB / 433.6 MB, free: 12.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007891/0.1672, allocations: 0.5498 MB / 434.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1672, allocations: 4 kB / 434.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008659/0.1681, allocations: 291.7 kB / 434.5 MB, free: 11.42 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.002486/0.1706, allocations: 1.653 MB / 436.1 MB, free: 9.738 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002425/0.173, allocations: 1.355 MB / 437.5 MB, free: 8.277 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.173, allocations: 256 / 437.5 MB, free: 8.277 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000746/0.1738, allocations: 406.2 kB / 437.9 MB, free: 7.871 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/0.175, allocations: 283.1 kB / 438.2 MB, free: 7.594 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01256/0.1876, allocations: 7.845 MB / 446 MB, free: 15.56 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006406/0.1882, allocations: 0.9797 MB / 447 MB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005642/0.1888, allocations: 135.4 kB / 447.1 MB, free: 14.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005097/0.1893, allocations: 359.3 kB / 447.5 MB, free: 14.06 MB / 382.1 MB Notification: Performance of SimCode: time 1.193e-06/0.1893, allocations: 4 kB / 447.5 MB, free: 14.05 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.241/0.4303, allocations: 26.44 MB / 473.9 MB, free: 63.05 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.93/14.36, allocations: 11.41 kB / 473.9 MB, free: 63.04 MB / 382.1 MB " [Timeout remaining time 646] (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) [Timeout 52.5] 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) [Timeout 660] "Error: Could not read variable heatCapacitor.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! Error: Could not read variable innerPipe.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv. Warning: Get data of variable innerPipe.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! Error: Could not read variable outerPipe.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv. Warning: Get data of variable outerPipe.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! Error: Could not read variable pipe1.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv. Warning: Get data of variable pipe1.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.88692113799334]