Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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 3.2.3+maint.om/package.mo", uses=false) 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 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.IndirectCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",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.001093/0.001093, allocations: 113.4 kB / 17.73 MB, free: 5.336 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.001153/0.001153, allocations: 176.2 kB / 18.66 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.263/1.263, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001187, allocations: 51.92 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08454/0.08573, allocations: 46.62 MB / 374.6 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.1818/0.2676, allocations: 5.6 MB / 380.2 MB, free: 9.113 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002415/0.27, allocations: 1.458 MB / 381.7 MB, free: 9.062 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004023/0.2705, allocations: 14.69 kB / 381.7 MB, free: 9.059 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004322/0.2709, allocations: 196 kB / 381.9 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005883/0.2715, allocations: 386.9 kB / 382.3 MB, free: 8.789 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004398/0.272, allocations: 255.9 kB / 382.5 MB, free: 8.785 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001233/0.2732, allocations: 1.369 MB / 383.9 MB, free: 8.434 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004583/0.2737, allocations: 412.1 kB / 384.3 MB, free: 8.332 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004606/0.2742, allocations: 0.518 MB / 384.8 MB, free: 8.102 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005504/0.2747, allocations: 0.583 MB / 385.4 MB, free: 7.812 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001472/0.2749, allocations: 121.3 kB / 385.5 MB, free: 7.809 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.2751, allocations: 121.2 kB / 385.6 MB, free: 7.809 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001699/0.2752, allocations: 254.6 kB / 385.9 MB, free: 7.645 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004635/0.2757, allocations: 0.6098 MB / 386.5 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001222/0.2769, allocations: 1.403 MB / 387.9 MB, free: 6.77 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.277, allocations: 0 / 387.9 MB, free: 6.77 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.277, allocations: 1.188 kB / 387.9 MB, free: 6.77 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.97e-05/0.277, allocations: 0 / 387.9 MB, free: 6.77 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002283/0.2793, allocations: 1.48 MB / 389.4 MB, free: 5.762 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.2793, allocations: 10.08 kB / 389.4 MB, free: 5.762 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001811/0.2795, allocations: 130.1 kB / 389.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002013/0.2797, allocations: 125.8 kB / 389.6 MB, free: 5.613 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008789/0.2806, allocations: 0.6433 MB / 390.3 MB, free: 5.164 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001783/0.2808, allocations: 151.3 kB / 390.4 MB, free: 5.047 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.2809, allocations: 73.11 kB / 390.5 MB, free: 5.023 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/0.2823, allocations: 0.9937 MB / 391.5 MB, free: 4.383 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.2824, allocations: 1.188 kB / 391.5 MB, free: 4.383 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.688e-05/0.2824, allocations: 34.34 kB / 391.5 MB, free: 4.359 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.942e-05/0.2825, allocations: 16.47 kB / 391.5 MB, free: 4.359 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.2837, allocations: 0.6331 MB / 392.2 MB, free: 4.152 MB / 318.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.004058/0.2878, allocations: 2.646 MB / 394.8 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002399/0.2902, allocations: 0.8719 MB / 395.7 MB, free: 2.156 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006743/0.2909, allocations: 347.1 kB / 396 MB, free: 2.035 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.278e-05/0.291, allocations: 19.02 kB / 396.1 MB, free: 2.031 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.291, allocations: 51.52 kB / 396.1 MB, free: 1.98 MB / 318.1 MB Notification: Performance of pre-optimization done (n=72): time 2.595e-06/0.291, allocations: 0 / 396.1 MB, free: 1.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=72): time 0.002603/0.2936, allocations: 1.4 MB / 397.5 MB, free: 1.098 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003037/0.2939, allocations: 0.9491 MB / 398.5 MB, free: 15.94 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001325/0.2953, allocations: 0.7933 MB / 399.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.273e-05/0.2954, allocations: 45.89 kB / 399.3 MB, free: 15.55 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004422/0.2958, allocations: 416.4 kB / 399.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002745/0.2961, allocations: 250.5 kB / 399.9 MB, free: 15.04 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002943/0.2964, allocations: 154.2 kB / 400.1 MB, free: 14.96 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.2966, allocations: 337.2 kB / 400.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006024/0.2972, allocations: 262.6 kB / 400.7 MB, free: 14.55 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009241/0.2981, allocations: 0.5836 MB / 401.3 MB, free: 14.08 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/0.2993, allocations: 0.6592 MB / 401.9 MB, free: 13.7 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.2993, allocations: 0 / 401.9 MB, free: 13.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001889/0.3012, allocations: 0.9532 MB / 402.9 MB, free: 13.21 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/0.3013, allocations: 91.86 kB / 403 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.3014, allocations: 1.344 kB / 403 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003984/0.3018, allocations: 124.5 kB / 403.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007953/0.3026, allocations: 156.8 kB / 403.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005358/0.308, allocations: 7.329 MB / 410.6 MB, free: 5.715 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/0.3092, allocations: 108 kB / 410.7 MB, free: 5.645 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.453e-05/0.3092, allocations: 26.41 kB / 410.7 MB, free: 5.637 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (80): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,1), (1,1), (3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004376/0.3097, allocations: 236.9 kB / 410.9 MB, free: 5.449 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/0.3099, allocations: 100.7 kB / 411 MB, free: 5.402 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001842/0.3101, allocations: 107.4 kB / 411.1 MB, free: 5.312 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.3101, allocations: 8.406 kB / 411.1 MB, free: 5.312 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/0.3101, allocations: 0 / 411.1 MB, free: 5.312 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001369/0.3115, allocations: 0.9692 MB / 412.1 MB, free: 4.523 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002718/0.3142, allocations: 1.75 MB / 413.9 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.3142, allocations: 3.938 kB / 413.9 MB, free: 3.277 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007743/0.315, allocations: 160.2 kB / 414 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.61e-05/0.3151, allocations: 25.12 kB / 414.1 MB, free: 3.219 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.388e-05/0.3152, allocations: 17.52 kB / 414.1 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008649/0.316, allocations: 1.402 MB / 415.5 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.316, allocations: 0 / 415.5 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001876/0.3179, allocations: 1.081 MB / 416.6 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004089/0.3183, allocations: 261.1 kB / 416.8 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001584/0.3185, allocations: 19.25 kB / 416.8 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006492/0.3192, allocations: 39.41 kB / 416.9 MB, free: 0.875 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.501e-05/0.3193, allocations: 41.41 kB / 416.9 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.909e-05/0.3193, allocations: 29.05 kB / 416.9 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006725/0.32, allocations: 0.5464 MB / 417.5 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.32, allocations: 0 / 417.5 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007861/0.3208, allocations: 293.8 kB / 417.8 MB, free: 496 kB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002315/0.3231, allocations: 1.653 MB / 419.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00204/0.3252, allocations: 1.389 MB / 420.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.3252, allocations: 2.906 kB / 420.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006097/0.3258, allocations: 420.8 kB / 421.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.3269, allocations: 283.8 kB / 421.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01119/0.3381, allocations: 7.814 MB / 429.3 MB, free: 6.289 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005082/0.3387, allocations: 0.9875 MB / 430.3 MB, free: 5.27 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005971/0.3393, allocations: 127.5 kB / 430.4 MB, free: 5.141 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004383/0.3397, allocations: 363.3 kB / 430.8 MB, free: 4.785 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3397, allocations: 0 / 430.8 MB, free: 4.785 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06031/0.4, allocations: 26.81 MB / 457.6 MB, free: 9.883 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.7/13.1, allocations: 8 kB / 457.6 MB, free: 9.875 MB / 382.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches