Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 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.IndirectCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_4_0_0_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.001123/0.001123, allocations: 111.8 kB / 17.06 MB, free: 6.09 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.001087/0.001087, allocations: 199 kB / 18 MB, free: 5.168 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.437/1.437, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 43.92 kB / 350.8 MB, free: 3.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2641, allocations: 49.45 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006836/0.271, allocations: 5.602 MB / 405.8 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002824/0.2738, allocations: 1.419 MB / 407.3 MB, free: 1.758 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007111/0.2746, allocations: 15.94 kB / 407.3 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006667/0.2753, allocations: 194.3 kB / 407.5 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001143/0.2765, allocations: 384.6 kB / 407.8 MB, free: 1.172 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006054/0.2771, allocations: 259.6 kB / 408.1 MB, free: 0.918 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001522/0.2786, allocations: 1.361 MB / 409.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005459/0.2792, allocations: 415.1 kB / 409.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005995/0.2798, allocations: 0.5099 MB / 410.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007775/0.2806, allocations: 0.5797 MB / 411 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002229/0.2808, allocations: 116 kB / 411.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002518/0.2811, allocations: 120 kB / 411.2 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002105/0.2813, allocations: 267 kB / 411.4 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006599/0.282, allocations: 0.6105 MB / 412.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001272/0.2833, allocations: 1.405 MB / 413.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.2833, allocations: 7.922 kB / 413.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2833, allocations: 0 / 413.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.295e-05/0.2833, allocations: 3.938 kB / 413.5 MB, free: 11.49 MB / 334.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.002674/0.286, allocations: 1.481 MB / 415 MB, free: 9.941 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.2861, allocations: 8.031 kB / 415 MB, free: 9.934 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001707/0.2862, allocations: 132.5 kB / 415.1 MB, free: 9.793 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001963/0.2864, allocations: 127.5 kB / 415.2 MB, free: 9.668 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009139/0.2874, allocations: 0.6343 MB / 415.8 MB, free: 8.992 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000195/0.2876, allocations: 155.6 kB / 416 MB, free: 8.824 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.384e-05/0.2877, allocations: 72.36 kB / 416.1 MB, free: 8.754 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.2891, allocations: 0.9899 MB / 417.1 MB, free: 7.645 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.2892, allocations: 0 / 417.1 MB, free: 7.645 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.622e-05/0.2893, allocations: 36 kB / 417.1 MB, free: 7.609 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/0.2893, allocations: 16 kB / 417.1 MB, free: 7.594 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.2905, allocations: 0.6285 MB / 417.7 MB, free: 6.969 MB / 334.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.004021/0.2946, allocations: 2.647 MB / 420.4 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002493/0.2971, allocations: 0.8754 MB / 421.3 MB, free: 3.258 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006862/0.2978, allocations: 346.7 kB / 421.6 MB, free: 2.918 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.793e-05/0.2979, allocations: 16.62 kB / 421.6 MB, free: 2.902 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.042e-05/0.2979, allocations: 47.22 kB / 421.7 MB, free: 2.848 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 3.126e-06/0.2979, allocations: 1.859 kB / 421.7 MB, free: 2.848 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.00263/0.3005, allocations: 1.404 MB / 423.1 MB, free: 1.328 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004443/0.301, allocations: 0.9489 MB / 424 MB, free: 156 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009411/0.3019, allocations: 0.7865 MB / 424.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.97e-05/0.302, allocations: 45.7 kB / 424.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003134/0.3024, allocations: 428.4 kB / 425.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000201/0.3026, allocations: 244.3 kB / 425.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002501/0.3028, allocations: 162.6 kB / 425.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.3029, allocations: 333.9 kB / 426 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005305/0.3035, allocations: 253.9 kB / 426.2 MB, free: 13.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008089/0.3043, allocations: 0.588 MB / 426.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.3054, allocations: 0.66 MB / 427.5 MB, free: 12.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.3054, allocations: 4 kB / 427.5 MB, free: 12.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001627/0.3071, allocations: 0.9509 MB / 428.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.093e-05/0.3071, allocations: 93.03 kB / 428.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.3072, allocations: 4 kB / 428.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003204/0.3075, allocations: 120.2 kB / 428.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006618/0.3082, allocations: 155.7 kB / 428.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005417/0.3136, allocations: 7.325 MB / 436.1 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000921/0.3145, allocations: 111.2 kB / 436.2 MB, free: 2.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-05/0.3146, allocations: 28 kB / 436.3 MB, free: 2.934 MB / 350.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.0003595/0.315, allocations: 233.6 kB / 436.5 MB, free: 2.695 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/0.3151, allocations: 102.9 kB / 436.6 MB, free: 2.594 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001724/0.3153, allocations: 100.9 kB / 436.7 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.3153, allocations: 11.94 kB / 436.7 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.3153, allocations: 4 kB / 436.7 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001308/0.3167, allocations: 0.97 MB / 437.7 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002679/0.3193, allocations: 1.748 MB / 439.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.3194, allocations: 3.984 kB / 439.4 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007311/0.3201, allocations: 155.8 kB / 439.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.894e-05/0.3202, allocations: 32.84 kB / 439.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.385e-05/0.3203, allocations: 15.98 kB / 439.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009335/0.3212, allocations: 1.399 MB / 441 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3212, allocations: 0 / 441 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001882/0.3231, allocations: 1.085 MB / 442.1 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003779/0.3235, allocations: 255.7 kB / 442.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.3236, allocations: 20 kB / 442.4 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006214/0.3242, allocations: 43.83 kB / 442.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.825e-05/0.3243, allocations: 40.59 kB / 442.5 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-05/0.3244, allocations: 19.98 kB / 442.5 MB, free: 12.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006463/0.325, allocations: 0.5498 MB / 443 MB, free: 11.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.325, allocations: 4 kB / 443 MB, free: 11.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007394/0.3258, allocations: 295.7 kB / 443.3 MB, free: 11.48 MB / 366.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.002191/0.328, allocations: 1.644 MB / 445 MB, free: 9.809 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002215/0.3302, allocations: 1.401 MB / 446.4 MB, free: 8.309 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.3302, allocations: 0 / 446.4 MB, free: 8.309 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006877/0.3309, allocations: 426.5 kB / 446.8 MB, free: 7.879 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/0.3322, allocations: 287 kB / 447.1 MB, free: 7.598 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01144/0.3437, allocations: 7.804 MB / 454.9 MB, free: 15.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006224/0.3443, allocations: 0.9836 MB / 455.9 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005548/0.3449, allocations: 135.4 kB / 456 MB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000494/0.3454, allocations: 351.3 kB / 456.3 MB, free: 14.11 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3454, allocations: 4 kB / 456.3 MB, free: 14.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1499/0.4953, allocations: 26.82 MB / 483.2 MB, free: 3.789 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/13.67, allocations: 8 kB / 483.2 MB, free: 3.781 MB / 398.1 MB (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches