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.001007/0.001006, allocations: 98 kB / 17.3 MB, free: 6.074 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.0009657/0.0009658, allocations: 180.2 kB / 18.21 MB, free: 5.395 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.55/1.55, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004059/0.0004059, allocations: 12 kB / 281.5 MB, free: 3.32 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08344/0.08385, allocations: 47.58 MB / 329.1 MB, free: 3.668 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.004113/0.08802, allocations: 4.539 MB / 333.6 MB, free: 15.1 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001652/0.08969, allocations: 1.259 MB / 334.9 MB, free: 13.83 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001903/0.08989, allocations: 12 kB / 334.9 MB, free: 13.82 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002896/0.09019, allocations: 131.1 kB / 335 MB, free: 13.69 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004662/0.09066, allocations: 285.7 kB / 335.3 MB, free: 13.41 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000324/0.09099, allocations: 195.8 kB / 335.5 MB, free: 13.22 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008839/0.09189, allocations: 1.102 MB / 336.6 MB, free: 12.11 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003496/0.09225, allocations: 286.6 kB / 336.8 MB, free: 11.82 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003402/0.0926, allocations: 398.4 kB / 337.2 MB, free: 11.43 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004317/0.09304, allocations: 466 kB / 337.7 MB, free: 10.97 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.616e-05/0.09314, allocations: 68 kB / 337.8 MB, free: 10.91 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.09327, allocations: 68 kB / 337.8 MB, free: 10.84 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.09341, allocations: 179.2 kB / 338 MB, free: 10.66 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003799/0.09379, allocations: 0.5071 MB / 338.5 MB, free: 10.15 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007827/0.09458, allocations: 1.109 MB / 339.6 MB, free: 9.035 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.09459, allocations: 0 / 339.6 MB, free: 9.035 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.0946, allocations: 0 / 339.6 MB, free: 9.035 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.09462, allocations: 0 / 339.6 MB, free: 9.035 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.001737/0.09636, allocations: 1.158 MB / 340.8 MB, free: 7.805 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.0964, allocations: 16.03 kB / 340.8 MB, free: 7.789 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001588/0.09657, allocations: 115.9 kB / 340.9 MB, free: 7.668 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001486/0.09672, allocations: 111.7 kB / 341 MB, free: 7.559 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006493/0.09738, allocations: 0.5474 MB / 341.6 MB, free: 6.969 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000186/0.09757, allocations: 147 kB / 341.7 MB, free: 6.805 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.691e-05/0.09767, allocations: 64.28 kB / 341.8 MB, free: 6.742 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/0.09889, allocations: 0.8782 MB / 342.6 MB, free: 5.762 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.09892, allocations: 0 / 342.6 MB, free: 5.762 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.189e-05/0.09899, allocations: 32 kB / 342.7 MB, free: 5.73 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.09901, allocations: 20 kB / 342.7 MB, free: 5.711 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.1001, allocations: 0.5907 MB / 343.3 MB, free: 5.121 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.002926/0.1031, allocations: 2.155 MB / 345.4 MB, free: 2.863 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001669/0.1047, allocations: 1.003 MB / 346.4 MB, free: 1.797 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000642/0.1054, allocations: 390.9 kB / 346.8 MB, free: 1.41 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.868e-05/0.1055, allocations: 12.72 kB / 346.8 MB, free: 1.398 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.1055, allocations: 55.16 kB / 346.9 MB, free: 1.336 MB / 286.1 MB Notification: Performance of pre-optimization done (n=73): time 1.804e-06/0.1055, allocations: 0 / 346.9 MB, free: 1.336 MB / 286.1 MB Notification: Performance of matching and sorting (n=73): time 0.004786/0.1103, allocations: 1.887 MB / 348.8 MB, free: 15.35 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000369/0.1107, allocations: 0.8272 MB / 349.6 MB, free: 14.33 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008056/0.1115, allocations: 0.6411 MB / 350.2 MB, free: 13.68 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.629e-05/0.1116, allocations: 41.7 kB / 350.3 MB, free: 13.63 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/0.1119, allocations: 344.9 kB / 350.6 MB, free: 13.29 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001924/0.1121, allocations: 256.2 kB / 350.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.34e-05/0.1121, allocations: 57.69 kB / 350.9 MB, free: 12.97 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.1123, allocations: 386.8 kB / 351.3 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000525/0.1128, allocations: 261.9 kB / 351.6 MB, free: 12.33 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007951/0.1136, allocations: 0.5429 MB / 352.1 MB, free: 11.69 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.1148, allocations: 0.6545 MB / 352.8 MB, free: 11.01 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1148, allocations: 0 / 352.8 MB, free: 11.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002488/0.1173, allocations: 1.114 MB / 353.9 MB, free: 9.859 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.665e-05/0.1173, allocations: 93.09 kB / 354 MB, free: 9.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.1174, allocations: 0 / 354 MB, free: 9.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007082/0.1181, allocations: 251.2 kB / 354.2 MB, free: 9.492 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005442/0.1186, allocations: 123.9 kB / 354.3 MB, free: 9.371 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007322/0.126, allocations: 6.503 MB / 360.8 MB, free: 2.328 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008682/0.1269, allocations: 107.3 kB / 360.9 MB, free: 2.223 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.832e-05/0.1269, allocations: 27.98 kB / 361 MB, free: 2.195 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.0003364/0.1273, allocations: 225.6 kB / 361.2 MB, free: 1.965 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.1274, allocations: 83.06 kB / 361.3 MB, free: 1.883 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001579/0.1276, allocations: 91.34 kB / 361.4 MB, free: 1.789 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.1276, allocations: 7.984 kB / 361.4 MB, free: 1.781 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.1276, allocations: 4.188 kB / 361.4 MB, free: 1.777 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002156/0.1297, allocations: 1.257 MB / 362.6 MB, free: 416 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003426/0.1332, allocations: 1.946 MB / 364.6 MB, free: 14.39 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.1332, allocations: 0 / 364.6 MB, free: 14.39 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005745/0.1338, allocations: 131.8 kB / 364.7 MB, free: 14.26 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005389/0.1343, allocations: 214.5 kB / 364.9 MB, free: 14.04 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.305e-05/0.1344, allocations: 12 kB / 364.9 MB, free: 14.03 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005622/0.14, allocations: 5.005 MB / 369.9 MB, free: 8.625 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.14, allocations: 0 / 369.9 MB, free: 8.625 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002875/0.1429, allocations: 1.389 MB / 371.3 MB, free: 7.203 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003404/0.1433, allocations: 243.8 kB / 371.6 MB, free: 6.945 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.1434, allocations: 19.98 kB / 371.6 MB, free: 6.926 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005854/0.144, allocations: 47.97 kB / 371.6 MB, free: 6.879 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/0.1441, allocations: 56.52 kB / 371.7 MB, free: 6.824 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.602e-05/0.1442, allocations: 27.98 kB / 371.7 MB, free: 6.797 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000496/0.1447, allocations: 459 kB / 372.1 MB, free: 6.355 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1447, allocations: 4 kB / 372.2 MB, free: 6.352 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007833/0.1454, allocations: 283.7 kB / 372.4 MB, free: 6.074 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.002979/0.1484, allocations: 1.965 MB / 374.4 MB, free: 4.059 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001763/0.1502, allocations: 1.305 MB / 375.7 MB, free: 2.672 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.1502, allocations: 4 kB / 375.7 MB, free: 2.668 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008652/0.1511, allocations: 0.7146 MB / 376.4 MB, free: 1.914 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009634/0.1521, allocations: 218.9 kB / 376.6 MB, free: 1.699 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1474/0.2995, allocations: 8.406 MB / 385 MB, free: 49.65 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.2999, allocations: 0.9477 MB / 386 MB, free: 48.95 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004407/0.3003, allocations: 107.4 kB / 386.1 MB, free: 48.94 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003255/0.3007, allocations: 294.2 kB / 386.4 MB, free: 48.93 MB / 318.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3007, allocations: 0 / 386.4 MB, free: 48.93 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0337/0.3344, allocations: 23.5 MB / 409.9 MB, free: 32.83 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002505/0.3347, allocations: 243.2 kB / 410.1 MB, free: 32.57 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.457/2.791, allocations: 0 / 410.1 MB, free: 32.57 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