Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.SimpleCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 108 kB / 15.61 MB, free: 152 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.001266/0.001267, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.502/1.502, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.001273/0.001273, allocations: 51.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2533, allocations: 46.64 MB / 325.3 MB, free: 1.848 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.005233/0.2586, allocations: 3.479 MB / 328.8 MB, free: 15.08 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001908/0.2606, allocations: 0.9848 MB / 329.8 MB, free: 14.27 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000219/0.2608, allocations: 13.09 kB / 329.8 MB, free: 14.26 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003782/0.2612, allocations: 109.7 kB / 329.9 MB, free: 14.17 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003973/0.2616, allocations: 176.4 kB / 330.1 MB, free: 14.02 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002907/0.2619, allocations: 132.5 kB / 330.2 MB, free: 13.9 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007913/0.2627, allocations: 0.6272 MB / 330.8 MB, free: 13.53 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003366/0.2631, allocations: 188.2 kB / 331 MB, free: 13.43 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003081/0.2634, allocations: 244.5 kB / 331.2 MB, free: 13.29 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000332/0.2637, allocations: 273.5 kB / 331.5 MB, free: 13.1 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.181e-05/0.2638, allocations: 52.09 kB / 331.6 MB, free: 13.1 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.2639, allocations: 53.47 kB / 331.6 MB, free: 13.1 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.2641, allocations: 122 kB / 331.7 MB, free: 13 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002798/0.2643, allocations: 285.3 kB / 332 MB, free: 12.81 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000675/0.265, allocations: 0.6351 MB / 332.6 MB, free: 12.34 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.265, allocations: 0 / 332.6 MB, free: 12.34 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2651, allocations: 0 / 332.6 MB, free: 12.34 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.2651, allocations: 4 kB / 332.6 MB, free: 12.34 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001424/0.2665, allocations: 0.8442 MB / 333.5 MB, free: 11.62 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.2666, allocations: 9.25 kB / 333.5 MB, free: 11.62 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001325/0.2667, allocations: 67.91 kB / 333.6 MB, free: 11.58 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000516/0.2672, allocations: 386.6 kB / 333.9 MB, free: 11.16 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.2673, allocations: 62.91 kB / 334 MB, free: 11.1 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.767e-05/0.2674, allocations: 28.38 kB / 334 MB, free: 11.07 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007081/0.2681, allocations: 461.1 kB / 334.5 MB, free: 10.57 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.2681, allocations: 0 / 334.5 MB, free: 10.57 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.16e-05/0.2682, allocations: 16 kB / 334.5 MB, free: 10.55 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.2682, allocations: 12 kB / 334.5 MB, free: 10.54 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005529/0.2688, allocations: 278.5 kB / 334.8 MB, free: 10.26 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.002064/0.2708, allocations: 1.306 MB / 336.1 MB, free: 8.867 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/0.272, allocations: 436.5 kB / 336.5 MB, free: 8.414 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002707/0.2723, allocations: 144.8 kB / 336.7 MB, free: 8.27 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.641e-05/0.2723, allocations: 4 kB / 336.7 MB, free: 8.266 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.2724, allocations: 42.55 kB / 336.7 MB, free: 8.215 MB / 270.1 MB Notification: Performance of pre-optimization done (n=32): time 1.583e-06/0.2724, allocations: 0 / 336.7 MB, free: 8.215 MB / 270.1 MB Notification: Performance of matching and sorting (n=32): time 0.001171/0.2735, allocations: 0.6024 MB / 337.3 MB, free: 7.562 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002056/0.2738, allocations: 444.9 kB / 337.7 MB, free: 7.023 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004976/0.2743, allocations: 461.8 kB / 338.2 MB, free: 6.562 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.388e-05/0.2743, allocations: 33.7 kB / 338.2 MB, free: 6.523 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/0.2745, allocations: 224.5 kB / 338.4 MB, free: 6.301 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.2746, allocations: 114.5 kB / 338.6 MB, free: 6.188 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.2747, allocations: 81.86 kB / 338.6 MB, free: 6.102 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.2749, allocations: 354.8 kB / 339 MB, free: 5.746 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002299/0.2752, allocations: 112.6 kB / 339.1 MB, free: 5.637 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003503/0.2755, allocations: 256 kB / 339.3 MB, free: 5.336 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004915/0.276, allocations: 272.3 kB / 339.6 MB, free: 5.059 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.276, allocations: 0 / 339.6 MB, free: 5.059 MB / 270.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006894/0.2767, allocations: 420.9 kB / 340 MB, free: 4.629 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.826e-05/0.2768, allocations: 34.33 kB / 340.1 MB, free: 4.59 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2768, allocations: 4.031 kB / 340.1 MB, free: 4.586 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001996/0.277, allocations: 49.7 kB / 340.1 MB, free: 4.531 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003087/0.2773, allocations: 71.89 kB / 340.2 MB, free: 4.461 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002585/0.2799, allocations: 2.965 MB / 343.1 MB, free: 1.215 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003873/0.2803, allocations: 47.7 kB / 343.2 MB, free: 1.168 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/0.2804, allocations: 11.98 kB / 343.2 MB, free: 1.156 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002379/0.2806, allocations: 169.8 kB / 343.4 MB, free: 0.9805 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.179e-05/0.2807, allocations: 47.44 kB / 343.4 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.024e-05/0.2808, allocations: 52.69 kB / 343.5 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.2808, allocations: 4 kB / 343.5 MB, free: 0.8789 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.2808, allocations: 7.938 kB / 343.5 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006363/0.2814, allocations: 0.6425 MB / 344.1 MB, free: 128 kB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/0.2827, allocations: 0.9073 MB / 345 MB, free: 15.15 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.2827, allocations: 3.938 kB / 345 MB, free: 15.15 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003252/0.283, allocations: 75.89 kB / 345.1 MB, free: 15.07 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.2831, allocations: 4 kB / 345.1 MB, free: 15.07 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/0.2831, allocations: 7.938 kB / 345.1 MB, free: 15.06 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.2831, allocations: 0 / 345.1 MB, free: 15.06 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.2831, allocations: 4 kB / 345.1 MB, free: 15.06 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007733/0.2839, allocations: 0.4994 MB / 345.6 MB, free: 14.54 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000175/0.2841, allocations: 176.4 kB / 345.8 MB, free: 14.35 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.488e-05/0.2841, allocations: 12 kB / 345.8 MB, free: 14.34 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000298/0.2844, allocations: 15.98 kB / 345.8 MB, free: 14.32 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.772e-05/0.2845, allocations: 19.97 kB / 345.8 MB, free: 14.3 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.2845, allocations: 8 kB / 345.8 MB, free: 14.3 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003386/0.2849, allocations: 323.1 kB / 346.2 MB, free: 13.98 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2849, allocations: 0 / 346.2 MB, free: 13.98 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004583/0.2853, allocations: 131.8 kB / 346.3 MB, free: 13.85 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001436/0.2855, allocations: 107.2 kB / 346.4 MB, free: 13.73 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009687/0.2865, allocations: 0.5746 MB / 347 MB, free: 13.12 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.2865, allocations: 4 kB / 347 MB, free: 13.12 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002405/0.2867, allocations: 124.4 kB / 347.1 MB, free: 13 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007097/0.2874, allocations: 137.8 kB / 347.2 MB, free: 12.86 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.289, allocations: 0.8875 MB / 348.1 MB, free: 11.95 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004709/0.2895, allocations: 0.8198 MB / 348.9 MB, free: 11.11 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002341/0.2897, allocations: 64.34 kB / 349 MB, free: 11.04 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.2898, allocations: 43.44 kB / 349 MB, free: 11 MB / 286.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2898, allocations: 0 / 349 MB, free: 11 MB / 286.1 MB Notification: Performance of Templates: time 0.01426/0.3041, allocations: 8.102 MB / 357.1 MB, free: 2.883 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1)