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.001213/0.001213, allocations: 114.8 kB / 17.06 MB, free: 5.812 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.00117/0.00117, allocations: 200 kB / 18 MB, free: 4.949 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.486/1.486, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.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.001554/0.001554, allocations: 47.92 kB / 327.9 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1048, allocations: 46.63 MB / 374.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.2108/0.3156, allocations: 5.594 MB / 380.1 MB, free: 10.26 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002445/0.3181, allocations: 1.464 MB / 381.5 MB, free: 10.15 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000355/0.3185, allocations: 15.25 kB / 381.6 MB, free: 10.14 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004361/0.319, allocations: 203.5 kB / 381.8 MB, free: 10.05 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008627/0.3198, allocations: 375.3 kB / 382.1 MB, free: 9.875 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007144/0.3206, allocations: 263.5 kB / 382.4 MB, free: 9.863 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002199/0.3228, allocations: 1.37 MB / 383.7 MB, free: 9.176 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007128/0.3235, allocations: 413.3 kB / 384.1 MB, free: 9.004 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008254/0.3243, allocations: 0.5085 MB / 384.7 MB, free: 8.773 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006781/0.325, allocations: 0.5792 MB / 385.2 MB, free: 8.488 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001684/0.3252, allocations: 118.3 kB / 385.4 MB, free: 8.488 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002084/0.3254, allocations: 120.7 kB / 385.5 MB, free: 8.488 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001814/0.3256, allocations: 262.2 kB / 385.7 MB, free: 8.32 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006465/0.3263, allocations: 0.6107 MB / 386.3 MB, free: 7.965 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002245/0.3285, allocations: 1.401 MB / 387.7 MB, free: 7.449 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3285, allocations: 0 / 387.7 MB, free: 7.449 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3285, allocations: 1.344 kB / 387.7 MB, free: 7.449 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.614e-05/0.3286, allocations: 0.7031 kB / 387.7 MB, free: 7.449 MB / 318.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.002488/0.3311, allocations: 1.483 MB / 389.2 MB, free: 6.438 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.3311, allocations: 9.75 kB / 389.2 MB, free: 6.438 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002078/0.3313, allocations: 124.1 kB / 389.4 MB, free: 6.383 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009906/0.3323, allocations: 0.6387 MB / 390 MB, free: 5.938 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001732/0.3325, allocations: 150.7 kB / 390.1 MB, free: 5.816 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.614e-05/0.3326, allocations: 66.97 kB / 390.2 MB, free: 5.797 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001383/0.334, allocations: 0.9843 MB / 391.2 MB, free: 5.16 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.334, allocations: 0 / 391.2 MB, free: 5.16 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.058e-05/0.3341, allocations: 34.58 kB / 391.2 MB, free: 5.137 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.666e-05/0.3341, allocations: 18.12 kB / 391.2 MB, free: 5.137 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/0.3354, allocations: 0.6191 MB / 391.9 MB, free: 4.934 MB / 318.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.003961/0.3394, allocations: 2.622 MB / 394.5 MB, free: 3.332 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002468/0.3419, allocations: 0.87 MB / 395.4 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007395/0.3427, allocations: 354.1 kB / 395.7 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.441e-05/0.3427, allocations: 17.95 kB / 395.7 MB, free: 2.82 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/0.3428, allocations: 48.27 kB / 395.8 MB, free: 2.773 MB / 318.1 MB Notification: Performance of pre-optimization done (n=72): time 2.315e-06/0.3428, allocations: 0 / 395.8 MB, free: 2.773 MB / 318.1 MB Notification: Performance of matching and sorting (n=72): time 0.002624/0.3454, allocations: 1.408 MB / 397.2 MB, free: 1.883 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001948/0.3456, allocations: 0.9498 MB / 398.1 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/0.3467, allocations: 0.7853 MB / 398.9 MB, free: 396 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.808e-05/0.3468, allocations: 45.95 kB / 398.9 MB, free: 352 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002676/0.3471, allocations: 407.7 kB / 399.3 MB, free: 24 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002797/0.3474, allocations: 253.3 kB / 399.6 MB, free: 15.83 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000305/0.3477, allocations: 160.5 kB / 399.8 MB, free: 15.75 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.3478, allocations: 331.7 kB / 400.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005767/0.3484, allocations: 258.8 kB / 400.3 MB, free: 15.34 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000853/0.3493, allocations: 0.5804 MB / 400.9 MB, free: 14.87 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/0.3505, allocations: 0.6694 MB / 401.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.3505, allocations: 1.859 kB / 401.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001942/0.3525, allocations: 0.9467 MB / 402.5 MB, free: 14 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.606e-05/0.3526, allocations: 85.02 kB / 402.6 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.3526, allocations: 5.781 kB / 402.6 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003733/0.3529, allocations: 124.1 kB / 402.7 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007301/0.3537, allocations: 156 kB / 402.9 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005988/0.3597, allocations: 7.328 MB / 410.2 MB, free: 6.434 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/0.3612, allocations: 108.6 kB / 410.3 MB, free: 6.363 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.048e-05/0.3612, allocations: 26.19 kB / 410.3 MB, free: 6.355 MB / 334.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.000514/0.3618, allocations: 240.2 kB / 410.6 MB, free: 6.164 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000221/0.362, allocations: 105 kB / 410.7 MB, free: 6.113 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001717/0.3622, allocations: 98.84 kB / 410.8 MB, free: 6.031 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.3622, allocations: 7.438 kB / 410.8 MB, free: 6.031 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.496e-05/0.3622, allocations: 1.531 kB / 410.8 MB, free: 6.031 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001418/0.3636, allocations: 0.9727 MB / 411.8 MB, free: 5.238 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003048/0.3667, allocations: 1.751 MB / 413.5 MB, free: 3.992 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.3667, allocations: 1.406 kB / 413.5 MB, free: 3.992 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007674/0.3675, allocations: 155.6 kB / 413.7 MB, free: 3.953 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001149/0.3676, allocations: 25.97 kB / 413.7 MB, free: 3.938 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.55e-05/0.3677, allocations: 11.16 kB / 413.7 MB, free: 3.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001103/0.3688, allocations: 1.402 MB / 415.1 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3688, allocations: 0 / 415.1 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002327/0.3711, allocations: 1.083 MB / 416.2 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006601/0.3718, allocations: 259.7 kB / 416.4 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002682/0.3721, allocations: 19.69 kB / 416.5 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008799/0.373, allocations: 43.59 kB / 416.5 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.3731, allocations: 41.69 kB / 416.5 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.132e-05/0.3732, allocations: 16.12 kB / 416.6 MB, free: 1.562 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00101/0.3742, allocations: 0.5502 MB / 417.1 MB, free: 1.254 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.3742, allocations: 2.281 kB / 417.1 MB, free: 1.254 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001307/0.3755, allocations: 294.1 kB / 417.4 MB, free: 1.207 MB / 334.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.0002601/0.3758, allocations: 122.5 kB / 417.5 MB, free: 1.102 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002546/0.3783, allocations: 1.4 MB / 418.9 MB, free: 16 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/0.3784, allocations: 6.531 kB / 418.9 MB, free: 12 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008865/0.3793, allocations: 417.7 kB / 419.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/0.3805, allocations: 285.3 kB / 419.6 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003721/0.3842, allocations: 1.67 MB / 421.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006829/0.3849, allocations: 0.9811 MB / 422.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006236/0.3856, allocations: 127.5 kB / 422.4 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002116/0.3858, allocations: 83.36 kB / 422.5 MB, free: 13.43 MB / 350.1 MB Notification: Performance of SimCode: time 1.162e-06/0.3858, allocations: 0 / 422.5 MB, free: 13.43 MB / 350.1 MB Notification: Performance of Templates: time 0.03156/0.4174, allocations: 18.29 MB / 440.8 MB, free: 11.12 MB / 366.1 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (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)