Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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.ParallelCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",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.0009073/0.0009073, allocations: 109.8 kB / 17.16 MB, free: 6.309 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.0009279/0.000928, allocations: 198 kB / 18.07 MB, free: 5.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 205.1 MB / 223.9 MB, free: 12.46 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.001027/0.001027, allocations: 47.92 kB / 280.1 MB, free: 3.496 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08728/0.08832, allocations: 46.63 MB / 326.7 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005289/0.09363, allocations: 4.94 MB / 331.6 MB, free: 15.82 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002142/0.0958, allocations: 1.333 MB / 333 MB, free: 14.48 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002293/0.09604, allocations: 8 kB / 333 MB, free: 14.47 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003423/0.09642, allocations: 139.1 kB / 333.1 MB, free: 14.34 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004659/0.09689, allocations: 277.8 kB / 333.4 MB, free: 14.06 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003193/0.09722, allocations: 195.8 kB / 333.6 MB, free: 13.87 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008573/0.09809, allocations: 1.098 MB / 334.7 MB, free: 12.77 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003643/0.09846, allocations: 294.6 kB / 335 MB, free: 12.47 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003594/0.09883, allocations: 414.4 kB / 335.4 MB, free: 12.06 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004159/0.09925, allocations: 489.9 kB / 335.8 MB, free: 11.58 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.09937, allocations: 76 kB / 335.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.09951, allocations: 72 kB / 336 MB, free: 11.44 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001397/0.09966, allocations: 191.2 kB / 336.2 MB, free: 11.25 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003898/0.1001, allocations: 497.6 kB / 336.7 MB, free: 10.76 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008045/0.1009, allocations: 1.133 MB / 337.8 MB, free: 9.625 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1009, allocations: 7.984 kB / 337.8 MB, free: 9.617 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.42e-07/0.1009, allocations: 4 kB / 337.8 MB, free: 9.613 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.315e-06/0.1009, allocations: 0 / 337.8 MB, free: 9.613 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001945/0.1029, allocations: 1.306 MB / 339.1 MB, free: 8.234 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.1029, allocations: 8.031 kB / 339.1 MB, free: 8.227 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001474/0.103, allocations: 123.9 kB / 339.2 MB, free: 8.098 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001569/0.1032, allocations: 111.7 kB / 339.4 MB, free: 7.988 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006418/0.1039, allocations: 0.5551 MB / 339.9 MB, free: 7.391 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001744/0.104, allocations: 147 kB / 340 MB, free: 7.227 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.993e-05/0.1041, allocations: 60.38 kB / 340.1 MB, free: 7.168 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/0.1054, allocations: 0.8626 MB / 341 MB, free: 6.203 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.1054, allocations: 0 / 341 MB, free: 6.203 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.299e-05/0.1055, allocations: 28 kB / 341 MB, free: 6.176 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.1055, allocations: 16 kB / 341 MB, free: 6.16 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.1066, allocations: 0.5633 MB / 341.6 MB, free: 5.598 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.003031/0.1096, allocations: 2.147 MB / 343.7 MB, free: 3.348 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001631/0.1113, allocations: 0.9747 MB / 344.7 MB, free: 2.309 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006291/0.1119, allocations: 370.6 kB / 345.1 MB, free: 1.941 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.332e-05/0.112, allocations: 16.64 kB / 345.1 MB, free: 1.926 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/0.112, allocations: 51.16 kB / 345.1 MB, free: 1.867 MB / 286.1 MB Notification: Performance of pre-optimization done (n=73): time 1.683e-06/0.112, allocations: 0 / 345.1 MB, free: 1.867 MB / 286.1 MB Notification: Performance of matching and sorting (n=73): time 0.004397/0.1164, allocations: 1.742 MB / 346.9 MB, free: 32 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003399/0.1168, allocations: 0.8234 MB / 347.7 MB, free: 15.01 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006979/0.1175, allocations: 0.6371 MB / 348.3 MB, free: 14.37 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.152e-05/0.1176, allocations: 49.64 kB / 348.4 MB, free: 14.31 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002419/0.1178, allocations: 333 kB / 348.7 MB, free: 13.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001944/0.118, allocations: 256.2 kB / 349 MB, free: 13.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002129/0.1182, allocations: 142.7 kB / 349.1 MB, free: 13.58 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.1184, allocations: 390.7 kB / 349.5 MB, free: 13.19 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005005/0.1189, allocations: 247.5 kB / 349.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007371/0.1197, allocations: 0.5234 MB / 350.2 MB, free: 12.33 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.1207, allocations: 0.631 MB / 350.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1207, allocations: 0 / 350.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002205/0.1229, allocations: 1.051 MB / 351.9 MB, free: 10.58 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.71e-05/0.123, allocations: 89.09 kB / 352 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.123, allocations: 0 / 352 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006489/0.1237, allocations: 239.2 kB / 352.2 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005351/0.1242, allocations: 127.9 kB / 352.4 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006677/0.1309, allocations: 6.37 MB / 358.7 MB, free: 3.199 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007643/0.1317, allocations: 91.38 kB / 358.8 MB, free: 3.109 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.988e-05/0.1318, allocations: 31.98 kB / 358.9 MB, free: 3.078 MB / 302.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.0003258/0.1321, allocations: 225.6 kB / 359.1 MB, free: 2.848 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.1322, allocations: 90.97 kB / 359.2 MB, free: 2.758 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001636/0.1324, allocations: 87.34 kB / 359.3 MB, free: 2.668 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.1324, allocations: 12.17 kB / 359.3 MB, free: 2.656 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.1324, allocations: 0 / 359.3 MB, free: 2.656 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002017/0.1344, allocations: 1.19 MB / 360.5 MB, free: 1.352 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003197/0.1376, allocations: 1.872 MB / 362.3 MB, free: 15.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1377, allocations: 0 / 362.3 MB, free: 15.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005663/0.1382, allocations: 131.7 kB / 362.5 MB, free: 15.28 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000485/0.1387, allocations: 202.5 kB / 362.7 MB, free: 15.07 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.016e-05/0.1388, allocations: 12 kB / 362.7 MB, free: 15.06 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005123/0.1439, allocations: 4.876 MB / 367.5 MB, free: 9.785 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1439, allocations: 0 / 367.5 MB, free: 9.785 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002651/0.1466, allocations: 1.315 MB / 368.9 MB, free: 8.438 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000336/0.1469, allocations: 243.9 kB / 369.1 MB, free: 8.18 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.1471, allocations: 16 kB / 369.1 MB, free: 8.164 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005604/0.1476, allocations: 51.86 kB / 369.2 MB, free: 8.113 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/0.1478, allocations: 56.58 kB / 369.2 MB, free: 8.059 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.949e-05/0.1478, allocations: 27.92 kB / 369.2 MB, free: 8.031 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000513/0.1483, allocations: 459.1 kB / 369.7 MB, free: 7.59 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1484, allocations: 0 / 369.7 MB, free: 7.59 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008059/0.1492, allocations: 283.7 kB / 370 MB, free: 7.312 MB / 318.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.002958/0.1521, allocations: 1.883 MB / 371.8 MB, free: 5.379 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001789/0.1539, allocations: 1.289 MB / 373.1 MB, free: 4.004 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/0.154, allocations: 4 kB / 373.1 MB, free: 4 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008757/0.1548, allocations: 0.6835 MB / 373.8 MB, free: 3.277 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.1559, allocations: 222.9 kB / 374 MB, free: 3.059 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.147/0.3029, allocations: 8.159 MB / 382.2 MB, free: 50.87 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004462/0.3034, allocations: 0.9409 MB / 383.1 MB, free: 50.16 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005102/0.3039, allocations: 107.5 kB / 383.2 MB, free: 50.15 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003425/0.3043, allocations: 292.2 kB / 383.5 MB, free: 49.94 MB / 318.1 MB Notification: Performance of SimCode: time 9.61e-07/0.3043, allocations: 1.125 kB / 383.5 MB, free: 49.94 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03407/0.3384, allocations: 23.73 MB / 407.3 MB, free: 34.52 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001572/0.3385, allocations: 243.7 kB / 407.5 MB, free: 34.26 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.369/2.707, allocations: 0 / 407.5 MB, free: 34.26 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches