Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.0008979/0.0008983, allocations: 97.27 kB / 16.3 MB, free: 5.992 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.0009118/0.0009119, allocations: 181.7 kB / 17.2 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.673/1.673, 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.0005104/0.0005105, allocations: 12 kB / 280.1 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2521, allocations: 47.58 MB / 327.7 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.004676/0.2569, allocations: 4.419 MB / 332.1 MB, free: 14 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002393/0.2593, allocations: 1.415 MB / 333.5 MB, free: 12.82 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002911/0.2596, allocations: 10.25 kB / 333.5 MB, free: 12.82 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002771/0.2599, allocations: 118.3 kB / 333.7 MB, free: 12.72 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007039/0.2606, allocations: 414.4 kB / 334.1 MB, free: 12.37 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003813/0.261, allocations: 192.3 kB / 334.2 MB, free: 12.21 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001191/0.2622, allocations: 0.9237 MB / 335.2 MB, free: 11.63 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005151/0.2627, allocations: 327.1 kB / 335.5 MB, free: 11.44 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005765/0.2633, allocations: 434 kB / 335.9 MB, free: 11.22 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005786/0.2639, allocations: 496.8 kB / 336.4 MB, free: 10.8 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.264, allocations: 71.94 kB / 336.5 MB, free: 10.73 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001575/0.2642, allocations: 71.94 kB / 336.5 MB, free: 10.66 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001628/0.2644, allocations: 191.3 kB / 336.7 MB, free: 10.47 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001979/0.2646, allocations: 237.1 kB / 337 MB, free: 10.23 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000862/0.2654, allocations: 0.9698 MB / 337.9 MB, free: 9.258 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.2654, allocations: 4 kB / 337.9 MB, free: 9.254 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.2655, allocations: 0 / 337.9 MB, free: 9.254 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.081e-05/0.2655, allocations: 0 / 337.9 MB, free: 9.254 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.002463/0.268, allocations: 1.294 MB / 339.2 MB, free: 7.891 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.268, allocations: 8.031 kB / 339.2 MB, free: 7.883 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001913/0.2682, allocations: 130.6 kB / 339.4 MB, free: 7.754 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007805/0.269, allocations: 0.5477 MB / 339.9 MB, free: 7.164 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001995/0.2692, allocations: 159.1 kB / 340.1 MB, free: 6.988 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.603e-05/0.2693, allocations: 68 kB / 340.1 MB, free: 6.922 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/0.2708, allocations: 0.9716 MB / 341.1 MB, free: 5.836 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.2708, allocations: 0 / 341.1 MB, free: 5.836 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.982e-05/0.2709, allocations: 28 kB / 341.1 MB, free: 5.809 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/0.2709, allocations: 16 kB / 341.1 MB, free: 5.793 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001231/0.2722, allocations: 0.6481 MB / 341.8 MB, free: 5.145 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.003821/0.276, allocations: 2.585 MB / 344.4 MB, free: 2.395 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002551/0.2785, allocations: 0.9101 MB / 345.3 MB, free: 1.457 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.012e-05/0.2786, allocations: 12.64 kB / 345.3 MB, free: 1.445 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/0.2787, allocations: 59.08 kB / 345.4 MB, free: 1.379 MB / 270.1 MB Notification: Performance of pre-optimization done (n=72): time 1.934e-06/0.2787, allocations: 0 / 345.4 MB, free: 1.379 MB / 270.1 MB Notification: Performance of matching and sorting (n=72): time 0.002506/0.2812, allocations: 1.455 MB / 346.8 MB, free: 15.81 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003673/0.2816, allocations: 0.9489 MB / 347.8 MB, free: 14.63 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007828/0.2823, allocations: 0.7199 MB / 348.5 MB, free: 13.9 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.106e-05/0.2824, allocations: 45.7 kB / 348.5 MB, free: 13.85 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003139/0.2827, allocations: 408.6 kB / 348.9 MB, free: 13.45 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001896/0.2829, allocations: 256.3 kB / 349.2 MB, free: 13.19 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.603e-05/0.283, allocations: 12 kB / 349.2 MB, free: 13.18 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.2831, allocations: 341.9 kB / 349.5 MB, free: 12.84 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005285/0.2836, allocations: 265.8 kB / 349.8 MB, free: 12.58 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007942/0.2845, allocations: 0.5919 MB / 350.4 MB, free: 11.87 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006499/0.2851, allocations: 404 kB / 350.8 MB, free: 11.45 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.2851, allocations: 0 / 350.8 MB, free: 11.45 MB / 286.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001604/0.2867, allocations: 0.978 MB / 351.7 MB, free: 10.43 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.906e-05/0.2868, allocations: 85.09 kB / 351.8 MB, free: 10.33 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.2868, allocations: 8 kB / 351.8 MB, free: 10.32 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003184/0.2872, allocations: 126.1 kB / 352 MB, free: 10.19 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006573/0.2878, allocations: 163.8 kB / 352.1 MB, free: 10.03 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005509/0.2934, allocations: 6.976 MB / 359.1 MB, free: 2.383 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009141/0.2943, allocations: 107.2 kB / 359.2 MB, free: 2.277 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.866e-05/0.2944, allocations: 24 kB / 359.2 MB, free: 2.254 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 (79): * Single equations (assignments): 71 * 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%) 3} * Non-linear torn systems: 4 {3 1,1 1,3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003779/0.2948, allocations: 245.7 kB / 359.5 MB, free: 2.004 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/0.2949, allocations: 102.9 kB / 359.6 MB, free: 1.902 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001687/0.2951, allocations: 104.9 kB / 359.7 MB, free: 1.797 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.2951, allocations: 8 kB / 359.7 MB, free: 1.789 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.2951, allocations: 0 / 359.7 MB, free: 1.789 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001306/0.2964, allocations: 0.9895 MB / 360.7 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002488/0.2989, allocations: 1.73 MB / 362.4 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.2989, allocations: 0 / 362.4 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007126/0.2996, allocations: 167.8 kB / 362.6 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.459e-05/0.2998, allocations: 28.84 kB / 362.6 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.877e-05/0.2998, allocations: 15.98 kB / 362.6 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009728/0.3008, allocations: 1.444 MB / 364 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3008, allocations: 0 / 364 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001814/0.3026, allocations: 1.108 MB / 365.2 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003165/0.3029, allocations: 243.9 kB / 365.4 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.3031, allocations: 28 kB / 365.4 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006213/0.3037, allocations: 59.8 kB / 365.5 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.562e-05/0.3038, allocations: 44.59 kB / 365.5 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/0.3038, allocations: 19.94 kB / 365.5 MB, free: 11.57 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005387/0.3044, allocations: 0.4951 MB / 366 MB, free: 11.08 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3044, allocations: 4 kB / 366 MB, free: 11.08 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007586/0.3051, allocations: 287.7 kB / 366.3 MB, free: 10.8 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 (69): * Single equations (assignments): 68 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001539/0.3053, allocations: 115.2 kB / 366.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001885/0.3072, allocations: 1.421 MB / 367.9 MB, free: 9.156 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.3072, allocations: 0 / 367.9 MB, free: 9.156 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006655/0.3079, allocations: 442.5 kB / 368.3 MB, free: 8.707 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009404/0.3088, allocations: 250.9 kB / 368.5 MB, free: 8.461 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002736/0.3116, allocations: 2.004 MB / 370.5 MB, free: 6.434 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004841/0.3121, allocations: 0.9986 MB / 371.5 MB, free: 5.406 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004946/0.3126, allocations: 106.4 kB / 371.6 MB, free: 5.297 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001728/0.3128, allocations: 75.36 kB / 371.7 MB, free: 5.223 MB / 302.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3128, allocations: 0 / 371.7 MB, free: 5.223 MB / 302.1 MB Notification: Performance of Templates: time 0.02301/0.3358, allocations: 15.01 MB / 386.7 MB, free: 6.176 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) Environment - environmentSimulation: