Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.IndirectCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001189/0.001189, allocations: 108.8 kB / 17.33 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001465/0.001465, allocations: 209.8 kB / 18.27 MB, free: 5.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.277/1.277, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 59.94 kB / 306.5 MB, free: 0.7656 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09134/0.09253, allocations: 50.53 MB / 357.1 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.005369/0.09793, allocations: 5.621 MB / 362.7 MB, free: 8.582 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001912/0.09985, allocations: 1.457 MB / 364.2 MB, free: 7.117 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003348/0.1002, allocations: 11.94 kB / 364.2 MB, free: 7.105 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003962/0.1006, allocations: 147 kB / 364.3 MB, free: 6.961 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005941/0.1012, allocations: 341.3 kB / 364.6 MB, free: 6.625 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004107/0.1016, allocations: 231.7 kB / 364.9 MB, free: 6.398 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001071/0.1027, allocations: 1.358 MB / 366.2 MB, free: 5.035 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000455/0.1032, allocations: 403.1 kB / 366.6 MB, free: 4.621 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003889/0.1036, allocations: 0.5099 MB / 367.1 MB, free: 4.109 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005014/0.1041, allocations: 0.5835 MB / 367.7 MB, free: 3.523 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001302/0.1042, allocations: 116 kB / 367.8 MB, free: 3.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001711/0.1044, allocations: 120 kB / 368 MB, free: 3.293 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001652/0.1046, allocations: 251.2 kB / 368.2 MB, free: 3.047 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004464/0.105, allocations: 0.6183 MB / 368.8 MB, free: 2.426 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009673/0.106, allocations: 1.378 MB / 370.2 MB, free: 1.043 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.106, allocations: 4 kB / 370.2 MB, free: 1.039 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.106, allocations: 0 / 370.2 MB, free: 1.039 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.106, allocations: 0 / 370.2 MB, free: 1.039 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.141/0.2471, allocations: 1.476 MB / 371.7 MB, free: 20.04 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.2471, allocations: 8.844 kB / 371.7 MB, free: 20.04 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001637/0.2473, allocations: 138 kB / 371.8 MB, free: 19.99 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002113/0.2475, allocations: 130 kB / 371.9 MB, free: 19.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007996/0.2483, allocations: 0.6333 MB / 372.6 MB, free: 19.61 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001689/0.2485, allocations: 152 kB / 372.7 MB, free: 19.52 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.928e-05/0.2486, allocations: 70.81 kB / 372.8 MB, free: 19.52 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.2499, allocations: 0.9846 MB / 373.8 MB, free: 18.96 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.25, allocations: 0 / 373.8 MB, free: 18.96 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.041e-05/0.25, allocations: 34.59 kB / 373.8 MB, free: 18.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.813e-05/0.2501, allocations: 20.06 kB / 373.8 MB, free: 18.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/0.2513, allocations: 0.6235 MB / 374.5 MB, free: 18.73 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.003395/0.2547, allocations: 2.669 MB / 377.1 MB, free: 17.12 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002263/0.2569, allocations: 0.8698 MB / 378 MB, free: 16.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006071/0.2576, allocations: 355.3 kB / 378.3 MB, free: 16.62 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.987e-05/0.2576, allocations: 18.92 kB / 378.4 MB, free: 16.61 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.2577, allocations: 51.55 kB / 378.4 MB, free: 16.56 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.204e-06/0.2577, allocations: 0 / 378.4 MB, free: 16.56 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002206/0.2599, allocations: 1.4 MB / 379.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000152/0.26, allocations: 0.9539 MB / 380.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008319/0.2609, allocations: 0.7849 MB / 381.5 MB, free: 14.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.744e-05/0.2609, allocations: 45.89 kB / 381.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002236/0.2612, allocations: 418.1 kB / 382 MB, free: 13.82 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/0.2613, allocations: 248.2 kB / 382.2 MB, free: 13.63 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002244/0.2616, allocations: 159.2 kB / 382.4 MB, free: 13.55 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.565e-05/0.2616, allocations: 340.5 kB / 382.7 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004801/0.2621, allocations: 257.6 kB / 383 MB, free: 13.14 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006767/0.2628, allocations: 0.5919 MB / 383.6 MB, free: 12.66 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009965/0.2638, allocations: 0.6601 MB / 384.2 MB, free: 12.29 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.2638, allocations: 0 / 384.2 MB, free: 12.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001471/0.2653, allocations: 0.948 MB / 385.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.794e-05/0.2653, allocations: 88.44 kB / 385.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.2653, allocations: 2.672 kB / 385.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002944/0.2656, allocations: 132.8 kB / 385.4 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006726/0.2663, allocations: 149.8 kB / 385.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003901/0.2702, allocations: 7.337 MB / 392.9 MB, free: 4.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008379/0.2711, allocations: 104.8 kB / 393 MB, free: 4.289 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.593e-05/0.2712, allocations: 28.31 kB / 393 MB, free: 4.281 MB / 302.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.0003254/0.2715, allocations: 242 kB / 393.3 MB, free: 4.09 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.2717, allocations: 100.9 kB / 393.3 MB, free: 4.043 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001546/0.2718, allocations: 103.5 kB / 393.5 MB, free: 3.973 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.2718, allocations: 7.219 kB / 393.5 MB, free: 3.973 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.2718, allocations: 1.219 kB / 393.5 MB, free: 3.973 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001153/0.273, allocations: 0.9762 MB / 394.4 MB, free: 3.242 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002453/0.2755, allocations: 1.748 MB / 396.2 MB, free: 2.348 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.2755, allocations: 1.719 kB / 396.2 MB, free: 2.348 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007216/0.2762, allocations: 158.8 kB / 396.3 MB, free: 2.332 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.392e-05/0.2763, allocations: 25.31 kB / 396.4 MB, free: 2.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.263e-05/0.2764, allocations: 14.08 kB / 396.4 MB, free: 2.312 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006076/0.277, allocations: 1.406 MB / 397.8 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.277, allocations: 0 / 397.8 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001692/0.2787, allocations: 1.08 MB / 398.9 MB, free: 376 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000301/0.279, allocations: 261.1 kB / 399.1 MB, free: 164 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/0.2791, allocations: 25.08 kB / 399.1 MB, free: 148 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006357/0.2798, allocations: 41.52 kB / 399.2 MB, free: 136 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.888e-05/0.2799, allocations: 43.92 kB / 399.2 MB, free: 116 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.549e-05/0.2799, allocations: 19.92 kB / 399.2 MB, free: 108 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006984/0.2806, allocations: 0.5499 MB / 399.8 MB, free: 15.8 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2806, allocations: 0 / 399.8 MB, free: 15.8 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007491/0.2814, allocations: 301.2 kB / 400.1 MB, free: 15.75 MB / 318.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.002084/0.2835, allocations: 1.653 MB / 401.7 MB, free: 14.6 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002172/0.2857, allocations: 1.427 MB / 403.2 MB, free: 13.5 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.2857, allocations: 3.406 kB / 403.2 MB, free: 13.5 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006577/0.2863, allocations: 420.5 kB / 403.6 MB, free: 13.26 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.2874, allocations: 277.1 kB / 403.9 MB, free: 13.12 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/0.2984, allocations: 8.81 MB / 412.7 MB, free: 5.297 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004734/0.2989, allocations: 0.9836 MB / 413.7 MB, free: 4.285 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005442/0.2994, allocations: 127.5 kB / 413.8 MB, free: 4.156 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004381/0.2999, allocations: 359.3 kB / 414.1 MB, free: 3.805 MB / 318.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2999, allocations: 1.859 kB / 414.1 MB, free: 3.805 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.344/2.644, allocations: 25.72 MB / 439.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003028/2.645, allocations: 242.3 kB / 440.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.608/5.253, allocations: 7.375 kB / 440.1 MB, free: 10.3 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches