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.001158/0.001158, allocations: 104.3 kB / 16.62 MB, free: 6.805 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.001238/0.001238, allocations: 193.9 kB / 17.55 MB, free: 5.953 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.283/1.283, allocations: 222.9 MB / 241.2 MB, free: 15.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 50.95 kB / 300.2 MB, free: 6.137 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1022, allocations: 49.44 MB / 349.7 MB, free: 4.688 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005875/0.1081, allocations: 4.951 MB / 354.6 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002262/0.1104, allocations: 1.274 MB / 355.9 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005245/0.1109, allocations: 11.94 kB / 355.9 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005617/0.1115, allocations: 127.1 kB / 356 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008593/0.1124, allocations: 281.8 kB / 356.3 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005147/0.1129, allocations: 199.7 kB / 356.5 MB, free: 13.81 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00144/0.1144, allocations: 1.154 MB / 357.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004758/0.1149, allocations: 337.9 kB / 358 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005595/0.1154, allocations: 442.5 kB / 358.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007025/0.1161, allocations: 0.4941 MB / 358.9 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002215/0.1164, allocations: 104 kB / 359 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003064/0.1167, allocations: 104 kB / 359.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001881/0.1169, allocations: 223.2 kB / 359.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006877/0.1176, allocations: 0.5172 MB / 359.9 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.1186, allocations: 1.156 MB / 361 MB, free: 9.281 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.1186, allocations: 4 kB / 361 MB, free: 9.277 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.1187, allocations: 0 / 361 MB, free: 9.277 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.175e-05/0.1187, allocations: 0 / 361 MB, free: 9.277 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.00258/0.1213, allocations: 1.31 MB / 362.3 MB, free: 7.898 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.1214, allocations: 12.03 kB / 362.3 MB, free: 7.887 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002002/0.1216, allocations: 119.8 kB / 362.5 MB, free: 7.758 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002363/0.1218, allocations: 107.8 kB / 362.6 MB, free: 7.652 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008147/0.1226, allocations: 0.5473 MB / 363.1 MB, free: 7.062 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000202/0.1228, allocations: 150.9 kB / 363.3 MB, free: 6.898 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.932e-05/0.1229, allocations: 68.31 kB / 363.3 MB, free: 6.832 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/0.1243, allocations: 0.8548 MB / 364.2 MB, free: 5.875 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.1243, allocations: 4 kB / 364.2 MB, free: 5.871 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.029e-05/0.1244, allocations: 32 kB / 364.2 MB, free: 5.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.1244, allocations: 15.98 kB / 364.2 MB, free: 5.824 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001163/0.1256, allocations: 0.5673 MB / 364.8 MB, free: 5.258 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.003557/0.1292, allocations: 2.143 MB / 366.9 MB, free: 3.008 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001826/0.131, allocations: 0.9687 MB / 367.9 MB, free: 1.977 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006763/0.1317, allocations: 375 kB / 368.3 MB, free: 1.605 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.693e-05/0.1318, allocations: 20.58 kB / 368.3 MB, free: 1.586 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.467e-05/0.1318, allocations: 47.16 kB / 368.3 MB, free: 1.531 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 1.954e-06/0.1318, allocations: 4 kB / 368.3 MB, free: 1.527 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.1909/0.3228, allocations: 1.723 MB / 370.1 MB, free: 25.58 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002235/0.323, allocations: 0.8247 MB / 370.9 MB, free: 24.58 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009593/0.324, allocations: 0.643 MB / 371.5 MB, free: 24.46 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001677/0.3242, allocations: 45.05 kB / 371.6 MB, free: 24.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002315/0.3244, allocations: 338.7 kB / 371.9 MB, free: 24.34 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001982/0.3246, allocations: 259.5 kB / 372.2 MB, free: 24.29 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002449/0.3249, allocations: 147.5 kB / 372.3 MB, free: 24.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.325, allocations: 388.5 kB / 372.7 MB, free: 23.95 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005505/0.3256, allocations: 250 kB / 372.9 MB, free: 23.95 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007033/0.3263, allocations: 0.5269 MB / 373.5 MB, free: 23.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/0.3274, allocations: 0.6313 MB / 374.1 MB, free: 23.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.3275, allocations: 1.781 kB / 374.1 MB, free: 23.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002426/0.3299, allocations: 1.049 MB / 375.1 MB, free: 22.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.794e-05/0.3299, allocations: 84.62 kB / 375.2 MB, free: 22.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.33, allocations: 1.219 kB / 375.2 MB, free: 22.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006962/0.3307, allocations: 233.1 kB / 375.5 MB, free: 22.58 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000586/0.3313, allocations: 128.8 kB / 375.6 MB, free: 22.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006889/0.3382, allocations: 6.93 MB / 382.5 MB, free: 16.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008453/0.339, allocations: 96.77 kB / 382.6 MB, free: 16.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.745e-05/0.3391, allocations: 27 kB / 382.6 MB, free: 16.23 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.0003242/0.3394, allocations: 213.2 kB / 382.8 MB, free: 16.06 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/0.3396, allocations: 88.83 kB / 382.9 MB, free: 16.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001716/0.3398, allocations: 90.94 kB / 383 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.3398, allocations: 8.078 kB / 383 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.347e-05/0.3398, allocations: 1.25 kB / 383 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002163/0.342, allocations: 1.189 MB / 384.2 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003299/0.3453, allocations: 1.865 MB / 386.1 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.3453, allocations: 5.406 kB / 386.1 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006634/0.346, allocations: 128.9 kB / 386.2 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004902/0.3465, allocations: 205.7 kB / 386.4 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.257e-05/0.3465, allocations: 19 kB / 386.4 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004714/0.3512, allocations: 5.313 MB / 391.7 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3513, allocations: 1.688 kB / 391.7 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002579/0.3539, allocations: 1.324 MB / 393.1 MB, free: 8.773 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002817/0.3541, allocations: 229 kB / 393.3 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.3543, allocations: 24.44 kB / 393.3 MB, free: 8.578 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005733/0.3548, allocations: 46.19 kB / 393.4 MB, free: 8.562 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/0.355, allocations: 62.77 kB / 393.4 MB, free: 8.547 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.257e-05/0.3551, allocations: 19.98 kB / 393.4 MB, free: 8.543 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004802/0.3555, allocations: 461.4 kB / 393.9 MB, free: 8.336 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3556, allocations: 0 / 393.9 MB, free: 8.336 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008078/0.3564, allocations: 284.2 kB / 394.2 MB, free: 8.293 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.002713/0.3591, allocations: 1.886 MB / 396.1 MB, free: 7.148 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001786/0.3609, allocations: 1.324 MB / 397.4 MB, free: 6.254 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.3609, allocations: 1.5 kB / 397.4 MB, free: 6.254 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000745/0.3617, allocations: 0.6931 MB / 398.1 MB, free: 5.781 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000853/0.3625, allocations: 239.6 kB / 398.3 MB, free: 5.68 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/0.373, allocations: 8.17 MB / 406.5 MB, free: 15.71 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004998/0.3735, allocations: 0.9402 MB / 407.4 MB, free: 14.75 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004838/0.374, allocations: 106.4 kB / 407.5 MB, free: 14.64 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003745/0.3743, allocations: 291.3 kB / 407.8 MB, free: 14.35 MB / 318.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3744, allocations: 0 / 407.8 MB, free: 14.35 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06228/0.4366, allocations: 24.74 MB / 432.5 MB, free: 6.062 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002239/0.4369, allocations: 239 kB / 432.8 MB, free: 5.809 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.635/3.072, allocations: 4 kB / 432.8 MB, free: 5.805 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