Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.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.TwoTanks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001116/0.001117, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.577/1.577, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.000533/0.0005333, allocations: 8 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2901, allocations: 47.58 MB / 326.4 MB, free: 1.625 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.00263/0.2928, allocations: 2.184 MB / 328.6 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00172/0.2945, allocations: 0.7662 MB / 329.4 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00029/0.2948, allocations: 2.719 kB / 329.4 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002136/0.2951, allocations: 58.23 kB / 329.4 MB, free: 15.25 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004006/0.2955, allocations: 150.4 kB / 329.6 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000224/0.2957, allocations: 70.36 kB / 329.7 MB, free: 15.06 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004579/0.2962, allocations: 308.7 kB / 330 MB, free: 14.87 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002095/0.2964, allocations: 83.92 kB / 330 MB, free: 14.83 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001847/0.2966, allocations: 130.9 kB / 330.2 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002209/0.2968, allocations: 158.1 kB / 330.3 MB, free: 14.66 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.83e-05/0.2969, allocations: 19.78 kB / 330.3 MB, free: 14.66 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.209e-05/0.2969, allocations: 19.88 kB / 330.4 MB, free: 14.66 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.466e-05/0.297, allocations: 57.14 kB / 330.4 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.328e-05/0.2971, allocations: 91.64 kB / 330.5 MB, free: 14.56 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003079/0.2974, allocations: 297 kB / 330.8 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.2974, allocations: 0 / 330.8 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2975, allocations: 4 kB / 330.8 MB, free: 14.34 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.2975, allocations: 0 / 330.8 MB, free: 14.34 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001139/0.2986, allocations: 0.6208 MB / 331.4 MB, free: 13.78 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.069e-05/0.2987, allocations: 9.875 kB / 331.4 MB, free: 13.78 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.2988, allocations: 41.73 kB / 331.5 MB, free: 13.76 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004346/0.2992, allocations: 270.9 kB / 331.7 MB, free: 13.48 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/0.2994, allocations: 53.19 kB / 331.8 MB, free: 13.44 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.784e-05/0.2994, allocations: 21.88 kB / 331.8 MB, free: 13.43 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006144/0.3001, allocations: 319.3 kB / 332.1 MB, free: 13.18 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.3001, allocations: 0 / 332.1 MB, free: 13.18 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.687e-05/0.3001, allocations: 11.97 kB / 332.1 MB, free: 13.18 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.3002, allocations: 12.77 kB / 332.2 MB, free: 13.17 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000489/0.3007, allocations: 207.6 kB / 332.4 MB, free: 13.08 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001554/0.3022, allocations: 0.7876 MB / 333.1 MB, free: 12.44 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007969/0.303, allocations: 324 kB / 333.5 MB, free: 12.28 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.115e-05/0.3031, allocations: 7.828 kB / 333.5 MB, free: 12.27 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.3032, allocations: 37.97 kB / 333.5 MB, free: 12.23 MB / 270.1 MB Notification: Performance of pre-optimization done (n=29): time 1.683e-06/0.3032, allocations: 0 / 333.5 MB, free: 12.23 MB / 270.1 MB Notification: Performance of matching and sorting (n=29): time 0.001068/0.3042, allocations: 486 kB / 334 MB, free: 11.88 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001477/0.3044, allocations: 320.5 kB / 334.3 MB, free: 11.49 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002691/0.3047, allocations: 262.9 kB / 334.5 MB, free: 11.22 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.3047, allocations: 33.7 kB / 334.6 MB, free: 11.18 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.3048, allocations: 168.8 kB / 334.7 MB, free: 11.01 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.865e-05/0.3049, allocations: 106.4 kB / 334.9 MB, free: 10.9 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.714e-05/0.305, allocations: 8 kB / 334.9 MB, free: 10.89 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.3051, allocations: 342.8 kB / 335.2 MB, free: 10.55 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/0.3053, allocations: 95.95 kB / 335.3 MB, free: 10.46 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000309/0.3056, allocations: 216.4 kB / 335.5 MB, free: 10.2 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002632/0.3059, allocations: 143 kB / 335.6 MB, free: 10.06 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3059, allocations: 0 / 335.6 MB, free: 10.06 MB / 270.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006442/0.3066, allocations: 385 kB / 336 MB, free: 9.668 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.676e-05/0.3066, allocations: 29.7 kB / 336 MB, free: 9.633 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.3067, allocations: 0 / 336 MB, free: 9.633 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001841/0.3068, allocations: 40.94 kB / 336.1 MB, free: 9.59 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009846/0.3078, allocations: 207.8 kB / 336.3 MB, free: 9.387 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003652/0.3115, allocations: 3.094 MB / 339.4 MB, free: 6.035 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003645/0.3119, allocations: 44.05 kB / 339.4 MB, free: 5.992 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.473e-05/0.3119, allocations: 19.94 kB / 339.4 MB, free: 5.973 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002062/0.3121, allocations: 145.8 kB / 339.6 MB, free: 5.82 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.356e-05/0.3122, allocations: 35.61 kB / 339.6 MB, free: 5.785 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.728e-05/0.3123, allocations: 47.09 kB / 339.7 MB, free: 5.738 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.3123, allocations: 8 kB / 339.7 MB, free: 5.73 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.3123, allocations: 0 / 339.7 MB, free: 5.73 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006662/0.313, allocations: 0.6621 MB / 340.3 MB, free: 4.961 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004306/0.3134, allocations: 377.2 kB / 340.7 MB, free: 4.543 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3134, allocations: 0 / 340.7 MB, free: 4.543 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001289/0.3147, allocations: 251.7 kB / 340.9 MB, free: 4.297 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.856e-05/0.3148, allocations: 28.84 kB / 341 MB, free: 4.266 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/0.3148, allocations: 8 kB / 341 MB, free: 4.258 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003229/0.3181, allocations: 2.93 MB / 343.9 MB, free: 1.059 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3181, allocations: 4.031 kB / 343.9 MB, free: 1.055 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008182/0.3189, allocations: 0.5155 MB / 344.4 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001613/0.3191, allocations: 132.7 kB / 344.6 MB, free: 380 kB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.6e-05/0.3191, allocations: 8 kB / 344.6 MB, free: 372 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002587/0.3194, allocations: 19.98 kB / 344.6 MB, free: 352 kB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.905e-05/0.3195, allocations: 23.91 kB / 344.6 MB, free: 328 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.611e-05/0.3195, allocations: 19.98 kB / 344.6 MB, free: 308 kB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001761/0.3197, allocations: 185.9 kB / 344.8 MB, free: 124 kB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3197, allocations: 0 / 344.8 MB, free: 124 kB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004572/0.3202, allocations: 103.8 kB / 344.9 MB, free: 20 kB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (openTank1.m,openTank1.H,openTank2.m,openTank2.H) * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001616/0.3204, allocations: 111.2 kB / 345 MB, free: 15.9 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001534/0.3219, allocations: 0.58 MB / 345.6 MB, free: 15.29 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3219, allocations: 0 / 345.6 MB, free: 15.29 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001382/0.3233, allocations: 446.9 kB / 346 MB, free: 14.84 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000448/0.3238, allocations: 84.31 kB / 346.1 MB, free: 14.76 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.3255, allocations: 1.025 MB / 347.1 MB, free: 13.71 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.3259, allocations: 0.7756 MB / 347.9 MB, free: 12.91 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001468/0.326, allocations: 34.27 kB / 348 MB, free: 12.87 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.259e-05/0.3261, allocations: 23.44 kB / 348 MB, free: 12.85 MB / 286.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3261, allocations: 0 / 348 MB, free: 12.85 MB / 286.1 MB Notification: Performance of Templates: time 0.009786/0.3359, allocations: 5.221 MB / 353.2 MB, free: 7.625 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe >> ../files/Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.sim & ./Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe 2>&1) Environment - environmentSimulation: