Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.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.009389/0.009389, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001887/0.001887, allocations: 195.2 kB / 16.68 MB, free: 5.52 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.482/1.482, allocations: 205.1 MB / 222.5 MB, free: 12.25 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.001292/0.001292, allocations: 55.92 kB / 326.5 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1071, allocations: 46.61 MB / 373.2 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.2064/0.3136, allocations: 5.597 MB / 378.8 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002957/0.3166, allocations: 1.463 MB / 380.2 MB, free: 9.582 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005195/0.3171, allocations: 16.33 kB / 380.2 MB, free: 9.578 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005251/0.3177, allocations: 195.5 kB / 380.4 MB, free: 9.488 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008175/0.3185, allocations: 401.2 kB / 380.8 MB, free: 9.309 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005797/0.3191, allocations: 257.9 kB / 381.1 MB, free: 9.305 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001912/0.3211, allocations: 1.361 MB / 382.4 MB, free: 8.91 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006266/0.3217, allocations: 416 kB / 382.8 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008183/0.3225, allocations: 0.5155 MB / 383.3 MB, free: 8.496 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007495/0.3233, allocations: 0.5802 MB / 383.9 MB, free: 8.211 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001788/0.3235, allocations: 117.7 kB / 384 MB, free: 8.211 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002299/0.3237, allocations: 124.9 kB / 384.2 MB, free: 8.207 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002121/0.3239, allocations: 258.6 kB / 384.4 MB, free: 8.039 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005524/0.3245, allocations: 0.6124 MB / 385 MB, free: 7.684 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001457/0.3259, allocations: 1.399 MB / 386.4 MB, free: 7.168 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.326, allocations: 0 / 386.4 MB, free: 7.168 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.326, allocations: 1.25 kB / 386.4 MB, free: 7.168 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.931e-05/0.326, allocations: 0 / 386.4 MB, free: 7.168 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.002767/0.3288, allocations: 1.486 MB / 387.9 MB, free: 6.156 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.3288, allocations: 9.375 kB / 387.9 MB, free: 6.156 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000225/0.3291, allocations: 124.8 kB / 388 MB, free: 6.102 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009168/0.33, allocations: 0.6333 MB / 388.7 MB, free: 5.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001915/0.3302, allocations: 155.5 kB / 388.8 MB, free: 5.535 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.3303, allocations: 66.97 kB / 388.9 MB, free: 5.516 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/0.3318, allocations: 0.9797 MB / 389.9 MB, free: 4.883 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.3318, allocations: 3.938 kB / 389.9 MB, free: 4.879 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.93e-05/0.3319, allocations: 39.58 kB / 389.9 MB, free: 4.852 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/0.3319, allocations: 15.84 kB / 389.9 MB, free: 4.852 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/0.3333, allocations: 0.617 MB / 390.6 MB, free: 4.652 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.004114/0.3374, allocations: 2.629 MB / 393.2 MB, free: 3.043 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002604/0.34, allocations: 0.8667 MB / 394 MB, free: 2.668 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007085/0.3407, allocations: 350.6 kB / 394.4 MB, free: 2.543 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.476e-05/0.3408, allocations: 19.09 kB / 394.4 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.3408, allocations: 47.25 kB / 394.5 MB, free: 2.492 MB / 318.1 MB Notification: Performance of pre-optimization done (n=72): time 2.575e-06/0.3408, allocations: 4 kB / 394.5 MB, free: 2.488 MB / 318.1 MB Notification: Performance of matching and sorting (n=72): time 0.002496/0.3433, allocations: 1.4 MB / 395.9 MB, free: 1.605 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001561/0.3435, allocations: 0.9484 MB / 396.8 MB, free: 456 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008899/0.3444, allocations: 0.7879 MB / 397.6 MB, free: 112 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.717e-05/0.3445, allocations: 53.55 kB / 397.6 MB, free: 60 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003356/0.3448, allocations: 406.4 kB / 398 MB, free: 15.74 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002212/0.3451, allocations: 249 kB / 398.3 MB, free: 15.55 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002757/0.3453, allocations: 159.7 kB / 398.4 MB, free: 15.47 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.3455, allocations: 335.1 kB / 398.8 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005772/0.346, allocations: 253.2 kB / 399 MB, free: 15.06 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008958/0.347, allocations: 0.5876 MB / 399.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001311/0.3483, allocations: 0.6651 MB / 400.3 MB, free: 14.2 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.3483, allocations: 1.281 kB / 400.3 MB, free: 14.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00206/0.3504, allocations: 0.9501 MB / 401.2 MB, free: 13.72 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.785e-05/0.3504, allocations: 85.55 kB / 401.3 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.3505, allocations: 1.844 kB / 401.3 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004226/0.3509, allocations: 124.4 kB / 401.4 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007209/0.3516, allocations: 158 kB / 401.6 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006339/0.358, allocations: 7.33 MB / 408.9 MB, free: 6.203 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/0.3592, allocations: 108.3 kB / 409 MB, free: 6.133 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.429e-05/0.3593, allocations: 22.84 kB / 409 MB, free: 6.129 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.00047/0.3598, allocations: 240.8 kB / 409.3 MB, free: 5.938 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001892/0.36, allocations: 99.62 kB / 409.4 MB, free: 5.891 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001859/0.3602, allocations: 99.28 kB / 409.5 MB, free: 5.809 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.3602, allocations: 7.5 kB / 409.5 MB, free: 5.809 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.504e-05/0.3602, allocations: 5.906 kB / 409.5 MB, free: 5.805 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001557/0.3618, allocations: 0.9725 MB / 410.5 MB, free: 5.012 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003212/0.365, allocations: 1.752 MB / 412.2 MB, free: 3.766 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.365, allocations: 0 / 412.2 MB, free: 3.766 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007852/0.3658, allocations: 152.5 kB / 412.4 MB, free: 3.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001061/0.3659, allocations: 33.73 kB / 412.4 MB, free: 3.707 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.674e-05/0.366, allocations: 12.22 kB / 412.4 MB, free: 3.699 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001076/0.3671, allocations: 1.406 MB / 413.8 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.3671, allocations: 0 / 413.8 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002224/0.3693, allocations: 1.082 MB / 414.9 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004862/0.3698, allocations: 252.6 kB / 415.1 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001526/0.37, allocations: 20.16 kB / 415.2 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007091/0.3707, allocations: 44.23 kB / 415.2 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.3708, allocations: 41 kB / 415.2 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-05/0.3708, allocations: 17.72 kB / 415.3 MB, free: 1.336 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008457/0.3717, allocations: 0.5535 MB / 415.8 MB, free: 1.023 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3717, allocations: 0 / 415.8 MB, free: 1.023 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001356/0.3731, allocations: 295.4 kB / 416.1 MB, free: 0.9766 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.0002136/0.3733, allocations: 123 kB / 416.2 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00285/0.3761, allocations: 1.393 MB / 417.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/0.3762, allocations: 2.656 kB / 417.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007427/0.3769, allocations: 421.9 kB / 418 MB, free: 15.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/0.3783, allocations: 283.8 kB / 418.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00333/0.3816, allocations: 1.677 MB / 420 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006017/0.3822, allocations: 0.9777 MB / 421 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005881/0.3828, allocations: 131.5 kB / 421.1 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002311/0.3831, allocations: 79.42 kB / 421.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3831, allocations: 7.938 kB / 421.2 MB, free: 13.24 MB / 350.1 MB Notification: Performance of Templates: time 0.03282/0.4159, allocations: 17.81 MB / 439 MB, free: 11.41 MB / 366.1 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1)