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.001109/0.001109, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001169/0.001169, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 60.31 kB / 307 MB, free: 0.5273 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08888/0.09026, allocations: 50.54 MB / 357.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006428/0.09673, allocations: 4.952 MB / 362.5 MB, free: 9.012 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002896/0.09966, allocations: 1.309 MB / 363.8 MB, free: 7.695 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007182/0.1004, allocations: 8 kB / 363.9 MB, free: 7.688 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005641/0.101, allocations: 166.5 kB / 364 MB, free: 7.523 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009357/0.102, allocations: 325.2 kB / 364.3 MB, free: 7.203 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006326/0.1026, allocations: 227.6 kB / 364.6 MB, free: 6.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001576/0.1042, allocations: 1.145 MB / 365.7 MB, free: 5.828 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004719/0.1047, allocations: 329.9 kB / 366 MB, free: 5.492 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005546/0.1053, allocations: 442.4 kB / 366.5 MB, free: 5.059 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005106/0.1058, allocations: 0.498 MB / 367 MB, free: 4.559 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001506/0.106, allocations: 104 kB / 367.1 MB, free: 4.457 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001659/0.1061, allocations: 100 kB / 367.2 MB, free: 4.359 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001732/0.1063, allocations: 223.2 kB / 367.4 MB, free: 4.141 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004606/0.1068, allocations: 0.5172 MB / 367.9 MB, free: 3.621 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009878/0.1078, allocations: 1.164 MB / 369.1 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.1078, allocations: 0 / 369.1 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1078, allocations: 0 / 369.1 MB, free: 2.453 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.511e-05/0.1078, allocations: 0 / 369.1 MB, free: 2.453 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.002169/0.11, allocations: 1.314 MB / 370.4 MB, free: 1.066 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.11, allocations: 8.031 kB / 370.4 MB, free: 1.059 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001601/0.1102, allocations: 119.8 kB / 370.5 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001687/0.1104, allocations: 107.8 kB / 370.6 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006967/0.1111, allocations: 0.5551 MB / 371.2 MB, free: 236 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000197/0.1113, allocations: 155 kB / 371.3 MB, free: 60 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.762e-05/0.1114, allocations: 60.38 kB / 371.4 MB, free: 0 / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1342/0.2456, allocations: 0.8491 MB / 372.2 MB, free: 19.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.2456, allocations: 1.312 kB / 372.2 MB, free: 19.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-05/0.2457, allocations: 29.03 kB / 372.2 MB, free: 19.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.2457, allocations: 14.69 kB / 372.3 MB, free: 19.32 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.2469, allocations: 0.5654 MB / 372.8 MB, free: 19.32 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.003182/0.2501, allocations: 2.145 MB / 375 MB, free: 18.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001577/0.2517, allocations: 0.9626 MB / 375.9 MB, free: 17.91 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006159/0.2523, allocations: 376.2 kB / 376.3 MB, free: 17.76 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.848e-05/0.2524, allocations: 15.5 kB / 376.3 MB, free: 17.76 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.2524, allocations: 47.72 kB / 376.4 MB, free: 17.71 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 2.424e-06/0.2524, allocations: 0 / 376.4 MB, free: 17.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.004607/0.257, allocations: 1.746 MB / 378.1 MB, free: 16.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001541/0.2572, allocations: 0.8261 MB / 378.9 MB, free: 15.9 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007355/0.2579, allocations: 0.6344 MB / 379.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.346e-05/0.258, allocations: 45.2 kB / 379.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002178/0.2582, allocations: 342 kB / 379.9 MB, free: 15.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/0.2584, allocations: 247.7 kB / 380.2 MB, free: 15.13 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002158/0.2586, allocations: 146 kB / 380.3 MB, free: 15.06 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.2587, allocations: 384.6 kB / 380.7 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000532/0.2593, allocations: 248.6 kB / 380.9 MB, free: 14.63 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007926/0.2601, allocations: 0.531 MB / 381.5 MB, free: 14.22 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.2611, allocations: 0.6309 MB / 382.1 MB, free: 13.87 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.2611, allocations: 0.7031 kB / 382.1 MB, free: 13.87 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002259/0.2634, allocations: 1.05 MB / 383.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.517e-05/0.2634, allocations: 84.84 kB / 383.2 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.2635, allocations: 4.25 kB / 383.2 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006977/0.2642, allocations: 236.6 kB / 383.5 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005617/0.2647, allocations: 132.5 kB / 383.6 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006409/0.2712, allocations: 6.932 MB / 390.5 MB, free: 6.906 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008796/0.2721, allocations: 97.11 kB / 390.6 MB, free: 6.859 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.083e-05/0.2721, allocations: 26.86 kB / 390.7 MB, free: 6.852 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.000295/0.2724, allocations: 225.3 kB / 390.9 MB, free: 6.668 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.2726, allocations: 86.34 kB / 391 MB, free: 6.629 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001415/0.2727, allocations: 92.08 kB / 391.1 MB, free: 6.559 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.2727, allocations: 6.406 kB / 391.1 MB, free: 6.559 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.2727, allocations: 1.125 kB / 391.1 MB, free: 6.559 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002048/0.2748, allocations: 1.185 MB / 392.2 MB, free: 5.766 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003354/0.2782, allocations: 1.873 MB / 394.1 MB, free: 4.855 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.2782, allocations: 1.188 kB / 394.1 MB, free: 4.855 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005909/0.2788, allocations: 126.9 kB / 394.2 MB, free: 4.848 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005036/0.2793, allocations: 214 kB / 394.5 MB, free: 4.758 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.985e-05/0.2793, allocations: 13.78 kB / 394.5 MB, free: 4.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004786/0.2841, allocations: 5.311 MB / 399.8 MB, free: 15.71 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-05/0.2842, allocations: 4.906 kB / 399.8 MB, free: 15.71 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002779/0.2869, allocations: 1.314 MB / 401.1 MB, free: 14.96 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003158/0.2873, allocations: 240.1 kB / 401.3 MB, free: 14.73 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.2874, allocations: 23.66 kB / 401.4 MB, free: 14.72 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006179/0.288, allocations: 39.5 kB / 401.4 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.2882, allocations: 53.36 kB / 401.4 MB, free: 14.67 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.345e-05/0.2882, allocations: 26.95 kB / 401.5 MB, free: 14.66 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005306/0.2888, allocations: 458.6 kB / 401.9 MB, free: 14.4 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2888, allocations: 0 / 401.9 MB, free: 14.4 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008396/0.2896, allocations: 283.8 kB / 402.2 MB, free: 14.36 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.003087/0.2927, allocations: 1.891 MB / 404.1 MB, free: 13.05 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002038/0.2948, allocations: 1.317 MB / 405.4 MB, free: 12.07 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.2948, allocations: 0 / 405.4 MB, free: 12.07 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008741/0.2957, allocations: 0.7107 MB / 406.1 MB, free: 11.53 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009409/0.2966, allocations: 236.6 kB / 406.3 MB, free: 11.4 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01181/0.3084, allocations: 7.902 MB / 414.2 MB, free: 3.812 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004812/0.309, allocations: 0.9401 MB / 415.2 MB, free: 2.844 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004327/0.3094, allocations: 106.4 kB / 415.3 MB, free: 2.734 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003651/0.3098, allocations: 295.3 kB / 415.6 MB, free: 2.445 MB / 318.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3098, allocations: 0 / 415.6 MB, free: 2.445 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05454/0.3643, allocations: 25.08 MB / 440.7 MB, free: 9.746 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.4, allocations: 3.938 kB / 440.7 MB, free: 9.742 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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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