Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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.ParallelCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008354/0.0008354, allocations: 97.59 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009615/0.0009615, allocations: 206.3 kB / 18.28 MB, free: 5.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.198/1.198, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001911/0.0001911, allocations: 8 kB / 307.8 MB, free: 0.7305 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0836/0.08381, allocations: 51.52 MB / 359.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.004241/0.08808, allocations: 4.559 MB / 363.9 MB, free: 8.629 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002413/0.09053, allocations: 1.254 MB / 365.2 MB, free: 7.367 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004608/0.09101, allocations: 11.94 kB / 365.2 MB, free: 7.355 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004164/0.09144, allocations: 127.1 kB / 365.3 MB, free: 7.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007608/0.09222, allocations: 289.7 kB / 365.6 MB, free: 6.945 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004317/0.09266, allocations: 191.8 kB / 365.8 MB, free: 6.758 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001205/0.09388, allocations: 1.101 MB / 366.9 MB, free: 5.652 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004225/0.09431, allocations: 302.5 kB / 367.2 MB, free: 5.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005152/0.09484, allocations: 398.5 kB / 367.6 MB, free: 4.949 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006587/0.09551, allocations: 465.9 kB / 368 MB, free: 4.492 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002054/0.09572, allocations: 71.94 kB / 368.1 MB, free: 4.422 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002095/0.09594, allocations: 68 kB / 368.1 MB, free: 4.355 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001496/0.0961, allocations: 175.3 kB / 368.3 MB, free: 4.184 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004829/0.09659, allocations: 0.5032 MB / 368.8 MB, free: 3.672 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008353/0.09743, allocations: 1.105 MB / 369.9 MB, free: 2.562 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.09744, allocations: 0 / 369.9 MB, free: 2.562 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.09745, allocations: 0 / 369.9 MB, free: 2.562 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.28e-05/0.09749, allocations: 0 / 369.9 MB, free: 2.562 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001877/0.09937, allocations: 1.158 MB / 371.1 MB, free: 1.332 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.09941, allocations: 8.031 kB / 371.1 MB, free: 1.324 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001548/0.09958, allocations: 119.9 kB / 371.2 MB, free: 1.199 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001475/0.09973, allocations: 111.7 kB / 371.3 MB, free: 1.09 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006168/0.1004, allocations: 0.5512 MB / 371.9 MB, free: 0.5 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001796/0.1005, allocations: 147 kB / 372 MB, free: 344 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.299e-05/0.1006, allocations: 64.38 kB / 372.1 MB, free: 280 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1448/0.2455, allocations: 0.8723 MB / 373 MB, free: 18.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.2455, allocations: 0.7969 kB / 373 MB, free: 18.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.244e-05/0.2456, allocations: 28.81 kB / 373 MB, free: 18.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/0.2456, allocations: 14.12 kB / 373 MB, free: 18.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/0.2468, allocations: 0.5913 MB / 373.6 MB, free: 18.66 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.00312/0.2499, allocations: 2.153 MB / 375.7 MB, free: 17.96 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001556/0.2514, allocations: 1.002 MB / 376.7 MB, free: 17.4 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006014/0.2521, allocations: 390.6 kB / 377.1 MB, free: 17.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.626e-05/0.2521, allocations: 13.89 kB / 377.1 MB, free: 17.25 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.2522, allocations: 50.14 kB / 377.2 MB, free: 17.2 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 2.235e-06/0.2522, allocations: 3.391 kB / 377.2 MB, free: 17.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.004499/0.2567, allocations: 1.892 MB / 379.1 MB, free: 16.36 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001504/0.2568, allocations: 0.8224 MB / 379.9 MB, free: 15.35 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006959/0.2575, allocations: 0.6349 MB / 380.5 MB, free: 15.07 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.405e-05/0.2576, allocations: 44.83 kB / 380.6 MB, free: 15.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.2578, allocations: 341.3 kB / 380.9 MB, free: 14.76 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/0.2579, allocations: 253.9 kB / 381.2 MB, free: 14.56 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.254e-05/0.258, allocations: 59.5 kB / 381.2 MB, free: 14.53 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.2581, allocations: 388.6 kB / 381.6 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005109/0.2586, allocations: 265 kB / 381.9 MB, free: 14.09 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006418/0.2593, allocations: 0.5348 MB / 382.4 MB, free: 13.68 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009904/0.2603, allocations: 0.6588 MB / 383.1 MB, free: 13.33 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.2603, allocations: 0 / 383.1 MB, free: 13.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002267/0.2626, allocations: 1.118 MB / 384.2 MB, free: 12.84 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.644e-05/0.2626, allocations: 85.94 kB / 384.3 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.2626, allocations: 0.875 kB / 384.3 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006498/0.2633, allocations: 257.6 kB / 384.5 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005105/0.2638, allocations: 130.8 kB / 384.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005748/0.2696, allocations: 6.501 MB / 391.1 MB, free: 6.832 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006979/0.2703, allocations: 109.2 kB / 391.2 MB, free: 6.785 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-05/0.2703, allocations: 23.44 kB / 391.3 MB, free: 6.781 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 (70): * Single equations (assignments): 63 * 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.0002619/0.2706, allocations: 229.6 kB / 391.5 MB, free: 6.594 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.2707, allocations: 89 kB / 391.6 MB, free: 6.551 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000148/0.2709, allocations: 93.05 kB / 391.7 MB, free: 6.484 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.2709, allocations: 6.25 kB / 391.7 MB, free: 6.484 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.2709, allocations: 1.125 kB / 391.7 MB, free: 6.484 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002033/0.2729, allocations: 1.256 MB / 392.9 MB, free: 5.68 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003283/0.2762, allocations: 1.946 MB / 394.9 MB, free: 4.762 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.2763, allocations: 5.047 kB / 394.9 MB, free: 4.762 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005504/0.2768, allocations: 124.1 kB / 395 MB, free: 4.754 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005159/0.2773, allocations: 219.6 kB / 395.2 MB, free: 4.676 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.192e-05/0.2774, allocations: 14.45 kB / 395.2 MB, free: 4.668 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004404/0.2818, allocations: 4.986 MB / 400.2 MB, free: 72 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.2818, allocations: 5.516 kB / 400.2 MB, free: 68 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002909/0.2847, allocations: 1.393 MB / 401.6 MB, free: 15.3 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003815/0.2851, allocations: 245.4 kB / 401.9 MB, free: 15.08 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.2852, allocations: 24 kB / 401.9 MB, free: 15.06 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000592/0.2858, allocations: 54.44 kB / 401.9 MB, free: 15.04 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.286, allocations: 58.84 kB / 402 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.699e-05/0.286, allocations: 17.69 kB / 402 MB, free: 15 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005336/0.2866, allocations: 462.9 kB / 402.5 MB, free: 14.73 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2866, allocations: 0 / 402.5 MB, free: 14.73 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000855/0.2874, allocations: 284.9 kB / 402.7 MB, free: 14.69 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (61): * Single equations (assignments): 58 * 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.003339/0.2908, allocations: 1.971 MB / 404.7 MB, free: 13.38 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001931/0.2927, allocations: 1.309 MB / 406 MB, free: 12.4 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.2928, allocations: 6.406 kB / 406 MB, free: 12.4 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009198/0.2937, allocations: 0.6993 MB / 406.7 MB, free: 11.85 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009835/0.2947, allocations: 216.2 kB / 406.9 MB, free: 11.64 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01184/0.3065, allocations: 8.424 MB / 415.4 MB, free: 3.008 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000459/0.307, allocations: 0.94 MB / 416.3 MB, free: 2.043 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003778/0.3074, allocations: 106.4 kB / 416.4 MB, free: 1.934 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003687/0.3078, allocations: 296.8 kB / 416.7 MB, free: 1.645 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3078, allocations: 0 / 416.7 MB, free: 1.645 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03976/0.3475, allocations: 23.49 MB / 440.2 MB, free: 10.56 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002781/0.3479, allocations: 246.4 kB / 440.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.351/2.698, allocations: 0 / 440.4 MB, free: 10.3 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches