Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001202/0.001202, 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.001103/0.001103, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.417/1.417, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.001183/0.001183, allocations: 51.92 kB / 278.7 MB, free: 12.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2106, allocations: 46.63 MB / 325.3 MB, free: 1.852 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006237/0.2169, allocations: 5.607 MB / 330.9 MB, free: 13.38 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002866/0.2198, allocations: 1.464 MB / 332.4 MB, free: 12.14 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003729/0.2202, allocations: 14.16 kB / 332.4 MB, free: 12.13 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005058/0.2207, allocations: 190.1 kB / 332.6 MB, free: 11.98 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007768/0.2215, allocations: 386.8 kB / 332.9 MB, free: 11.64 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005071/0.222, allocations: 256.3 kB / 333.2 MB, free: 11.42 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001494/0.2235, allocations: 1.352 MB / 334.5 MB, free: 10.61 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005682/0.2241, allocations: 422.2 kB / 335 MB, free: 10.21 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005385/0.2246, allocations: 0.506 MB / 335.5 MB, free: 9.707 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006532/0.2253, allocations: 0.5835 MB / 336 MB, free: 9.121 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001594/0.2254, allocations: 120 kB / 336.2 MB, free: 9.004 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001871/0.2256, allocations: 120 kB / 336.3 MB, free: 8.887 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002072/0.2259, allocations: 255.2 kB / 336.5 MB, free: 8.637 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005504/0.2264, allocations: 0.6105 MB / 337.1 MB, free: 8.023 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001128/0.2275, allocations: 1.382 MB / 338.5 MB, free: 6.637 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.2276, allocations: 4 kB / 338.5 MB, free: 6.633 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.2276, allocations: 0 / 338.5 MB, free: 6.633 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.638e-05/0.2276, allocations: 0 / 338.5 MB, free: 6.633 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.002391/0.23, allocations: 1.477 MB / 340 MB, free: 5.082 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.23, allocations: 12.03 kB / 340 MB, free: 5.07 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001941/0.2302, allocations: 127.5 kB / 340.1 MB, free: 4.945 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008175/0.2311, allocations: 0.6264 MB / 340.8 MB, free: 4.277 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001911/0.2313, allocations: 163.6 kB / 340.9 MB, free: 4.102 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.802e-05/0.2314, allocations: 68.38 kB / 341 MB, free: 4.035 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/0.2328, allocations: 0.9718 MB / 342 MB, free: 2.945 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.2328, allocations: 4 kB / 342 MB, free: 2.941 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.194e-05/0.2329, allocations: 32 kB / 342 MB, free: 2.91 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.2329, allocations: 16 kB / 342 MB, free: 2.895 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/0.2341, allocations: 0.6207 MB / 342.6 MB, free: 2.277 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.003702/0.2378, allocations: 2.64 MB / 345.3 MB, free: 15.47 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002408/0.2402, allocations: 0.8714 MB / 346.2 MB, free: 14.57 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006786/0.2409, allocations: 354.5 kB / 346.5 MB, free: 14.22 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.558e-05/0.241, allocations: 16.64 kB / 346.5 MB, free: 14.2 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/0.241, allocations: 51.22 kB / 346.6 MB, free: 14.14 MB / 286.1 MB Notification: Performance of pre-optimization done (n=72): time 1.873e-06/0.241, allocations: 0 / 346.6 MB, free: 14.14 MB / 286.1 MB Notification: Performance of matching and sorting (n=72): time 0.002395/0.2434, allocations: 1.404 MB / 348 MB, free: 12.63 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003763/0.2438, allocations: 0.9527 MB / 348.9 MB, free: 11.45 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008841/0.2447, allocations: 0.7826 MB / 349.7 MB, free: 10.65 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.468e-05/0.2448, allocations: 45.7 kB / 349.7 MB, free: 10.6 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002856/0.2451, allocations: 408.5 kB / 350.1 MB, free: 10.2 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001712/0.2453, allocations: 256.3 kB / 350.4 MB, free: 9.945 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002388/0.2455, allocations: 158.7 kB / 350.6 MB, free: 9.781 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.2456, allocations: 330 kB / 350.9 MB, free: 9.453 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005463/0.2462, allocations: 249.9 kB / 351.1 MB, free: 9.211 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008035/0.247, allocations: 0.588 MB / 351.7 MB, free: 8.5 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.2481, allocations: 0.6716 MB / 352.4 MB, free: 7.797 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.2481, allocations: 4 kB / 352.4 MB, free: 7.793 MB / 286.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001612/0.2498, allocations: 0.9507 MB / 353.3 MB, free: 6.805 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.218e-05/0.2498, allocations: 85.09 kB / 353.4 MB, free: 6.703 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.2498, allocations: 9.984 kB / 353.4 MB, free: 6.695 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003328/0.2502, allocations: 124.2 kB / 353.5 MB, free: 6.559 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006651/0.2508, allocations: 147.8 kB / 353.7 MB, free: 6.414 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00538/0.2562, allocations: 7.336 MB / 361 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007952/0.257, allocations: 99.23 kB / 361.1 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.056e-05/0.2571, allocations: 24 kB / 361.1 MB, free: 14.25 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.0003334/0.2574, allocations: 241.7 kB / 361.4 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/0.2576, allocations: 106.8 kB / 361.5 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000167/0.2578, allocations: 96.91 kB / 361.6 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.2578, allocations: 8 kB / 361.6 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.2578, allocations: 0 / 361.6 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001319/0.2591, allocations: 0.9738 MB / 362.6 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00259/0.2617, allocations: 1.754 MB / 364.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.2618, allocations: 0 / 364.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007272/0.2625, allocations: 159.8 kB / 364.5 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.694e-05/0.2626, allocations: 24.84 kB / 364.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.18e-05/0.2626, allocations: 16 kB / 364.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009471/0.2636, allocations: 1.414 MB / 365.9 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.2636, allocations: 0 / 365.9 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001887/0.2655, allocations: 1.072 MB / 367 MB, free: 8.039 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000331/0.2658, allocations: 263.7 kB / 367.3 MB, free: 7.762 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.266, allocations: 20 kB / 367.3 MB, free: 7.742 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006218/0.2666, allocations: 39.97 kB / 367.3 MB, free: 7.703 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.726e-05/0.2667, allocations: 40.59 kB / 367.4 MB, free: 7.664 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.742e-05/0.2668, allocations: 27.92 kB / 367.4 MB, free: 7.637 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006775/0.2674, allocations: 0.5459 MB / 367.9 MB, free: 7.094 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2674, allocations: 0 / 367.9 MB, free: 7.094 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007423/0.2682, allocations: 291.7 kB / 368.2 MB, free: 6.809 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.0001595/0.2684, allocations: 119.1 kB / 368.3 MB, free: 6.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00221/0.2706, allocations: 1.432 MB / 369.8 MB, free: 5.148 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.2706, allocations: 4 kB / 369.8 MB, free: 5.145 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006513/0.2713, allocations: 418.3 kB / 370.2 MB, free: 4.723 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.2724, allocations: 271.3 kB / 370.4 MB, free: 4.461 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002738/0.2751, allocations: 1.714 MB / 372.2 MB, free: 2.719 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005551/0.2757, allocations: 0.9758 MB / 373.1 MB, free: 1.711 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004835/0.2762, allocations: 127.5 kB / 373.3 MB, free: 1.582 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001914/0.2764, allocations: 79.42 kB / 373.3 MB, free: 1.504 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2764, allocations: 0 / 373.3 MB, free: 1.504 MB / 302.1 MB Notification: Performance of Templates: time 0.0287/0.3051, allocations: 17.62 MB / 391 MB, free: 15.84 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1)