Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) 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.ParallelPumpDropOut,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_4_0_0_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.001207/0.001207, allocations: 101.2 kB / 16.5 MB, free: 6.688 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.001305/0.001305, allocations: 194.3 kB / 17.42 MB, free: 6.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.147/1.147, allocations: 222.9 MB / 241.1 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009056/0.0009057, allocations: 56.38 kB / 300.1 MB, free: 6.207 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07268/0.07359, allocations: 49.44 MB / 349.5 MB, free: 4.762 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.004888/0.07851, allocations: 5.206 MB / 354.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001528/0.08006, allocations: 1.324 MB / 356 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002065/0.08028, allocations: 11.94 kB / 356 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003303/0.08063, allocations: 127.1 kB / 356.2 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004543/0.08109, allocations: 297.7 kB / 356.5 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000311/0.08141, allocations: 207.7 kB / 356.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008419/0.08226, allocations: 1.171 MB / 357.8 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003471/0.08262, allocations: 314.8 kB / 358.1 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000327/0.08295, allocations: 438.3 kB / 358.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004013/0.08336, allocations: 0.5017 MB / 359.1 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001114/0.08348, allocations: 76 kB / 359.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001452/0.08363, allocations: 79.94 kB / 359.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.08378, allocations: 207.2 kB / 359.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003824/0.08417, allocations: 0.5131 MB / 359.9 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007941/0.08497, allocations: 1.203 MB / 361.1 MB, free: 9.051 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.08498, allocations: 0 / 361.1 MB, free: 9.051 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.12e-07/0.08499, allocations: 0 / 361.1 MB, free: 9.051 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.085, allocations: 0 / 361.1 MB, free: 9.051 MB / 302.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.002085/0.08709, allocations: 1.387 MB / 362.5 MB, free: 7.594 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.08713, allocations: 8.031 kB / 362.5 MB, free: 7.586 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001498/0.08729, allocations: 123.9 kB / 362.7 MB, free: 7.453 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001554/0.08745, allocations: 119.6 kB / 362.8 MB, free: 7.336 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007495/0.08821, allocations: 0.6026 MB / 363.4 MB, free: 6.691 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002655/0.08848, allocations: 170.9 kB / 363.5 MB, free: 6.508 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.414e-05/0.08858, allocations: 60.38 kB / 363.6 MB, free: 6.449 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.08991, allocations: 0.9289 MB / 364.5 MB, free: 5.418 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.08994, allocations: 0 / 364.5 MB, free: 5.418 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.071e-05/0.09001, allocations: 32 kB / 364.6 MB, free: 5.387 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.09003, allocations: 16 kB / 364.6 MB, free: 5.371 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001362/0.0914, allocations: 0.6609 MB / 365.2 MB, free: 4.707 MB / 302.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.002906/0.09432, allocations: 2.213 MB / 367.5 MB, free: 2.387 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00154/0.09586, allocations: 1.021 MB / 368.5 MB, free: 1.309 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007854/0.09666, allocations: 439.4 kB / 368.9 MB, free: 0.875 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.327e-05/0.09672, allocations: 8.656 kB / 368.9 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.09676, allocations: 59.09 kB / 369 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of pre-optimization done (n=77): time 1.984e-06/0.09677, allocations: 0 / 369 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of matching and sorting (n=77): time 0.1428/0.2396, allocations: 1.865 MB / 370.8 MB, free: 25.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001467/0.2398, allocations: 0.8252 MB / 371.7 MB, free: 24.16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009362/0.2407, allocations: 0.6663 MB / 372.3 MB, free: 24.04 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001133/0.2408, allocations: 44.08 kB / 372.4 MB, free: 24.01 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002344/0.2411, allocations: 356.1 kB / 372.7 MB, free: 23.93 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001915/0.2413, allocations: 268.6 kB / 373 MB, free: 23.81 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002308/0.2415, allocations: 153.8 kB / 373.1 MB, free: 23.8 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.247e-05/0.2416, allocations: 331.7 kB / 373.5 MB, free: 23.49 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006993/0.2423, allocations: 295.7 kB / 373.7 MB, free: 23.39 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009051/0.2432, allocations: 0.5772 MB / 374.3 MB, free: 23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001329/0.2445, allocations: 0.725 MB / 375 MB, free: 22.64 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.2446, allocations: 0 / 375 MB, free: 22.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002598/0.2472, allocations: 1.148 MB / 376.2 MB, free: 22.14 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.076e-05/0.2472, allocations: 89.53 kB / 376.3 MB, free: 22.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.2472, allocations: 0 / 376.3 MB, free: 22.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006157/0.2478, allocations: 236.3 kB / 376.5 MB, free: 21.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006457/0.2485, allocations: 162.4 kB / 376.7 MB, free: 21.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005749/0.2543, allocations: 6.365 MB / 383 MB, free: 16.17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007783/0.255, allocations: 119.7 kB / 383.2 MB, free: 16.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-05/0.2551, allocations: 27.88 kB / 383.2 MB, free: 16.11 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.0002929/0.2554, allocations: 222.7 kB / 383.4 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/0.2556, allocations: 94.88 kB / 383.5 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001649/0.2557, allocations: 95.67 kB / 383.6 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.2558, allocations: 6.875 kB / 383.6 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-06/0.2558, allocations: 0 / 383.6 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002215/0.258, allocations: 1.289 MB / 384.9 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00356/0.2616, allocations: 2.021 MB / 386.9 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.2616, allocations: 0 / 386.9 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006875/0.2623, allocations: 160.9 kB / 387.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004801/0.2628, allocations: 202.3 kB / 387.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.534e-05/0.2628, allocations: 18.41 kB / 387.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004639/0.2675, allocations: 4.913 MB / 392.2 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2675, allocations: 4.062 kB / 392.2 MB, free: 9.605 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00298/0.2705, allocations: 1.483 MB / 393.7 MB, free: 8.973 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000321/0.2708, allocations: 251.2 kB / 393.9 MB, free: 8.773 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.2709, allocations: 19.25 kB / 393.9 MB, free: 8.762 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006086/0.2715, allocations: 60.25 kB / 394 MB, free: 8.746 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/0.2717, allocations: 64.58 kB / 394.1 MB, free: 8.734 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-05/0.2717, allocations: 20.72 kB / 394.1 MB, free: 8.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.00049/0.2722, allocations: 477 kB / 394.5 MB, free: 8.523 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.2722, allocations: 0 / 394.5 MB, free: 8.523 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008422/0.2731, allocations: 294.9 kB / 394.8 MB, free: 8.477 MB / 302.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.003095/0.2762, allocations: 2.048 MB / 396.9 MB, free: 7.172 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001818/0.278, allocations: 1.398 MB / 398.3 MB, free: 6.145 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.278, allocations: 1.781 kB / 398.3 MB, free: 6.145 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001128/0.2792, allocations: 0.7959 MB / 399.1 MB, free: 5.578 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009283/0.2801, allocations: 225 kB / 399.3 MB, free: 5.465 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01123/0.2914, allocations: 8.681 MB / 408 MB, free: 14.24 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004405/0.2918, allocations: 0.9559 MB / 408.9 MB, free: 13.26 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000464/0.2923, allocations: 110.7 kB / 409 MB, free: 13.15 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003826/0.2927, allocations: 315.3 kB / 409.3 MB, free: 12.84 MB / 318.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2927, allocations: 3.938 kB / 409.4 MB, free: 12.84 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.411/1.704, allocations: 24.73 MB / 434.1 MB, free: 4.535 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002163/1.704, allocations: 244.9 kB / 434.3 MB, free: 4.281 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.452/4.156, allocations: 7.5 kB / 434.3 MB, free: 4.277 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches