Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.000995/0.0009949, allocations: 99.48 kB / 16.3 MB, free: 5.988 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.001169/0.001169, allocations: 178.8 kB / 17.19 MB, free: 5.906 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.619/1.619, allocations: 205.4 MB / 223.4 MB, free: 5.562 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.0004722/0.0004722, allocations: 8 kB / 280.1 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.247, allocations: 47.58 MB / 327.7 MB, free: 1.441 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003094/0.2502, allocations: 2.768 MB / 330.5 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001712/0.2519, allocations: 0.9109 MB / 331.4 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001998/0.2521, allocations: 7.781 kB / 331.4 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002075/0.2523, allocations: 67.95 kB / 331.4 MB, free: 14.48 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004082/0.2528, allocations: 207.5 kB / 331.6 MB, free: 14.3 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002298/0.253, allocations: 87.58 kB / 331.7 MB, free: 14.23 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006343/0.2536, allocations: 448.3 kB / 332.2 MB, free: 13.96 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003038/0.254, allocations: 145.5 kB / 332.3 MB, free: 13.88 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002694/0.2542, allocations: 200.8 kB / 332.5 MB, free: 13.78 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003264/0.2546, allocations: 227.3 kB / 332.7 MB, free: 13.63 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.146e-05/0.2547, allocations: 31.06 kB / 332.8 MB, free: 13.63 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.215e-05/0.2548, allocations: 30.88 kB / 332.8 MB, free: 13.63 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.837e-05/0.2549, allocations: 89.38 kB / 332.9 MB, free: 13.56 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001373/0.255, allocations: 125.2 kB / 333 MB, free: 13.48 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004792/0.2555, allocations: 456.1 kB / 333.4 MB, free: 13.15 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.2555, allocations: 0 / 333.4 MB, free: 13.15 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2555, allocations: 0 / 333.4 MB, free: 13.15 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.2555, allocations: 4 kB / 333.4 MB, free: 13.14 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.001318/0.2568, allocations: 0.7583 MB / 334.2 MB, free: 12.49 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.2569, allocations: 9.906 kB / 334.2 MB, free: 12.49 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.257, allocations: 58.53 kB / 334.3 MB, free: 12.46 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005449/0.2576, allocations: 353.2 kB / 334.6 MB, free: 12.14 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/0.2577, allocations: 62.28 kB / 334.7 MB, free: 12.09 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.411e-05/0.2578, allocations: 33.7 kB / 334.7 MB, free: 12.08 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007712/0.2586, allocations: 458.5 kB / 335.2 MB, free: 11.73 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.2586, allocations: 0 / 335.2 MB, free: 11.73 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.486e-05/0.2586, allocations: 16.56 kB / 335.2 MB, free: 11.71 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.2587, allocations: 7.625 kB / 335.2 MB, free: 11.71 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005902/0.2593, allocations: 287.8 kB / 335.5 MB, free: 11.58 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.002144/0.2614, allocations: 1.277 MB / 336.7 MB, free: 10.22 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.2625, allocations: 433.2 kB / 337.2 MB, free: 9.77 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.57e-05/0.2626, allocations: 8 kB / 337.2 MB, free: 9.762 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.2626, allocations: 38.56 kB / 337.2 MB, free: 9.715 MB / 270.1 MB Notification: Performance of pre-optimization done (n=32): time 2.575e-06/0.2626, allocations: 4 kB / 337.2 MB, free: 9.711 MB / 270.1 MB Notification: Performance of matching and sorting (n=32): time 0.001158/0.2638, allocations: 0.6068 MB / 337.8 MB, free: 9.055 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002007/0.264, allocations: 456.8 kB / 338.3 MB, free: 8.504 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004443/0.2645, allocations: 414 kB / 338.7 MB, free: 8.09 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.648e-05/0.2645, allocations: 33.7 kB / 338.7 MB, free: 8.051 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001653/0.2647, allocations: 228.5 kB / 338.9 MB, free: 7.824 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.159e-05/0.2648, allocations: 118.3 kB / 339 MB, free: 7.707 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.787e-05/0.2648, allocations: 4 kB / 339 MB, free: 7.703 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.265, allocations: 358.8 kB / 339.4 MB, free: 7.344 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002683/0.2653, allocations: 112.6 kB / 339.5 MB, free: 7.23 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005316/0.2658, allocations: 256.1 kB / 339.8 MB, free: 6.93 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002709/0.2661, allocations: 167.2 kB / 339.9 MB, free: 6.762 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2661, allocations: 4 kB / 339.9 MB, free: 6.758 MB / 270.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007042/0.2668, allocations: 424.9 kB / 340.3 MB, free: 6.324 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001411/0.267, allocations: 29.7 kB / 340.4 MB, free: 6.289 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.267, allocations: 7.938 kB / 340.4 MB, free: 6.281 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001611/0.2672, allocations: 49.72 kB / 340.4 MB, free: 6.227 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003083/0.2675, allocations: 71.86 kB / 340.5 MB, free: 6.156 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002615/0.2701, allocations: 2.768 MB / 343.3 MB, free: 3.117 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004414/0.2706, allocations: 43.67 kB / 343.3 MB, free: 3.074 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-05/0.2706, allocations: 15.94 kB / 343.3 MB, free: 3.059 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002241/0.2708, allocations: 165.8 kB / 343.5 MB, free: 2.887 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.196e-05/0.2709, allocations: 47.44 kB / 343.5 MB, free: 2.84 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.271, allocations: 64.64 kB / 343.6 MB, free: 2.777 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.2711, allocations: 7.938 kB / 343.6 MB, free: 2.77 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.2711, allocations: 0 / 343.6 MB, free: 2.77 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000709/0.2718, allocations: 0.6503 MB / 344.2 MB, free: 2.016 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001335/0.2731, allocations: 0.8877 MB / 345.1 MB, free: 1.066 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.2731, allocations: 8 kB / 345.1 MB, free: 1.059 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003223/0.2735, allocations: 71.89 kB / 345.2 MB, free: 0.9883 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.2735, allocations: 0 / 345.2 MB, free: 0.9883 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.2735, allocations: 12 kB / 345.2 MB, free: 0.9766 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2735, allocations: 0 / 345.2 MB, free: 0.9766 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2735, allocations: 0 / 345.2 MB, free: 0.9766 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007865/0.2743, allocations: 0.5228 MB / 345.7 MB, free: 448 kB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/0.2745, allocations: 164.7 kB / 345.9 MB, free: 264 kB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.267e-05/0.2746, allocations: 12 kB / 345.9 MB, free: 252 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003048/0.2749, allocations: 15.98 kB / 345.9 MB, free: 236 kB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/0.275, allocations: 19.97 kB / 346 MB, free: 216 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.275, allocations: 8 kB / 346 MB, free: 208 kB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0003243/0.2753, allocations: 295.1 kB / 346.2 MB, free: 15.92 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.775e-06/0.2753, allocations: 64 / 346.2 MB, free: 15.92 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004591/0.2758, allocations: 139.8 kB / 346.4 MB, free: 15.78 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001656/0.276, allocations: 111.2 kB / 346.5 MB, free: 15.66 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009654/0.2769, allocations: 0.571 MB / 347.1 MB, free: 15.05 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.277, allocations: 7.938 kB / 347.1 MB, free: 15.04 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002386/0.2772, allocations: 128.4 kB / 347.2 MB, free: 14.92 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006068/0.2778, allocations: 105.9 kB / 347.3 MB, free: 14.82 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.2795, allocations: 1.044 MB / 348.3 MB, free: 13.75 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005546/0.2801, allocations: 0.8314 MB / 349.2 MB, free: 12.89 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002473/0.2803, allocations: 55.27 kB / 349.2 MB, free: 12.84 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.2804, allocations: 35.44 kB / 349.3 MB, free: 12.8 MB / 286.1 MB Notification: Performance of SimCode: time 1.192e-06/0.2804, allocations: 4 kB / 349.3 MB, free: 12.8 MB / 286.1 MB Notification: Performance of Templates: time 0.01202/0.2925, allocations: 6.895 MB / 356.2 MB, free: 5.895 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) Environment - environmentSimulation: