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.001073/0.001073, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001327/0.001327, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.677/1.677, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.0005305/0.0005306, allocations: 8 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2713, allocations: 47.59 MB / 326.5 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.005262/0.2766, allocations: 4.9 MB / 331.4 MB, free: 13.53 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002945/0.2796, allocations: 1.335 MB / 332.7 MB, free: 12.39 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004397/0.28, allocations: 13.97 kB / 332.7 MB, free: 12.39 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000397/0.2805, allocations: 128 kB / 332.8 MB, free: 12.28 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007826/0.2812, allocations: 339.3 kB / 333.2 MB, free: 11.99 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004705/0.2817, allocations: 192.8 kB / 333.4 MB, free: 11.83 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001289/0.283, allocations: 1.191 MB / 334.6 MB, free: 11.11 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005007/0.2835, allocations: 336.5 kB / 334.9 MB, free: 10.91 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005733/0.2841, allocations: 459.5 kB / 335.3 MB, free: 10.59 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005619/0.2847, allocations: 0.5174 MB / 335.9 MB, free: 10.07 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001171/0.2848, allocations: 79.94 kB / 335.9 MB, free: 9.996 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.285, allocations: 84 kB / 336 MB, free: 9.914 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001777/0.2852, allocations: 203.2 kB / 336.2 MB, free: 9.715 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002555/0.2854, allocations: 237.1 kB / 336.4 MB, free: 9.477 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001066/0.2865, allocations: 1.024 MB / 337.5 MB, free: 8.449 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2865, allocations: 0 / 337.5 MB, free: 8.449 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2865, allocations: 0 / 337.5 MB, free: 8.449 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.464e-05/0.2865, allocations: 0 / 337.5 MB, free: 8.449 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.002629/0.2892, allocations: 1.306 MB / 338.8 MB, free: 7.074 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.283e-05/0.2893, allocations: 12.03 kB / 338.8 MB, free: 7.062 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002488/0.2895, allocations: 130.6 kB / 338.9 MB, free: 6.934 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.2905, allocations: 0.5985 MB / 339.5 MB, free: 6.293 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002068/0.2908, allocations: 155.1 kB / 339.7 MB, free: 6.121 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.2909, allocations: 75.94 kB / 339.7 MB, free: 6.047 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.2923, allocations: 0.9756 MB / 340.7 MB, free: 4.957 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.2923, allocations: 4 kB / 340.7 MB, free: 4.953 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.619e-05/0.2924, allocations: 36 kB / 340.8 MB, free: 4.918 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.2924, allocations: 16 kB / 340.8 MB, free: 4.902 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/0.2937, allocations: 0.6403 MB / 341.4 MB, free: 4.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.003937/0.2976, allocations: 2.652 MB / 344.1 MB, free: 1.445 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002352/0.3, allocations: 0.8673 MB / 344.9 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006756/0.3007, allocations: 358.7 kB / 345.3 MB, free: 204 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.94e-05/0.3008, allocations: 16.64 kB / 345.3 MB, free: 184 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.3008, allocations: 55.08 kB / 345.3 MB, free: 120 kB / 270.1 MB Notification: Performance of pre-optimization done (n=72): time 2.334e-06/0.3008, allocations: 0 / 345.3 MB, free: 120 kB / 270.1 MB Notification: Performance of matching and sorting (n=72): time 0.002598/0.3034, allocations: 1.44 MB / 346.8 MB, free: 14.57 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003685/0.3038, allocations: 0.9489 MB / 347.7 MB, free: 13.39 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009088/0.3047, allocations: 0.7824 MB / 348.5 MB, free: 12.59 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.164e-05/0.3048, allocations: 45.7 kB / 348.6 MB, free: 12.54 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003164/0.3051, allocations: 408.5 kB / 349 MB, free: 12.14 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002256/0.3054, allocations: 248.3 kB / 349.2 MB, free: 11.89 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-05/0.3054, allocations: 12 kB / 349.2 MB, free: 11.88 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.3055, allocations: 343.8 kB / 349.6 MB, free: 11.54 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005236/0.3061, allocations: 261.9 kB / 349.8 MB, free: 11.29 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008291/0.3069, allocations: 0.5958 MB / 350.4 MB, free: 10.57 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006574/0.3076, allocations: 404 kB / 350.8 MB, free: 10.15 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.3076, allocations: 0 / 350.8 MB, free: 10.15 MB / 286.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00162/0.3092, allocations: 0.978 MB / 351.8 MB, free: 9.133 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.073e-05/0.3093, allocations: 89.12 kB / 351.9 MB, free: 9.027 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.3093, allocations: 4 kB / 351.9 MB, free: 9.023 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003264/0.3096, allocations: 124.2 kB / 352 MB, free: 8.887 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006876/0.3103, allocations: 163.8 kB / 352.1 MB, free: 8.727 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00553/0.3159, allocations: 6.785 MB / 358.9 MB, free: 1.273 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.317, allocations: 119.2 kB / 359.1 MB, free: 1.156 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.61e-05/0.3171, allocations: 20 kB / 359.1 MB, free: 1.137 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 4 {3 1,1 1,3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004862/0.3176, allocations: 241.7 kB / 359.3 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001622/0.3177, allocations: 102.9 kB / 359.4 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002038/0.318, allocations: 104.9 kB / 359.5 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.318, allocations: 11.95 kB / 359.5 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.318, allocations: 7.938 kB / 359.5 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00144/0.3194, allocations: 0.9817 MB / 360.5 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002766/0.3222, allocations: 1.773 MB / 362.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.3222, allocations: 0 / 362.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007281/0.323, allocations: 159.8 kB / 362.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001058/0.3231, allocations: 24.84 kB / 362.5 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.486e-05/0.3231, allocations: 12 kB / 362.5 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/0.3242, allocations: 1.308 MB / 363.8 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.3242, allocations: 3.953 kB / 363.8 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002/0.3262, allocations: 1.1 MB / 364.9 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003985/0.3266, allocations: 263.6 kB / 365.1 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.3267, allocations: 23.95 kB / 365.2 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005716/0.3273, allocations: 51.95 kB / 365.2 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.248e-05/0.3274, allocations: 44.59 kB / 365.3 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-05/0.3275, allocations: 16 kB / 365.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007193/0.3282, allocations: 0.5459 MB / 365.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.3282, allocations: 0 / 365.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008574/0.3291, allocations: 287.7 kB / 366.1 MB, free: 9.742 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001939/0.3293, allocations: 123.1 kB / 366.2 MB, free: 9.613 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002176/0.3314, allocations: 1.417 MB / 367.6 MB, free: 8.094 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/0.3315, allocations: 4 kB / 367.6 MB, free: 8.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007092/0.3322, allocations: 434.2 kB / 368.1 MB, free: 7.652 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/0.3334, allocations: 267.2 kB / 368.3 MB, free: 7.391 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003054/0.3365, allocations: 2.008 MB / 370.3 MB, free: 5.359 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000565/0.3371, allocations: 0.9797 MB / 371.3 MB, free: 4.348 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0006196/0.3377, allocations: 127.5 kB / 371.4 MB, free: 4.219 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002208/0.3379, allocations: 79.42 kB / 371.5 MB, free: 4.141 MB / 302.1 MB Notification: Performance of SimCode: time 8.71e-07/0.3379, allocations: 0 / 371.5 MB, free: 4.141 MB / 302.1 MB Notification: Performance of Templates: time 0.02789/0.3658, allocations: 15.83 MB / 387.4 MB, free: 4.273 MB / 318.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)