Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001251/0.001251, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001223/0.001223, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 227.4 MB / 247 MB, free: 10.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001771/0.001771, allocations: 63.89 kB / 358.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2475, allocations: 50.54 MB / 408.8 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.006828/0.2543, allocations: 5.213 MB / 414 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002896/0.2573, allocations: 1.367 MB / 415.4 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004444/0.2577, allocations: 11.94 kB / 415.4 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004653/0.2582, allocations: 166.5 kB / 415.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007379/0.259, allocations: 333.1 kB / 415.9 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005605/0.2596, allocations: 243.6 kB / 416.1 MB, free: 10.1 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00129/0.2609, allocations: 1.219 MB / 417.4 MB, free: 8.871 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004657/0.2614, allocations: 342.1 kB / 417.7 MB, free: 8.516 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004984/0.2619, allocations: 470.3 kB / 418.2 MB, free: 8.055 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006272/0.2625, allocations: 0.5369 MB / 418.7 MB, free: 7.516 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001617/0.2627, allocations: 108 kB / 418.8 MB, free: 7.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001935/0.2629, allocations: 112 kB / 418.9 MB, free: 7.301 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002087/0.2631, allocations: 235.2 kB / 419.1 MB, free: 7.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005263/0.2636, allocations: 0.5366 MB / 419.7 MB, free: 6.531 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001284/0.2649, allocations: 1.256 MB / 420.9 MB, free: 5.273 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.2649, allocations: 7.938 kB / 420.9 MB, free: 5.266 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2649, allocations: 0 / 420.9 MB, free: 5.266 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.406e-05/0.265, allocations: 0 / 420.9 MB, free: 5.266 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.002533/0.2675, allocations: 1.41 MB / 422.3 MB, free: 3.785 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.2675, allocations: 8.031 kB / 422.4 MB, free: 3.777 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001963/0.2677, allocations: 131.9 kB / 422.5 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001872/0.2679, allocations: 120.3 kB / 422.6 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.269, allocations: 0.6149 MB / 423.2 MB, free: 2.863 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002109/0.2692, allocations: 147 kB / 423.4 MB, free: 2.703 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.694e-05/0.2693, allocations: 64.38 kB / 423.4 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/0.2709, allocations: 0.9016 MB / 424.3 MB, free: 1.637 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/0.2709, allocations: 4 kB / 424.3 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-05/0.271, allocations: 28 kB / 424.4 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.271, allocations: 16 kB / 424.4 MB, free: 1.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001517/0.2725, allocations: 0.6375 MB / 425 MB, free: 0.9531 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.003624/0.2762, allocations: 2.202 MB / 427.2 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001835/0.278, allocations: 1.012 MB / 428.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008793/0.2789, allocations: 415.2 kB / 428.6 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.774e-05/0.279, allocations: 24.64 kB / 428.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/0.279, allocations: 43.22 kB / 428.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 2.796e-06/0.279, allocations: 0 / 428.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.005286/0.2843, allocations: 1.84 MB / 430.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005109/0.2849, allocations: 0.8195 MB / 431.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009296/0.2858, allocations: 0.6646 MB / 432 MB, free: 9.473 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.095e-05/0.2859, allocations: 53.64 kB / 432.1 MB, free: 9.414 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003055/0.2862, allocations: 369.3 kB / 432.4 MB, free: 9.051 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002443/0.2865, allocations: 273.6 kB / 432.7 MB, free: 8.781 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002571/0.2867, allocations: 150.7 kB / 432.8 MB, free: 8.629 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.2869, allocations: 331.8 kB / 433.2 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006882/0.2876, allocations: 285.8 kB / 433.4 MB, free: 8.023 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009877/0.2886, allocations: 0.5663 MB / 434 MB, free: 7.352 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001485/0.2901, allocations: 0.6974 MB / 434.7 MB, free: 6.629 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.2901, allocations: 0 / 434.7 MB, free: 6.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002831/0.2929, allocations: 1.13 MB / 435.8 MB, free: 5.457 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.788e-05/0.293, allocations: 88.08 kB / 435.9 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.293, allocations: 0 / 435.9 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007028/0.2937, allocations: 235.2 kB / 436.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006732/0.2944, allocations: 151.8 kB / 436.3 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008568/0.303, allocations: 6.936 MB / 443.2 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009747/0.304, allocations: 99.55 kB / 443.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-05/0.3041, allocations: 31.86 kB / 443.4 MB, free: 13.34 MB / 366.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.000381/0.3045, allocations: 217.8 kB / 443.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.3046, allocations: 95.44 kB / 443.7 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001897/0.3048, allocations: 100.5 kB / 443.8 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.3048, allocations: 11.98 kB / 443.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.3048, allocations: 3.938 kB / 443.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002604/0.3075, allocations: 1.264 MB / 445.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003951/0.3114, allocations: 2.002 MB / 447.1 MB, free: 9.457 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.3114, allocations: 0 / 447.1 MB, free: 9.457 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007089/0.3122, allocations: 147.8 kB / 447.2 MB, free: 9.312 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005721/0.3127, allocations: 198.5 kB / 447.4 MB, free: 9.109 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.976e-05/0.3128, allocations: 15.98 kB / 447.4 MB, free: 9.094 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007938/0.3207, allocations: 5.353 MB / 452.8 MB, free: 3.316 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3208, allocations: 4.125 kB / 452.8 MB, free: 3.312 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003703/0.3245, allocations: 1.442 MB / 454.2 MB, free: 1.848 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000463/0.325, allocations: 244.4 kB / 454.4 MB, free: 1.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.3251, allocations: 23.98 kB / 454.5 MB, free: 1.566 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006578/0.3258, allocations: 51.95 kB / 454.5 MB, free: 1.516 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001861/0.3259, allocations: 64.56 kB / 454.6 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.552e-05/0.326, allocations: 20 kB / 454.6 MB, free: 1.434 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006045/0.3266, allocations: 471 kB / 455.1 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3266, allocations: 0 / 455.1 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008573/0.3275, allocations: 295.7 kB / 455.4 MB, free: 0.6914 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.003913/0.3314, allocations: 2.025 MB / 457.4 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002517/0.3339, allocations: 1.383 MB / 458.8 MB, free: 13.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.3339, allocations: 4 kB / 458.8 MB, free: 13.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001516/0.3355, allocations: 0.7809 MB / 459.5 MB, free: 12.33 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.3366, allocations: 250.9 kB / 459.8 MB, free: 12.08 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01381/0.3505, allocations: 7.823 MB / 467.6 MB, free: 4.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008758/0.3514, allocations: 0.9597 MB / 468.6 MB, free: 3.098 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004853/0.3519, allocations: 102.7 kB / 468.7 MB, free: 2.992 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004424/0.3523, allocations: 319.3 kB / 469 MB, free: 2.68 MB / 382.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3523, allocations: 0 / 469 MB, free: 2.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07333/0.4257, allocations: 26.61 MB / 495.6 MB, free: 8.469 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.11/13.54, allocations: 8 kB / 495.6 MB, free: 8.461 MB / 414.1 MB (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches