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.001287/0.001287, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001382/0.001382, allocations: 193 kB / 16.25 MB, free: 6.617 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.413/1.413, allocations: 205.1 MB / 222.1 MB, free: 4.633 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.001346/0.001346, allocations: 51.94 kB / 278.2 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2859, allocations: 46.62 MB / 324.8 MB, free: 2.094 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.005244/0.2912, allocations: 3.509 MB / 328.4 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002641/0.2939, allocations: 0.9888 MB / 329.3 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004253/0.2944, allocations: 9.594 kB / 329.4 MB, free: 14.49 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000402/0.2949, allocations: 85.47 kB / 329.4 MB, free: 14.43 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004216/0.2953, allocations: 164.9 kB / 329.6 MB, free: 14.29 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003038/0.2956, allocations: 111.8 kB / 329.7 MB, free: 14.19 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000748/0.2964, allocations: 0.6242 MB / 330.3 MB, free: 13.82 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000328/0.2967, allocations: 190.6 kB / 330.5 MB, free: 13.72 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003389/0.297, allocations: 242.3 kB / 330.8 MB, free: 13.58 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000325/0.2974, allocations: 271.9 kB / 331 MB, free: 13.39 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.62e-05/0.2975, allocations: 57.25 kB / 331.1 MB, free: 13.39 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.2976, allocations: 53.72 kB / 331.1 MB, free: 13.39 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.2977, allocations: 117.4 kB / 331.2 MB, free: 13.29 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003164/0.298, allocations: 293.1 kB / 331.5 MB, free: 13.1 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007166/0.2987, allocations: 0.6356 MB / 332.2 MB, free: 12.62 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.2988, allocations: 0 / 332.2 MB, free: 12.62 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.356e-06/0.2988, allocations: 1.188 kB / 332.2 MB, free: 12.62 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.2988, allocations: 0 / 332.2 MB, free: 12.62 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.001659/0.3005, allocations: 0.8454 MB / 333 MB, free: 11.82 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.3005, allocations: 8.031 kB / 333 MB, free: 11.81 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.3007, allocations: 64.28 kB / 333.1 MB, free: 11.75 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005463/0.3012, allocations: 394.6 kB / 333.5 MB, free: 11.32 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.435e-05/0.3013, allocations: 54.91 kB / 333.5 MB, free: 11.27 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.882e-05/0.3014, allocations: 44.31 kB / 333.6 MB, free: 11.22 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007461/0.3022, allocations: 449.1 kB / 334 MB, free: 10.73 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.3022, allocations: 4 kB / 334 MB, free: 10.73 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.34e-05/0.3022, allocations: 16 kB / 334 MB, free: 10.71 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.3023, allocations: 11.98 kB / 334 MB, free: 10.7 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005738/0.3028, allocations: 278.4 kB / 334.3 MB, free: 10.43 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.00217/0.305, allocations: 1.302 MB / 335.6 MB, free: 9.035 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/0.3062, allocations: 437.2 kB / 336 MB, free: 8.582 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000377/0.3066, allocations: 140.8 kB / 336.2 MB, free: 8.441 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.257e-05/0.3067, allocations: 15.92 kB / 336.2 MB, free: 8.426 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.3067, allocations: 38.56 kB / 336.2 MB, free: 8.379 MB / 270.1 MB Notification: Performance of pre-optimization done (n=32): time 1.854e-06/0.3067, allocations: 0 / 336.2 MB, free: 8.379 MB / 270.1 MB Notification: Performance of matching and sorting (n=32): time 0.001205/0.308, allocations: 0.6023 MB / 336.8 MB, free: 7.727 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001978/0.3082, allocations: 445 kB / 337.3 MB, free: 7.188 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005271/0.3087, allocations: 457.8 kB / 337.7 MB, free: 6.73 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.294e-05/0.3087, allocations: 37.7 kB / 337.7 MB, free: 6.688 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.3089, allocations: 232.5 kB / 338 MB, free: 6.457 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.49e-05/0.309, allocations: 110.4 kB / 338.1 MB, free: 6.348 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.3091, allocations: 77.92 kB / 338.2 MB, free: 6.266 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.3093, allocations: 354.9 kB / 338.5 MB, free: 5.91 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002228/0.3095, allocations: 108.5 kB / 338.6 MB, free: 5.805 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003473/0.3099, allocations: 260 kB / 338.9 MB, free: 5.5 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004641/0.3103, allocations: 272.3 kB / 339.1 MB, free: 5.223 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3104, allocations: 4 kB / 339.1 MB, free: 5.219 MB / 270.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007603/0.3111, allocations: 416.9 kB / 339.5 MB, free: 4.793 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.141e-05/0.3112, allocations: 29.7 kB / 339.6 MB, free: 4.758 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/0.3112, allocations: 4 kB / 339.6 MB, free: 4.754 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002099/0.3114, allocations: 49.69 kB / 339.6 MB, free: 4.699 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003224/0.3118, allocations: 67.94 kB / 339.7 MB, free: 4.633 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002789/0.3146, allocations: 2.972 MB / 342.7 MB, free: 1.379 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004254/0.315, allocations: 43.72 kB / 342.7 MB, free: 1.336 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/0.315, allocations: 8 kB / 342.7 MB, free: 1.328 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.0002088/0.3153, allocations: 177.8 kB / 342.9 MB, free: 1.145 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.242e-05/0.3154, allocations: 47.44 kB / 342.9 MB, free: 1.098 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.274e-05/0.3155, allocations: 48.7 kB / 343 MB, free: 1.051 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.3155, allocations: 4 kB / 343 MB, free: 1.047 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.3155, allocations: 3.938 kB / 343 MB, free: 1.043 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006358/0.3161, allocations: 0.6453 MB / 343.6 MB, free: 300 kB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001235/0.3174, allocations: 0.9043 MB / 344.5 MB, free: 15.33 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.3174, allocations: 3.938 kB / 344.5 MB, free: 15.32 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003312/0.3177, allocations: 67.89 kB / 344.6 MB, free: 15.26 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.3177, allocations: 0 / 344.6 MB, free: 15.26 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.771e-05/0.3178, allocations: 8 kB / 344.6 MB, free: 15.25 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.3178, allocations: 7.922 kB / 344.6 MB, free: 15.24 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3178, allocations: 4 kB / 344.6 MB, free: 15.24 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007873/0.3186, allocations: 0.5152 MB / 345.1 MB, free: 14.71 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001725/0.3188, allocations: 168.4 kB / 345.3 MB, free: 14.52 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.734e-05/0.3188, allocations: 8 kB / 345.3 MB, free: 14.52 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003067/0.3192, allocations: 19.89 kB / 345.3 MB, free: 14.5 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.437e-05/0.3192, allocations: 24.03 kB / 345.4 MB, free: 14.47 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.3193, allocations: 8 kB / 345.4 MB, free: 14.46 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003693/0.3196, allocations: 319.1 kB / 345.7 MB, free: 14.16 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3196, allocations: 0 / 345.7 MB, free: 14.16 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004579/0.3201, allocations: 131.8 kB / 345.8 MB, free: 14.03 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.0001747/0.3203, allocations: 107.2 kB / 345.9 MB, free: 13.91 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009231/0.3212, allocations: 0.5708 MB / 346.5 MB, free: 13.3 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.3212, allocations: 4 kB / 346.5 MB, free: 13.3 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000276/0.3215, allocations: 123.9 kB / 346.6 MB, free: 13.18 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007358/0.3223, allocations: 141.8 kB / 346.7 MB, free: 13.04 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001579/0.3239, allocations: 1.025 MB / 347.8 MB, free: 11.99 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/0.3242, allocations: 0.8159 MB / 348.6 MB, free: 11.14 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.00024/0.3245, allocations: 68.33 kB / 348.7 MB, free: 11.07 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.876e-05/0.3246, allocations: 35.44 kB / 348.7 MB, free: 11.04 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3246, allocations: 0 / 348.7 MB, free: 11.04 MB / 286.1 MB Notification: Performance of Templates: time 0.01341/0.338, allocations: 8.081 MB / 356.8 MB, free: 2.949 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)