Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.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.ParallelPumpDropOut,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",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.001193/0.001194, allocations: 114.5 kB / 17.28 MB, free: 6.219 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.001341/0.001341, allocations: 193.3 kB / 18.2 MB, free: 5.301 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.222/1.222, allocations: 205.1 MB / 224.1 MB, free: 12.36 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.001124/0.001124, allocations: 47.94 kB / 280.2 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08955/0.09068, allocations: 46.63 MB / 326.9 MB, free: 4.699 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.006136/0.09686, allocations: 5.191 MB / 332.1 MB, free: 15.48 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002649/0.09956, allocations: 1.372 MB / 333.4 MB, free: 14.09 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003279/0.09995, allocations: 11.94 kB / 333.5 MB, free: 14.08 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004075/0.1004, allocations: 135.1 kB / 333.6 MB, free: 13.95 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005769/0.101, allocations: 289.7 kB / 333.9 MB, free: 13.66 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003893/0.1014, allocations: 215.7 kB / 334.1 MB, free: 13.45 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001123/0.1025, allocations: 1.211 MB / 335.3 MB, free: 12.23 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004325/0.1029, allocations: 342.1 kB / 335.6 MB, free: 11.89 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004706/0.1034, allocations: 466.3 kB / 336.1 MB, free: 11.43 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005087/0.1039, allocations: 0.5291 MB / 336.6 MB, free: 10.9 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001292/0.1041, allocations: 108 kB / 336.7 MB, free: 10.8 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001564/0.1042, allocations: 112 kB / 336.8 MB, free: 10.69 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001887/0.1044, allocations: 239.2 kB / 337.1 MB, free: 10.45 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004449/0.1049, allocations: 0.5405 MB / 337.6 MB, free: 9.91 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009987/0.1059, allocations: 1.234 MB / 338.8 MB, free: 8.672 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1059, allocations: 0 / 338.8 MB, free: 8.672 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1059, allocations: 0 / 338.8 MB, free: 8.672 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.1059, allocations: 0 / 338.8 MB, free: 8.672 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.002375/0.1083, allocations: 1.395 MB / 340.2 MB, free: 7.203 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.1084, allocations: 11.97 kB / 340.2 MB, free: 7.191 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001755/0.1085, allocations: 127.8 kB / 340.4 MB, free: 7.059 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001727/0.1087, allocations: 119.7 kB / 340.5 MB, free: 6.941 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008561/0.1096, allocations: 0.5987 MB / 341.1 MB, free: 6.305 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002941/0.1099, allocations: 166.9 kB / 341.2 MB, free: 6.121 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.11, allocations: 64.38 kB / 341.3 MB, free: 6.059 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/0.1115, allocations: 0.9172 MB / 342.2 MB, free: 5.039 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.1116, allocations: 4 kB / 342.2 MB, free: 5.035 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.2e-05/0.1117, allocations: 28 kB / 342.3 MB, free: 5.008 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.319e-05/0.1117, allocations: 20 kB / 342.3 MB, free: 4.988 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001486/0.1132, allocations: 0.6609 MB / 342.9 MB, free: 4.324 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.003418/0.1166, allocations: 2.225 MB / 345.2 MB, free: 1.996 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001705/0.1183, allocations: 1.013 MB / 346.2 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008013/0.1191, allocations: 431.3 kB / 346.6 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.27e-05/0.1192, allocations: 16.64 kB / 346.6 MB, free: 492 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.1193, allocations: 43.88 kB / 346.7 MB, free: 440 kB / 286.1 MB Notification: Performance of pre-optimization done (n=77): time 2.375e-06/0.1193, allocations: 0 / 346.7 MB, free: 440 kB / 286.1 MB Notification: Performance of matching and sorting (n=77): time 0.00513/0.1244, allocations: 1.875 MB / 348.5 MB, free: 14.46 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000365/0.1248, allocations: 0.8234 MB / 349.3 MB, free: 13.44 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007836/0.1256, allocations: 0.6647 MB / 350 MB, free: 12.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.092e-05/0.1257, allocations: 45.7 kB / 350.1 MB, free: 12.72 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002854/0.126, allocations: 368.8 kB / 350.4 MB, free: 12.35 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002283/0.1262, allocations: 268 kB / 350.7 MB, free: 12.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002518/0.1264, allocations: 146.7 kB / 350.8 MB, free: 11.93 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1266, allocations: 334 kB / 351.1 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006798/0.1273, allocations: 293.8 kB / 351.4 MB, free: 11.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009286/0.1282, allocations: 0.5741 MB / 352 MB, free: 10.64 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001427/0.1297, allocations: 0.7324 MB / 352.7 MB, free: 9.887 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1297, allocations: 0 / 352.7 MB, free: 9.887 MB / 302.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002644/0.1323, allocations: 1.153 MB / 353.9 MB, free: 8.695 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.2e-05/0.1324, allocations: 85.09 kB / 354 MB, free: 8.594 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.1324, allocations: 0 / 354 MB, free: 8.594 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000662/0.1331, allocations: 231.3 kB / 354.2 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006837/0.1338, allocations: 159.8 kB / 354.4 MB, free: 8.199 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00745/0.1412, allocations: 6.931 MB / 361.3 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009371/0.1422, allocations: 115.3 kB / 361.4 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.695e-05/0.1423, allocations: 31.92 kB / 361.4 MB, free: 0.5547 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 (73): * Single equations (assignments): 66 * 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.0003506/0.1426, allocations: 229.6 kB / 361.7 MB, free: 328 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.1428, allocations: 87.06 kB / 361.7 MB, free: 240 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001636/0.143, allocations: 96.53 kB / 361.8 MB, free: 140 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.143, allocations: 8 kB / 361.8 MB, free: 132 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.143, allocations: 0 / 361.8 MB, free: 132 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002477/0.1455, allocations: 1.288 MB / 363.1 MB, free: 14.73 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003806/0.1493, allocations: 2.023 MB / 365.2 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.1493, allocations: 3.984 kB / 365.2 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007328/0.15, allocations: 155.8 kB / 365.3 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005223/0.1506, allocations: 194.4 kB / 365.5 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.691e-05/0.1506, allocations: 20 kB / 365.5 MB, free: 12.26 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006159/0.1568, allocations: 5.349 MB / 370.9 MB, free: 6.496 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1568, allocations: 0 / 370.9 MB, free: 6.496 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003444/0.1603, allocations: 1.48 MB / 372.4 MB, free: 4.992 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004449/0.1607, allocations: 251.8 kB / 372.6 MB, free: 4.727 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.1609, allocations: 16 kB / 372.6 MB, free: 4.711 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006734/0.1615, allocations: 71.84 kB / 372.7 MB, free: 4.641 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001773/0.1617, allocations: 68.5 kB / 372.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.465e-05/0.1618, allocations: 23.98 kB / 372.8 MB, free: 4.547 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005296/0.1623, allocations: 471 kB / 373.2 MB, free: 4.09 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1623, allocations: 0 / 373.2 MB, free: 4.09 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008673/0.1632, allocations: 291.7 kB / 373.5 MB, free: 3.805 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (65): * Single equations (assignments): 62 * 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.00366/0.1669, allocations: 2.048 MB / 375.6 MB, free: 1.719 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002613/0.1695, allocations: 1.43 MB / 377 MB, free: 208 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.1695, allocations: 7.938 kB / 377 MB, free: 200 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1466/0.3161, allocations: 0.7854 MB / 377.8 MB, free: 53.21 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/0.3174, allocations: 247.4 kB / 378 MB, free: 53.2 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01456/0.332, allocations: 8.691 MB / 386.7 MB, free: 49.47 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005276/0.3326, allocations: 0.9591 MB / 387.7 MB, free: 48.76 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006358/0.3332, allocations: 108 kB / 387.8 MB, free: 48.73 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003883/0.3336, allocations: 317.7 kB / 388.1 MB, free: 48.5 MB / 318.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3336, allocations: 3.609 kB / 388.1 MB, free: 48.5 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04359/0.3772, allocations: 25.81 MB / 413.9 MB, free: 28.61 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001825/0.3774, allocations: 248.9 kB / 414.2 MB, free: 28.35 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.675/3.052, allocations: 0 / 414.2 MB, free: 28.35 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches