Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 99.58 kB / 16.5 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 195.1 kB / 17.42 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.24/1.24, allocations: 222.9 MB / 241.1 MB, free: 15.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000979/0.0009791, allocations: 47.28 kB / 300.1 MB, free: 6.203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0766/0.07759, allocations: 49.45 MB / 349.5 MB, free: 4.746 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005022/0.08263, allocations: 4.955 MB / 354.5 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.08462, allocations: 1.281 MB / 355.7 MB, free: 14.47 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004539/0.08509, allocations: 12 kB / 355.8 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003691/0.08549, allocations: 131.1 kB / 355.9 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006856/0.08619, allocations: 277.8 kB / 356.2 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005136/0.08671, allocations: 199.8 kB / 356.3 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001509/0.08823, allocations: 1.104 MB / 357.5 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004516/0.08869, allocations: 302.5 kB / 357.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006754/0.08938, allocations: 410.5 kB / 358.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006432/0.09003, allocations: 485.9 kB / 358.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001546/0.0902, allocations: 76 kB / 358.7 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001647/0.09037, allocations: 72 kB / 358.8 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.09052, allocations: 195.3 kB / 359 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004585/0.09099, allocations: 497.6 kB / 359.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008035/0.0918, allocations: 1.129 MB / 360.6 MB, free: 9.609 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.09181, allocations: 0 / 360.6 MB, free: 9.609 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.11e-07/0.09182, allocations: 0 / 360.6 MB, free: 9.609 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.24e-05/0.09184, allocations: 0 / 360.6 MB, free: 9.609 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.001961/0.09381, allocations: 1.314 MB / 361.9 MB, free: 8.227 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.579e-05/0.09384, allocations: 8.031 kB / 361.9 MB, free: 8.219 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001487/0.094, allocations: 127.8 kB / 362 MB, free: 8.082 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001583/0.09416, allocations: 103.8 kB / 362.1 MB, free: 7.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000621/0.09479, allocations: 0.5473 MB / 362.7 MB, free: 7.391 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001559/0.09495, allocations: 151 kB / 362.8 MB, free: 7.227 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-05/0.09504, allocations: 60.38 kB / 362.9 MB, free: 7.168 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.0962, allocations: 0.8587 MB / 363.7 MB, free: 6.207 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.09622, allocations: 0 / 363.7 MB, free: 6.207 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.756e-05/0.09629, allocations: 35.88 kB / 363.8 MB, free: 6.172 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.09631, allocations: 23.98 kB / 363.8 MB, free: 6.148 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.09737, allocations: 0.5711 MB / 364.4 MB, free: 5.578 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.002854/0.1002, allocations: 2.147 MB / 366.5 MB, free: 3.324 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001518/0.1018, allocations: 0.9541 MB / 367.5 MB, free: 2.309 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006084/0.1024, allocations: 379 kB / 367.8 MB, free: 1.934 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.83e-05/0.1024, allocations: 18.28 kB / 367.8 MB, free: 1.918 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.1025, allocations: 51.16 kB / 367.9 MB, free: 1.859 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 1.693e-06/0.1025, allocations: 0 / 367.9 MB, free: 1.859 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.004289/0.1068, allocations: 1.738 MB / 369.6 MB, free: 28 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1365/0.2433, allocations: 0.8167 MB / 370.5 MB, free: 24.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008168/0.2441, allocations: 0.6424 MB / 371.1 MB, free: 24.79 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000158/0.2443, allocations: 42.48 kB / 371.1 MB, free: 24.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.2445, allocations: 339.7 kB / 371.5 MB, free: 24.67 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/0.2446, allocations: 257.2 kB / 371.7 MB, free: 24.61 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002235/0.2449, allocations: 152.5 kB / 371.9 MB, free: 24.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.421e-05/0.245, allocations: 384.8 kB / 372.2 MB, free: 24.28 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005174/0.2455, allocations: 247.9 kB / 372.5 MB, free: 24.28 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000658/0.2462, allocations: 0.5234 MB / 373 MB, free: 23.92 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009668/0.2471, allocations: 0.6367 MB / 373.6 MB, free: 23.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.2471, allocations: 0.8438 kB / 373.6 MB, free: 23.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002075/0.2492, allocations: 1.05 MB / 374.7 MB, free: 23.11 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/0.2493, allocations: 85.84 kB / 374.8 MB, free: 23.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.2493, allocations: 0 / 374.8 MB, free: 23.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005365/0.2498, allocations: 230 kB / 375 MB, free: 22.94 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004851/0.2503, allocations: 127.1 kB / 375.1 MB, free: 22.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2335/0.4838, allocations: 6.37 MB / 381.5 MB, free: 17.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.4849, allocations: 103.5 kB / 381.6 MB, free: 17.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.506e-05/0.485, allocations: 26.47 kB / 381.6 MB, free: 17.11 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.0003863/0.4854, allocations: 221.1 kB / 381.8 MB, free: 16.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.4856, allocations: 86.89 kB / 381.9 MB, free: 16.89 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001715/0.4858, allocations: 90.66 kB / 382 MB, free: 16.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.4858, allocations: 7.156 kB / 382 MB, free: 16.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.4858, allocations: 1.781 kB / 382 MB, free: 16.82 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001948/0.4877, allocations: 1.185 MB / 383.2 MB, free: 16.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003167/0.4909, allocations: 1.876 MB / 385.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.4909, allocations: 3.078 kB / 385.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005484/0.4915, allocations: 122.6 kB / 385.2 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000476/0.492, allocations: 204.1 kB / 385.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.085e-05/0.492, allocations: 15.69 kB / 385.4 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004238/0.4963, allocations: 4.873 MB / 390.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.4963, allocations: 5.188 kB / 390.3 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002595/0.4989, allocations: 1.324 MB / 391.6 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002984/0.4992, allocations: 239.3 kB / 391.9 MB, free: 9.852 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.4993, allocations: 20.88 kB / 391.9 MB, free: 9.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005419/0.4999, allocations: 36.42 kB / 391.9 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000195/0.5001, allocations: 60.78 kB / 392 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.229e-05/0.5001, allocations: 23.36 kB / 392 MB, free: 9.812 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005055/0.5006, allocations: 462 kB / 392.5 MB, free: 9.609 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5006, allocations: 0 / 392.5 MB, free: 9.609 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008042/0.5015, allocations: 285.8 kB / 392.7 MB, free: 9.566 MB / 302.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.00262/0.5041, allocations: 1.9 MB / 394.6 MB, free: 8.402 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001637/0.5057, allocations: 1.283 MB / 395.9 MB, free: 7.527 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.5057, allocations: 2.281 kB / 395.9 MB, free: 7.527 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007643/0.5065, allocations: 0.6844 MB / 396.6 MB, free: 7.059 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008885/0.5074, allocations: 219 kB / 396.8 MB, free: 6.98 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01/0.5174, allocations: 8.172 MB / 405 MB, free: 1.332 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.5177, allocations: 0.944 MB / 405.9 MB, free: 368 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004775/0.5182, allocations: 98.44 kB / 406 MB, free: 264 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003036/0.5185, allocations: 295.3 kB / 406.3 MB, free: 15.97 MB / 318.1 MB Notification: Performance of SimCode: time 5.41e-07/0.5185, allocations: 0 / 406.3 MB, free: 15.97 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.13/1.649, allocations: 23.72 MB / 430 MB, free: 8.648 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002218/1.649, allocations: 236.5 kB / 430.3 MB, free: 8.395 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.367/4.017, allocations: 0 / 430.3 MB, free: 8.395 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches