Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001096/0.001096, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001291/0.001291, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.519/1.519, allocations: 205.1 MB / 222 MB, free: 4.738 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.001219/0.001219, allocations: 55.92 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2817, allocations: 46.63 MB / 324.7 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.005608/0.2874, allocations: 3.521 MB / 328.2 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001947/0.2893, allocations: 0.9794 MB / 329.2 MB, free: 14.33 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002198/0.2896, allocations: 8.375 kB / 329.2 MB, free: 14.33 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004185/0.29, allocations: 86.27 kB / 329.3 MB, free: 14.26 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004166/0.2904, allocations: 165.5 kB / 329.4 MB, free: 14.12 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002908/0.2907, allocations: 107 kB / 329.5 MB, free: 14.03 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007773/0.2915, allocations: 0.6026 MB / 330.1 MB, free: 13.67 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003097/0.2919, allocations: 174.3 kB / 330.3 MB, free: 13.57 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00027/0.2921, allocations: 220.5 kB / 330.5 MB, free: 13.46 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000348/0.2925, allocations: 268.4 kB / 330.8 MB, free: 13.27 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.715e-05/0.2926, allocations: 43.12 kB / 330.8 MB, free: 13.27 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.2927, allocations: 38.31 kB / 330.9 MB, free: 13.27 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.2928, allocations: 105.7 kB / 331 MB, free: 13.18 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000297/0.2931, allocations: 274 kB / 331.2 MB, free: 13.01 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006115/0.2938, allocations: 0.6169 MB / 331.9 MB, free: 12.55 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2938, allocations: 0.9375 kB / 331.9 MB, free: 12.55 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2938, allocations: 0 / 331.9 MB, free: 12.55 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.2938, allocations: 0 / 331.9 MB, free: 12.55 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.001551/0.2953, allocations: 0.8478 MB / 332.7 MB, free: 11.82 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.2954, allocations: 9.531 kB / 332.7 MB, free: 11.82 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.2955, allocations: 60.22 kB / 332.8 MB, free: 11.8 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006092/0.2962, allocations: 389 kB / 333.1 MB, free: 11.45 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001304/0.2963, allocations: 68.06 kB / 333.2 MB, free: 11.39 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.955e-05/0.2964, allocations: 30.69 kB / 333.2 MB, free: 11.38 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008033/0.2972, allocations: 465.7 kB / 333.7 MB, free: 10.94 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.2972, allocations: 0 / 333.7 MB, free: 10.94 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.585e-05/0.2973, allocations: 19.98 kB / 333.7 MB, free: 10.92 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.2973, allocations: 8 kB / 333.7 MB, free: 10.91 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005671/0.2979, allocations: 282.4 kB / 334 MB, free: 10.63 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.00211/0.3, allocations: 1.306 MB / 335.3 MB, free: 9.238 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.3011, allocations: 429.2 kB / 335.7 MB, free: 8.793 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002543/0.3014, allocations: 140.8 kB / 335.9 MB, free: 8.652 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.496e-05/0.3014, allocations: 4.094 kB / 335.9 MB, free: 8.648 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.3015, allocations: 46.48 kB / 335.9 MB, free: 8.594 MB / 270.1 MB Notification: Performance of pre-optimization done (n=32): time 1.483e-06/0.3015, allocations: 4 kB / 335.9 MB, free: 8.59 MB / 270.1 MB Notification: Performance of matching and sorting (n=32): time 0.001109/0.3026, allocations: 0.5984 MB / 336.5 MB, free: 7.941 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002005/0.3028, allocations: 444.9 kB / 337 MB, free: 7.402 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004808/0.3033, allocations: 461.8 kB / 337.4 MB, free: 6.941 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/0.3033, allocations: 33.7 kB / 337.4 MB, free: 6.902 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.3035, allocations: 228.5 kB / 337.7 MB, free: 6.676 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.029e-05/0.3036, allocations: 114.4 kB / 337.8 MB, free: 6.562 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.3037, allocations: 77.92 kB / 337.8 MB, free: 6.48 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.3039, allocations: 354.8 kB / 338.2 MB, free: 6.125 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002316/0.3041, allocations: 108.6 kB / 338.3 MB, free: 6.02 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003353/0.3044, allocations: 256 kB / 338.6 MB, free: 5.719 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004694/0.3049, allocations: 272.3 kB / 338.8 MB, free: 5.441 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3049, allocations: 0 / 338.8 MB, free: 5.441 MB / 270.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006762/0.3056, allocations: 416.9 kB / 339.2 MB, free: 5.016 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.146e-05/0.3057, allocations: 37.69 kB / 339.3 MB, free: 4.973 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.3057, allocations: 0 / 339.3 MB, free: 4.973 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001617/0.3058, allocations: 49.7 kB / 339.3 MB, free: 4.918 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003165/0.3062, allocations: 71.92 kB / 339.4 MB, free: 4.848 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002351/0.3085, allocations: 2.74 MB / 342.1 MB, free: 1.84 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004327/0.309, allocations: 55.58 kB / 342.2 MB, free: 1.785 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/0.309, allocations: 12 kB / 342.2 MB, free: 1.773 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.0001994/0.3092, allocations: 169.7 kB / 342.4 MB, free: 1.598 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.372e-05/0.3093, allocations: 51.44 kB / 342.4 MB, free: 1.547 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.129e-05/0.3094, allocations: 48.69 kB / 342.4 MB, free: 1.5 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3094, allocations: 4 kB / 342.5 MB, free: 1.496 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3094, allocations: 0 / 342.5 MB, free: 1.496 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006806/0.3101, allocations: 0.6414 MB / 343.1 MB, free: 0.75 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001378/0.3115, allocations: 0.9159 MB / 344 MB, free: 15.77 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3115, allocations: 0 / 344 MB, free: 15.77 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003507/0.3119, allocations: 75.89 kB / 344.1 MB, free: 15.7 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3119, allocations: 0 / 344.1 MB, free: 15.7 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/0.3119, allocations: 4 kB / 344.1 MB, free: 15.7 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.3119, allocations: 4 kB / 344.1 MB, free: 15.69 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3119, allocations: 4 kB / 344.1 MB, free: 15.69 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008295/0.3128, allocations: 0.5152 MB / 344.6 MB, free: 15.16 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001869/0.313, allocations: 156.5 kB / 344.8 MB, free: 14.98 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.675e-05/0.3131, allocations: 11.98 kB / 344.8 MB, free: 14.97 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003024/0.3134, allocations: 19.92 kB / 344.8 MB, free: 14.95 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.61e-05/0.3134, allocations: 27.98 kB / 344.8 MB, free: 14.93 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.3134, allocations: 8.234 kB / 344.8 MB, free: 14.92 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003389/0.3138, allocations: 323.1 kB / 345.1 MB, free: 14.61 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3138, allocations: 3.938 kB / 345.1 MB, free: 14.6 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004313/0.3142, allocations: 131.8 kB / 345.3 MB, free: 14.47 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.0001282/0.3144, allocations: 107.2 kB / 345.4 MB, free: 14.36 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008856/0.3153, allocations: 0.5591 MB / 345.9 MB, free: 13.76 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3153, allocations: 0 / 345.9 MB, free: 13.76 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002343/0.3155, allocations: 123.9 kB / 346.1 MB, free: 13.64 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007446/0.3163, allocations: 125.9 kB / 346.2 MB, free: 13.52 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.3178, allocations: 1.026 MB / 347.2 MB, free: 12.46 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.3182, allocations: 0.8198 MB / 348 MB, free: 11.62 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000235/0.3184, allocations: 56.36 kB / 348.1 MB, free: 11.56 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.3186, allocations: 43.38 kB / 348.1 MB, free: 11.52 MB / 286.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3186, allocations: 4 kB / 348.1 MB, free: 11.51 MB / 286.1 MB Notification: Performance of Templates: time 0.01234/0.3309, allocations: 7.653 MB / 355.8 MB, free: 3.852 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1)