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.001035/0.001035, allocations: 103.4 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001044/0.001044, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.277/1.277, allocations: 227.4 MB / 246.3 MB, free: 10.76 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 61.69 kB / 306.3 MB, free: 0.9609 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08648/0.08771, allocations: 50.54 MB / 356.9 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.006077/0.09382, allocations: 5.207 MB / 362.1 MB, free: 9.176 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002535/0.09638, allocations: 1.375 MB / 363.5 MB, free: 7.793 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007511/0.09718, allocations: 11.94 kB / 363.5 MB, free: 7.781 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000655/0.09785, allocations: 139 kB / 363.6 MB, free: 7.645 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001066/0.09894, allocations: 285.7 kB / 363.9 MB, free: 7.363 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006194/0.09957, allocations: 215.7 kB / 364.1 MB, free: 7.152 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001366/0.101, allocations: 1.156 MB / 365.3 MB, free: 5.992 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000451/0.1014, allocations: 322.7 kB / 365.6 MB, free: 5.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005995/0.102, allocations: 434.3 kB / 366 MB, free: 5.234 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006852/0.1027, allocations: 0.5017 MB / 366.5 MB, free: 4.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002238/0.103, allocations: 83.94 kB / 366.6 MB, free: 4.648 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002367/0.1032, allocations: 76 kB / 366.7 MB, free: 4.574 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001802/0.1034, allocations: 199.2 kB / 366.9 MB, free: 4.379 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005503/0.1039, allocations: 0.5132 MB / 367.4 MB, free: 3.863 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009163/0.1049, allocations: 1.195 MB / 368.6 MB, free: 2.664 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1049, allocations: 0 / 368.6 MB, free: 2.664 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1049, allocations: 0 / 368.6 MB, free: 2.664 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.48e-05/0.1049, allocations: 0 / 368.6 MB, free: 2.664 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.002468/0.1074, allocations: 1.387 MB / 370 MB, free: 1.203 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.1074, allocations: 12.03 kB / 370 MB, free: 1.191 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001786/0.1076, allocations: 123.9 kB / 370.1 MB, free: 1.062 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001968/0.1078, allocations: 115.6 kB / 370.2 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000873/0.1087, allocations: 0.6065 MB / 370.8 MB, free: 308 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002791/0.109, allocations: 166.9 kB / 371 MB, free: 120 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.865e-05/0.1091, allocations: 64.38 kB / 371 MB, free: 56 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1502/0.2593, allocations: 0.9132 MB / 371.9 MB, free: 19.9 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.2593, allocations: 1.078 kB / 371.9 MB, free: 19.9 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.535e-05/0.2594, allocations: 29.66 kB / 372 MB, free: 19.9 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.2595, allocations: 16.72 kB / 372 MB, free: 19.9 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001626/0.2611, allocations: 0.6615 MB / 372.6 MB, free: 19.9 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.003636/0.2647, allocations: 2.225 MB / 374.9 MB, free: 18.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/0.2662, allocations: 1.017 MB / 375.9 MB, free: 18.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007441/0.267, allocations: 441.2 kB / 376.3 MB, free: 18.02 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.328e-05/0.2671, allocations: 11.17 kB / 376.3 MB, free: 18.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.2671, allocations: 46.67 kB / 376.4 MB, free: 17.97 MB / 302.1 MB Notification: Performance of pre-optimization done (n=77): time 2.074e-06/0.2671, allocations: 4 kB / 376.4 MB, free: 17.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=77): time 0.00481/0.2719, allocations: 1.869 MB / 378.3 MB, free: 17.13 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001349/0.2721, allocations: 0.8236 MB / 379.1 MB, free: 16.13 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007375/0.2728, allocations: 0.6681 MB / 379.7 MB, free: 15.83 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.238e-05/0.2729, allocations: 45.14 kB / 379.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/0.2731, allocations: 357.6 kB / 380.1 MB, free: 15.53 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/0.2732, allocations: 272.3 kB / 380.4 MB, free: 15.32 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002041/0.2734, allocations: 153.6 kB / 380.6 MB, free: 15.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.217e-05/0.2735, allocations: 337.7 kB / 380.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000661/0.2742, allocations: 294.8 kB / 381.2 MB, free: 14.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008287/0.275, allocations: 0.5772 MB / 381.7 MB, free: 14.42 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/0.2763, allocations: 0.724 MB / 382.5 MB, free: 14.06 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.2763, allocations: 5.375 kB / 382.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002537/0.2789, allocations: 1.147 MB / 383.6 MB, free: 13.55 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.71e-05/0.2789, allocations: 89.22 kB / 383.7 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.2789, allocations: 1.094 kB / 383.7 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006205/0.2796, allocations: 231.3 kB / 383.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006762/0.2803, allocations: 157.2 kB / 384.1 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005704/0.286, allocations: 6.369 MB / 390.5 MB, free: 7.574 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008301/0.2868, allocations: 116.3 kB / 390.6 MB, free: 7.523 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.401e-05/0.2869, allocations: 25.03 kB / 390.6 MB, free: 7.52 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.0003089/0.2872, allocations: 224.8 kB / 390.8 MB, free: 7.34 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.2873, allocations: 90.28 kB / 390.9 MB, free: 7.297 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001533/0.2875, allocations: 93.47 kB / 391 MB, free: 7.223 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.2875, allocations: 11.81 kB / 391 MB, free: 7.219 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.2875, allocations: 5.969 kB / 391 MB, free: 7.215 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002381/0.2899, allocations: 1.294 MB / 392.3 MB, free: 6.402 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003438/0.2934, allocations: 2.024 MB / 394.3 MB, free: 5.281 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.2934, allocations: 2.75 kB / 394.3 MB, free: 5.281 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007208/0.2941, allocations: 153.2 kB / 394.5 MB, free: 5.242 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004612/0.2946, allocations: 193.2 kB / 394.7 MB, free: 5.141 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.228e-05/0.2946, allocations: 20.41 kB / 394.7 MB, free: 5.125 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004673/0.2993, allocations: 4.913 MB / 399.6 MB, free: 496 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2993, allocations: 0 / 399.6 MB, free: 496 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003265/0.3026, allocations: 1.49 MB / 401.1 MB, free: 15.66 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003768/0.303, allocations: 245.5 kB / 401.3 MB, free: 15.43 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/0.3031, allocations: 18.94 kB / 401.4 MB, free: 15.42 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006416/0.3038, allocations: 62.06 kB / 401.4 MB, free: 15.39 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001684/0.304, allocations: 65.22 kB / 401.5 MB, free: 15.35 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.627e-05/0.304, allocations: 25.06 kB / 401.5 MB, free: 15.34 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005704/0.3046, allocations: 477 kB / 402 MB, free: 15.07 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3046, allocations: 0 / 402 MB, free: 15.07 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008555/0.3055, allocations: 293.1 kB / 402.3 MB, free: 15.03 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.003379/0.3088, allocations: 2.056 MB / 404.3 MB, free: 13.66 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002123/0.311, allocations: 1.396 MB / 405.7 MB, free: 12.64 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.311, allocations: 2.875 kB / 405.7 MB, free: 12.64 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001292/0.3123, allocations: 0.7928 MB / 406.5 MB, free: 11.97 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009445/0.3133, allocations: 219.8 kB / 406.7 MB, free: 11.76 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01285/0.3261, allocations: 8.69 MB / 415.4 MB, free: 2.867 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004951/0.3266, allocations: 0.9559 MB / 416.4 MB, free: 1.883 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004883/0.3271, allocations: 106.7 kB / 416.5 MB, free: 1.773 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004135/0.3276, allocations: 315.3 kB / 416.8 MB, free: 1.465 MB / 318.1 MB Notification: Performance of SimCode: time 9.31e-07/0.3276, allocations: 0 / 416.8 MB, free: 1.465 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04402/0.3716, allocations: 24.75 MB / 441.5 MB, free: 9.113 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002227/0.3719, allocations: 249.6 kB / 441.8 MB, free: 8.855 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.394/2.765, allocations: 8 kB / 441.8 MB, free: 8.848 MB / 350.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.0.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