Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 199.4 kB / 16.54 MB, free: 6.672 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.478/1.478, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.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.001165/0.001165, allocations: 55.92 kB / 278.7 MB, free: 12.37 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2731, allocations: 46.62 MB / 325.3 MB, free: 1.863 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.00676/0.2799, allocations: 5.611 MB / 330.9 MB, free: 13.38 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003053/0.283, allocations: 1.455 MB / 332.4 MB, free: 12.15 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007191/0.2838, allocations: 14.31 kB / 332.4 MB, free: 12.15 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005085/0.2843, allocations: 194.1 kB / 332.6 MB, free: 11.99 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000838/0.2851, allocations: 383.3 kB / 332.9 MB, free: 11.66 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005625/0.2857, allocations: 259.7 kB / 333.2 MB, free: 11.43 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001352/0.2871, allocations: 1.348 MB / 334.5 MB, free: 10.63 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005122/0.2876, allocations: 419.6 kB / 335 MB, free: 10.21 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005003/0.2881, allocations: 0.5099 MB / 335.5 MB, free: 9.695 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006053/0.2887, allocations: 0.5874 MB / 336.1 MB, free: 9.105 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000161/0.2889, allocations: 120 kB / 336.2 MB, free: 8.988 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001898/0.2891, allocations: 120 kB / 336.3 MB, free: 8.871 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001878/0.2893, allocations: 255.2 kB / 336.5 MB, free: 8.621 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000494/0.2898, allocations: 0.6027 MB / 337.1 MB, free: 8.016 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.2909, allocations: 1.39 MB / 338.5 MB, free: 6.621 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.2909, allocations: 0 / 338.5 MB, free: 6.621 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.291, allocations: 0 / 338.5 MB, free: 6.621 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.245e-05/0.291, allocations: 0 / 338.5 MB, free: 6.621 MB / 270.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.002437/0.2934, allocations: 1.481 MB / 340 MB, free: 5.066 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.2935, allocations: 15.97 kB / 340 MB, free: 5.051 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002008/0.2937, allocations: 127.5 kB / 340.1 MB, free: 4.926 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008494/0.2945, allocations: 0.6264 MB / 340.8 MB, free: 4.258 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002252/0.2948, allocations: 155.6 kB / 340.9 MB, free: 4.09 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.2949, allocations: 68.38 kB / 341 MB, free: 4.023 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/0.2963, allocations: 0.9718 MB / 342 MB, free: 2.934 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.2964, allocations: 4 kB / 342 MB, free: 2.93 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.62e-05/0.2964, allocations: 32 kB / 342 MB, free: 2.898 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.2965, allocations: 19.94 kB / 342 MB, free: 2.879 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.2977, allocations: 0.6207 MB / 342.6 MB, free: 2.262 MB / 270.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.003997/0.3017, allocations: 2.636 MB / 345.3 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002514/0.3043, allocations: 0.8675 MB / 346.1 MB, free: 14.56 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007005/0.305, allocations: 358.6 kB / 346.5 MB, free: 14.21 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.404e-05/0.3051, allocations: 12.64 kB / 346.5 MB, free: 14.2 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.551e-05/0.3051, allocations: 51.22 kB / 346.6 MB, free: 14.14 MB / 286.1 MB Notification: Performance of pre-optimization done (n=72): time 2.364e-06/0.3051, allocations: 3.938 kB / 346.6 MB, free: 14.13 MB / 286.1 MB Notification: Performance of matching and sorting (n=72): time 0.002705/0.3078, allocations: 1.404 MB / 348 MB, free: 12.62 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004721/0.3083, allocations: 0.9566 MB / 348.9 MB, free: 11.43 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.3093, allocations: 0.7787 MB / 349.7 MB, free: 10.64 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.909e-05/0.3094, allocations: 45.7 kB / 349.7 MB, free: 10.59 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003457/0.3098, allocations: 416.5 kB / 350.2 MB, free: 10.18 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002043/0.31, allocations: 252.2 kB / 350.4 MB, free: 9.93 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002705/0.3103, allocations: 154.7 kB / 350.6 MB, free: 9.77 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.3104, allocations: 334 kB / 350.9 MB, free: 9.438 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005561/0.311, allocations: 253.9 kB / 351.1 MB, free: 9.191 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000813/0.3118, allocations: 0.588 MB / 351.7 MB, free: 8.48 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/0.313, allocations: 0.6638 MB / 352.4 MB, free: 7.785 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.313, allocations: 0 / 352.4 MB, free: 7.785 MB / 286.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001684/0.3147, allocations: 0.9468 MB / 353.3 MB, free: 6.801 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.918e-05/0.3148, allocations: 97.22 kB / 353.4 MB, free: 6.688 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.3148, allocations: 1.859 kB / 353.4 MB, free: 6.688 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003645/0.3152, allocations: 124.2 kB / 353.5 MB, free: 6.551 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006635/0.3158, allocations: 159.8 kB / 353.7 MB, free: 6.395 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005557/0.3214, allocations: 7.325 MB / 361 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000952/0.3224, allocations: 99.27 kB / 361.1 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.453e-05/0.3224, allocations: 24 kB / 361.1 MB, free: 14.24 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.00039/0.3228, allocations: 241.7 kB / 361.4 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/0.323, allocations: 102.8 kB / 361.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001803/0.3232, allocations: 104.9 kB / 361.6 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.3232, allocations: 8 kB / 361.6 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.465e-06/0.3232, allocations: 0 / 361.6 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001341/0.3246, allocations: 0.9738 MB / 362.6 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002808/0.3274, allocations: 1.75 MB / 364.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.3274, allocations: 4 kB / 364.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007382/0.3282, allocations: 155.8 kB / 364.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.928e-05/0.3283, allocations: 28.84 kB / 364.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.959e-05/0.3283, allocations: 12 kB / 364.5 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009236/0.3292, allocations: 1.41 MB / 365.9 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3293, allocations: 8.047 kB / 365.9 MB, free: 9.125 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001853/0.3311, allocations: 1.068 MB / 367 MB, free: 8.031 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000386/0.3315, allocations: 263.7 kB / 367.3 MB, free: 7.754 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/0.3316, allocations: 20 kB / 367.3 MB, free: 7.734 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006272/0.3323, allocations: 39.97 kB / 367.3 MB, free: 7.695 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.491e-05/0.3324, allocations: 44.59 kB / 367.4 MB, free: 7.652 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.739e-05/0.3324, allocations: 20.22 kB / 367.4 MB, free: 7.633 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007/0.3331, allocations: 0.5459 MB / 367.9 MB, free: 7.09 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3331, allocations: 4 kB / 367.9 MB, free: 7.086 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000811/0.334, allocations: 295.6 kB / 368.2 MB, free: 6.797 MB / 302.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.000194/0.3342, allocations: 119.1 kB / 368.3 MB, free: 6.668 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00248/0.3367, allocations: 1.432 MB / 369.8 MB, free: 5.137 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.3367, allocations: 4 kB / 369.8 MB, free: 5.133 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006855/0.3374, allocations: 418.3 kB / 370.2 MB, free: 4.711 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.3385, allocations: 283.8 kB / 370.5 MB, free: 4.438 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003093/0.3417, allocations: 1.698 MB / 372.1 MB, free: 2.711 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006281/0.3423, allocations: 0.9797 MB / 373.1 MB, free: 1.699 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005295/0.3428, allocations: 127.5 kB / 373.3 MB, free: 1.57 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/0.343, allocations: 75.42 kB / 373.3 MB, free: 1.496 MB / 302.1 MB Notification: Performance of SimCode: time 9.12e-07/0.343, allocations: 0 / 373.3 MB, free: 1.496 MB / 302.1 MB Notification: Performance of Templates: time 0.02788/0.3709, allocations: 17.64 MB / 391 MB, free: 15.82 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1)