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.001801/0.001801, 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.002207/0.002207, allocations: 199.2 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.531/1.531, allocations: 205.1 MB / 222 MB, free: 4.984 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.001365/0.001365, allocations: 51.92 kB / 278 MB, free: 13.02 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2753, allocations: 46.62 MB / 324.7 MB, free: 1.82 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.005919/0.2813, allocations: 5.608 MB / 330.3 MB, free: 13.36 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003056/0.2844, allocations: 1.459 MB / 331.7 MB, free: 12.13 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004698/0.2849, allocations: 14.12 kB / 331.8 MB, free: 12.13 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004562/0.2854, allocations: 150.8 kB / 331.9 MB, free: 12.01 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007231/0.2861, allocations: 339.9 kB / 332.2 MB, free: 11.72 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004928/0.2866, allocations: 232.7 kB / 332.5 MB, free: 11.52 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001218/0.2878, allocations: 1.29 MB / 333.7 MB, free: 10.76 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004906/0.2883, allocations: 382.2 kB / 334.1 MB, free: 10.52 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005756/0.2889, allocations: 484.4 kB / 334.6 MB, free: 10.21 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005357/0.2895, allocations: 0.5523 MB / 335.1 MB, free: 9.656 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001365/0.2896, allocations: 88 kB / 335.2 MB, free: 9.57 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001726/0.2898, allocations: 84 kB / 335.3 MB, free: 9.488 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001888/0.29, allocations: 239 kB / 335.5 MB, free: 9.254 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005236/0.2905, allocations: 0.5715 MB / 336.1 MB, free: 8.68 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001061/0.2916, allocations: 1.359 MB / 337.5 MB, free: 7.316 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2916, allocations: 0 / 337.5 MB, free: 7.316 MB / 270.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.2916, allocations: 4 kB / 337.5 MB, free: 7.312 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.2916, allocations: 0 / 337.5 MB, free: 7.312 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.002524/0.2941, allocations: 1.481 MB / 339 MB, free: 5.758 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.2942, allocations: 12.03 kB / 339 MB, free: 5.746 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001975/0.2944, allocations: 127.5 kB / 339.1 MB, free: 5.621 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008476/0.2953, allocations: 0.6303 MB / 339.7 MB, free: 4.949 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002017/0.2955, allocations: 151.6 kB / 339.9 MB, free: 4.785 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.2956, allocations: 68.38 kB / 339.9 MB, free: 4.719 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/0.2971, allocations: 0.9756 MB / 340.9 MB, free: 3.625 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.2971, allocations: 0 / 340.9 MB, free: 3.625 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.691e-05/0.2972, allocations: 32 kB / 341 MB, free: 3.594 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/0.2972, allocations: 16 kB / 341 MB, free: 3.578 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/0.2985, allocations: 0.6246 MB / 341.6 MB, free: 2.957 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.004126/0.3027, allocations: 2.636 MB / 344.2 MB, free: 160 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002436/0.3051, allocations: 0.8639 MB / 345.1 MB, free: 15.27 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006716/0.3058, allocations: 350.6 kB / 345.4 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.07e-05/0.3059, allocations: 16.64 kB / 345.5 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/0.3059, allocations: 47.22 kB / 345.5 MB, free: 14.85 MB / 286.1 MB Notification: Performance of pre-optimization done (n=72): time 2.745e-06/0.3059, allocations: 3.938 kB / 345.5 MB, free: 14.85 MB / 286.1 MB Notification: Performance of matching and sorting (n=72): time 0.00267/0.3086, allocations: 1.401 MB / 346.9 MB, free: 13.34 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004066/0.309, allocations: 0.9566 MB / 347.9 MB, free: 12.15 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009813/0.31, allocations: 0.7865 MB / 348.6 MB, free: 11.35 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.531e-05/0.3101, allocations: 45.64 kB / 348.7 MB, free: 11.3 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003279/0.3104, allocations: 412.5 kB / 349.1 MB, free: 10.89 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002148/0.3107, allocations: 252.3 kB / 349.3 MB, free: 10.64 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002538/0.3109, allocations: 154.7 kB / 349.5 MB, free: 10.48 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.311, allocations: 334 kB / 349.8 MB, free: 10.15 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005297/0.3116, allocations: 257.9 kB / 350.1 MB, free: 9.902 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007961/0.3124, allocations: 0.5859 MB / 350.7 MB, free: 9.199 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.3136, allocations: 0.6638 MB / 351.3 MB, free: 8.504 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.3136, allocations: 0 / 351.3 MB, free: 8.504 MB / 286.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001699/0.3153, allocations: 0.9547 MB / 352.3 MB, free: 7.508 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.951e-05/0.3154, allocations: 89.11 kB / 352.4 MB, free: 7.402 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.3154, allocations: 3.984 kB / 352.4 MB, free: 7.398 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003537/0.3157, allocations: 124.2 kB / 352.5 MB, free: 7.262 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007014/0.3165, allocations: 151.8 kB / 352.6 MB, free: 7.113 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00591/0.3224, allocations: 6.8 MB / 359.4 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009986/0.3234, allocations: 99.23 kB / 359.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.493e-05/0.3235, allocations: 24 kB / 359.6 MB, free: 15.52 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.0004256/0.3239, allocations: 241.8 kB / 359.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.3241, allocations: 102.8 kB / 359.9 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001655/0.3242, allocations: 100.9 kB / 360 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.3243, allocations: 8 kB / 360 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.3243, allocations: 4 kB / 360 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001432/0.3257, allocations: 0.9661 MB / 361 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002788/0.3285, allocations: 1.754 MB / 362.7 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.3285, allocations: 0 / 362.7 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008584/0.3294, allocations: 155.8 kB / 362.9 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.854e-05/0.3295, allocations: 28.84 kB / 362.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.047e-05/0.3296, allocations: 16 kB / 362.9 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009569/0.3305, allocations: 1.304 MB / 364.2 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3306, allocations: 0 / 364.2 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001941/0.3325, allocations: 1.076 MB / 365.3 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000441/0.333, allocations: 255.7 kB / 365.5 MB, free: 9.152 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000158/0.3331, allocations: 20 kB / 365.6 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006472/0.3338, allocations: 51.95 kB / 365.6 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.747e-05/0.3339, allocations: 44.53 kB / 365.7 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-05/0.3339, allocations: 16 kB / 365.7 MB, free: 9.023 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007095/0.3347, allocations: 0.5498 MB / 366.2 MB, free: 8.477 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.3347, allocations: 0 / 366.2 MB, free: 8.477 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008826/0.3356, allocations: 291.7 kB / 366.5 MB, free: 8.191 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.0002086/0.3358, allocations: 127.1 kB / 366.6 MB, free: 8.059 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00237/0.3381, allocations: 1.389 MB / 368 MB, free: 6.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.3382, allocations: 4 kB / 368 MB, free: 6.566 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007032/0.3389, allocations: 426.3 kB / 368.4 MB, free: 6.141 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/0.3402, allocations: 263.2 kB / 368.7 MB, free: 5.887 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003154/0.3433, allocations: 2.021 MB / 370.7 MB, free: 3.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006854/0.344, allocations: 0.9758 MB / 371.7 MB, free: 2.832 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005353/0.3446, allocations: 127.5 kB / 371.8 MB, free: 2.703 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002084/0.3448, allocations: 79.42 kB / 371.9 MB, free: 2.625 MB / 302.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3448, allocations: 4 kB / 371.9 MB, free: 2.621 MB / 302.1 MB Notification: Performance of Templates: time 0.02745/0.3723, allocations: 16.65 MB / 388.6 MB, free: 1.938 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)