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.001344/0.001344, allocations: 114.1 kB / 17.07 MB, free: 6.016 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.0016/0.0016, allocations: 191 kB / 18 MB, free: 5.098 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.324/1.324, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001036/0.001036, allocations: 47.94 kB / 350.8 MB, free: 3.734 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2448, allocations: 49.43 MB / 400.2 MB, free: 8.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.005556/0.2504, allocations: 5.205 MB / 405.4 MB, free: 3.578 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002156/0.2526, allocations: 1.32 MB / 406.8 MB, free: 2.25 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003077/0.2529, allocations: 8 kB / 406.8 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004009/0.2534, allocations: 174.5 kB / 406.9 MB, free: 2.07 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006538/0.254, allocations: 345.1 kB / 407.3 MB, free: 1.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000409/0.2544, allocations: 247.6 kB / 407.5 MB, free: 1.488 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001052/0.2555, allocations: 1.225 MB / 408.7 MB, free: 264 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004618/0.256, allocations: 342.2 kB / 409.1 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005374/0.2565, allocations: 474.3 kB / 409.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005588/0.2571, allocations: 0.5252 MB / 410.1 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000141/0.2572, allocations: 108 kB / 410.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001465/0.2574, allocations: 112 kB / 410.3 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001815/0.2576, allocations: 231.2 kB / 410.5 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000583/0.2582, allocations: 0.5444 MB / 411 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001139/0.2593, allocations: 1.267 MB / 412.3 MB, free: 12.64 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2593, allocations: 3.938 kB / 412.3 MB, free: 12.64 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.2594, allocations: 3.984 kB / 412.3 MB, free: 12.64 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.601e-05/0.2594, allocations: 0 / 412.3 MB, free: 12.64 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.00276/0.2621, allocations: 1.409 MB / 413.7 MB, free: 11.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.2622, allocations: 12.02 kB / 413.7 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001724/0.2624, allocations: 127.8 kB / 413.9 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001806/0.2626, allocations: 116.3 kB / 414 MB, free: 10.9 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009749/0.2635, allocations: 0.611 MB / 414.6 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001825/0.2637, allocations: 143 kB / 414.7 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001875/0.2639, allocations: 72.31 kB / 414.8 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001526/0.2655, allocations: 0.9172 MB / 415.7 MB, free: 9 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.2655, allocations: 0 / 415.7 MB, free: 9 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.752e-05/0.2656, allocations: 36 kB / 415.8 MB, free: 8.965 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.2656, allocations: 12 kB / 415.8 MB, free: 8.953 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001402/0.267, allocations: 0.6297 MB / 416.4 MB, free: 8.324 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.003444/0.2705, allocations: 2.214 MB / 418.6 MB, free: 6.008 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001682/0.2722, allocations: 1.007 MB / 419.6 MB, free: 4.941 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009178/0.2731, allocations: 419.2 kB / 420 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.389e-05/0.2732, allocations: 8.656 kB / 420 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.2732, allocations: 51.16 kB / 420.1 MB, free: 4.461 MB / 334.1 MB Notification: Performance of pre-optimization done (n=77): time 2.194e-06/0.2732, allocations: 4 kB / 420.1 MB, free: 4.457 MB / 334.1 MB Notification: Performance of matching and sorting (n=77): time 0.005306/0.2785, allocations: 1.844 MB / 421.9 MB, free: 2.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004684/0.279, allocations: 0.8234 MB / 422.8 MB, free: 1.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000818/0.2798, allocations: 0.6608 MB / 423.4 MB, free: 0.832 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.014e-05/0.2799, allocations: 45.7 kB / 423.5 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002654/0.2802, allocations: 365.2 kB / 423.8 MB, free: 432 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002177/0.2804, allocations: 281.6 kB / 424.1 MB, free: 148 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002591/0.2807, allocations: 150.7 kB / 424.2 MB, free: 15.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.2808, allocations: 333.9 kB / 424.6 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00069/0.2815, allocations: 281.8 kB / 424.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/0.2826, allocations: 0.5585 MB / 425.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001445/0.284, allocations: 0.7012 MB / 426.1 MB, free: 13.99 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.284, allocations: 0 / 426.1 MB, free: 13.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002734/0.2868, allocations: 1.134 MB / 427.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.336e-05/0.2869, allocations: 93.09 kB / 427.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.2869, allocations: 0 / 427.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007146/0.2876, allocations: 239.1 kB / 427.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000756/0.2884, allocations: 143.8 kB / 427.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008284/0.2967, allocations: 6.92 MB / 434.6 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009399/0.2976, allocations: 107.5 kB / 434.7 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-05/0.2977, allocations: 27.94 kB / 434.8 MB, free: 4.715 MB / 350.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.0003713/0.2981, allocations: 217.7 kB / 435 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002033/0.2983, allocations: 95.67 kB / 435.1 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00018/0.2985, allocations: 104.5 kB / 435.2 MB, free: 4.289 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.2985, allocations: 8 kB / 435.2 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.2985, allocations: 4 kB / 435.2 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002586/0.3011, allocations: 1.26 MB / 436.4 MB, free: 2.902 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004006/0.3051, allocations: 2.002 MB / 438.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.3051, allocations: 0 / 438.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007021/0.3059, allocations: 143.8 kB / 438.6 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005056/0.3064, allocations: 198.4 kB / 438.8 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.621e-05/0.3064, allocations: 16 kB / 438.8 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006906/0.3133, allocations: 5.354 MB / 444.1 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.3134, allocations: 0 / 444.1 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003403/0.3168, allocations: 1.446 MB / 445.6 MB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004363/0.3172, allocations: 256.3 kB / 445.8 MB, free: 8.957 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.3174, allocations: 20.12 kB / 445.9 MB, free: 8.938 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006793/0.3181, allocations: 47.95 kB / 445.9 MB, free: 8.891 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/0.3182, allocations: 68.56 kB / 446 MB, free: 8.824 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.002e-05/0.3183, allocations: 23.98 kB / 446 MB, free: 8.801 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005557/0.3188, allocations: 475 kB / 446.5 MB, free: 8.344 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3189, allocations: 0 / 446.5 MB, free: 8.344 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008755/0.3197, allocations: 291.8 kB / 446.7 MB, free: 8.059 MB / 366.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.003627/0.3234, allocations: 2.022 MB / 448.8 MB, free: 5.996 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002316/0.3257, allocations: 1.379 MB / 450.1 MB, free: 4.535 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.3257, allocations: 0 / 450.1 MB, free: 4.535 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001437/0.3272, allocations: 0.7925 MB / 450.9 MB, free: 3.699 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.3283, allocations: 241.6 kB / 451.2 MB, free: 3.461 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01331/0.3416, allocations: 7.832 MB / 459 MB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004891/0.3421, allocations: 0.9597 MB / 460 MB, free: 10.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004691/0.3426, allocations: 110.6 kB / 460.1 MB, free: 10.35 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000416/0.343, allocations: 315.3 kB / 460.4 MB, free: 10.04 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.343, allocations: 0 / 460.4 MB, free: 10.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05723/0.4003, allocations: 26.61 MB / 487 MB, free: 15.88 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.88/13.28, allocations: 4.562 kB / 487 MB, free: 15.88 MB / 414.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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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