Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009316/0.0009313, allocations: 179.3 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.254/1.254, allocations: 205.4 MB / 222.9 MB, free: 8.934 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006899/0.00069, allocations: 94.28 kB / 271.2 MB, free: 8.23 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002975/0.0002976, allocations: 8 kB / 327.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2272, allocations: 47.58 MB / 375.2 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.003729/0.2309, allocations: 4.542 MB / 379.7 MB, free: 41.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001584/0.2325, allocations: 1.254 MB / 381 MB, free: 40.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002873/0.2328, allocations: 11.41 kB / 381 MB, free: 40.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002966/0.2331, allocations: 112.7 kB / 381.1 MB, free: 40.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004557/0.2336, allocations: 292.5 kB / 381.4 MB, free: 40.43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002908/0.2339, allocations: 173.6 kB / 381.6 MB, free: 40.28 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008513/0.2348, allocations: 1.131 MB / 382.7 MB, free: 39.59 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003722/0.2352, allocations: 312.3 kB / 383 MB, free: 39.4 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003534/0.2355, allocations: 405.7 kB / 383.4 MB, free: 39.19 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003875/0.2359, allocations: 475.7 kB / 383.9 MB, free: 38.87 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001218/0.236, allocations: 67.28 kB / 383.9 MB, free: 38.87 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.2362, allocations: 72.81 kB / 384 MB, free: 38.87 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.2363, allocations: 189.5 kB / 384.2 MB, free: 38.71 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003754/0.2367, allocations: 0.5 MB / 384.7 MB, free: 38.37 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005932/0.2373, allocations: 0.9133 MB / 385.6 MB, free: 37.68 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2373, allocations: 0.9062 kB / 385.6 MB, free: 37.68 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2373, allocations: 0 / 385.6 MB, free: 37.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.2374, allocations: 0 / 385.6 MB, free: 37.68 MB / 298.7 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.001885/0.2392, allocations: 1.236 MB / 386.8 MB, free: 36.71 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.2393, allocations: 9.531 kB / 386.8 MB, free: 36.71 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001555/0.2395, allocations: 121 kB / 387 MB, free: 36.61 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001618/0.2396, allocations: 114.8 kB / 387.1 MB, free: 36.55 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007493/0.2404, allocations: 0.6116 MB / 387.7 MB, free: 36.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002528/0.2406, allocations: 170.9 kB / 387.8 MB, free: 35.84 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.41e-05/0.2407, allocations: 64.38 kB / 387.9 MB, free: 35.77 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.242, allocations: 0.9407 MB / 388.8 MB, free: 34.73 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.242, allocations: 3.984 kB / 388.9 MB, free: 34.73 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.104e-05/0.2421, allocations: 28 kB / 388.9 MB, free: 34.7 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.2421, allocations: 19.98 kB / 388.9 MB, free: 34.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001341/0.2435, allocations: 0.6883 MB / 389.6 MB, free: 33.99 MB / 298.7 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.002764/0.2462, allocations: 2.232 MB / 391.8 MB, free: 31.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/0.2477, allocations: 1.065 MB / 392.9 MB, free: 30.53 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007269/0.2484, allocations: 439.3 kB / 393.3 MB, free: 30.09 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.948e-05/0.2485, allocations: 20.64 kB / 393.3 MB, free: 30.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.2485, allocations: 51.2 kB / 393.4 MB, free: 30.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=77): time 3.186e-06/0.2485, allocations: 3.984 kB / 393.4 MB, free: 30.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=77): time 0.004642/0.2532, allocations: 2.031 MB / 395.4 MB, free: 27.89 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001409/0.2533, allocations: 0.8233 MB / 396.2 MB, free: 26.87 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005859/0.2539, allocations: 0.6568 MB / 396.9 MB, free: 26.2 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.044e-05/0.254, allocations: 45.7 kB / 396.9 MB, free: 26.15 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001801/0.2542, allocations: 364.8 kB / 397.3 MB, free: 25.79 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/0.2543, allocations: 260.2 kB / 397.6 MB, free: 25.54 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/0.2544, allocations: 16 kB / 397.6 MB, free: 25.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.146e-05/0.2544, allocations: 334 kB / 397.9 MB, free: 25.19 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000637/0.2551, allocations: 311.7 kB / 398.2 MB, free: 24.89 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007843/0.2559, allocations: 0.5858 MB / 398.8 MB, free: 24.2 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001306/0.2572, allocations: 0.7637 MB / 399.5 MB, free: 23.41 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.2572, allocations: 0 / 399.5 MB, free: 23.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002373/0.2596, allocations: 1.235 MB / 400.8 MB, free: 22.14 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.898e-05/0.2596, allocations: 85.11 kB / 400.9 MB, free: 22.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.2597, allocations: 0 / 400.9 MB, free: 22.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006023/0.2603, allocations: 255.3 kB / 401.1 MB, free: 21.78 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006336/0.2609, allocations: 159.8 kB / 401.3 MB, free: 21.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005658/0.2666, allocations: 6.484 MB / 407.8 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/0.2677, allocations: 135.2 kB / 407.9 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.866e-05/0.2678, allocations: 20 kB / 407.9 MB, free: 14.44 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003433/0.2681, allocations: 225.7 kB / 408.1 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.2683, allocations: 90.97 kB / 408.2 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001457/0.2684, allocations: 96.52 kB / 408.3 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.2684, allocations: 8 kB / 408.3 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.2684, allocations: 0 / 408.3 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002211/0.2707, allocations: 1.37 MB / 409.7 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003327/0.274, allocations: 2.097 MB / 411.8 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.274, allocations: 0 / 411.8 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006573/0.2747, allocations: 163.8 kB / 411.9 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004668/0.2752, allocations: 214.5 kB / 412.2 MB, free: 9.984 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.083e-05/0.2752, allocations: 12 kB / 412.2 MB, free: 9.973 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004737/0.28, allocations: 5.075 MB / 417.2 MB, free: 4.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.28, allocations: 0 / 417.2 MB, free: 4.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003098/0.2831, allocations: 1.57 MB / 418.8 MB, free: 2.906 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004155/0.2835, allocations: 243.8 kB / 419 MB, free: 2.648 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.2836, allocations: 20 kB / 419.1 MB, free: 2.629 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006538/0.2843, allocations: 72.06 kB / 419.1 MB, free: 2.559 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000194/0.2845, allocations: 68.56 kB / 419.2 MB, free: 2.488 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.865e-05/0.2845, allocations: 19.98 kB / 419.2 MB, free: 2.469 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004589/0.285, allocations: 471 kB / 419.7 MB, free: 2.016 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.285, allocations: 0 / 419.7 MB, free: 2.016 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00077/0.2858, allocations: 299.5 kB / 420 MB, free: 1.723 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.003319/0.2891, allocations: 2.145 MB / 422.1 MB, free: 15.54 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002324/0.2914, allocations: 1.426 MB / 423.5 MB, free: 14.03 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.2915, allocations: 4 kB / 423.6 MB, free: 14.03 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0014/0.2929, allocations: 0.8277 MB / 424.4 MB, free: 13.16 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.294, allocations: 222.8 kB / 424.6 MB, free: 12.94 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0092/0.3032, allocations: 5.674 MB / 430.3 MB, free: 7.113 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000477/0.3037, allocations: 0.952 MB / 431.2 MB, free: 6.129 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004465/0.3042, allocations: 323.3 kB / 431.5 MB, free: 5.812 MB / 314.7 MB Notification: Performance of SimCode: time 1.894e-06/0.3042, allocations: 0 / 431.5 MB, free: 5.812 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.53/4.834, allocations: 24.93 MB / 456.5 MB, free: 12.8 MB / 346.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut.fmu > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches