Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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.TestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001461/0.001461, allocations: 192.2 kB / 16.25 MB, free: 6.629 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.543/1.543, allocations: 205.1 MB / 222.1 MB, free: 4.668 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.001326/0.001326, allocations: 51.94 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2709, allocations: 46.62 MB / 324.8 MB, free: 1.953 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004835/0.2758, allocations: 2.894 MB / 327.7 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002005/0.2778, allocations: 1.169 MB / 328.9 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001974/0.278, allocations: 7.562 kB / 328.9 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005399/0.2786, allocations: 166.9 kB / 329.1 MB, free: 14.63 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004456/0.2791, allocations: 186.4 kB / 329.3 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000361/0.2794, allocations: 126.8 kB / 329.4 MB, free: 14.41 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000578/0.28, allocations: 451.3 kB / 329.8 MB, free: 14.15 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002208/0.2802, allocations: 98.45 kB / 329.9 MB, free: 14.11 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002215/0.2805, allocations: 180 kB / 330.1 MB, free: 14.01 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002564/0.2807, allocations: 214.4 kB / 330.3 MB, free: 13.88 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.005e-05/0.2808, allocations: 29.25 kB / 330.3 MB, free: 13.88 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.2809, allocations: 64.98 kB / 330.4 MB, free: 13.87 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.2811, allocations: 90.3 kB / 330.5 MB, free: 13.8 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001925/0.2813, allocations: 199 kB / 330.7 MB, free: 13.66 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005148/0.2818, allocations: 477.8 kB / 331.1 MB, free: 13.33 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.2818, allocations: 0 / 331.1 MB, free: 13.33 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2818, allocations: 1.281 kB / 331.1 MB, free: 13.33 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.2818, allocations: 0 / 331.1 MB, free: 13.33 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001095/0.2829, allocations: 0.6984 MB / 331.8 MB, free: 12.71 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.283, allocations: 9.125 kB / 331.8 MB, free: 12.71 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/0.2831, allocations: 56.88 kB / 331.9 MB, free: 12.68 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004347/0.2835, allocations: 336.2 kB / 332.2 MB, free: 12.36 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.2836, allocations: 11.97 kB / 332.2 MB, free: 12.36 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.475e-05/0.2836, allocations: 29.48 kB / 332.3 MB, free: 12.34 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005162/0.2842, allocations: 293.6 kB / 332.6 MB, free: 12.1 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.2842, allocations: 1.031 kB / 332.6 MB, free: 12.1 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.105e-05/0.2842, allocations: 15.28 kB / 332.6 MB, free: 12.09 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/0.2842, allocations: 8.281 kB / 332.6 MB, free: 12.09 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002975/0.2845, allocations: 143.9 kB / 332.7 MB, free: 12.02 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.001373/0.2859, allocations: 0.8278 MB / 333.6 MB, free: 11.18 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000418/0.2863, allocations: 183.1 kB / 333.7 MB, free: 11 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/0.2865, allocations: 84.81 kB / 333.8 MB, free: 10.91 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.325e-05/0.2866, allocations: 4 kB / 333.8 MB, free: 10.91 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004009/0.287, allocations: 131.3 kB / 333.9 MB, free: 10.77 MB / 270.1 MB Notification: Performance of pre-optimization done (n=23): time 1.873e-06/0.287, allocations: 7.938 kB / 334 MB, free: 10.76 MB / 270.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008629/0.2878, allocations: 406.9 kB / 334.4 MB, free: 10.33 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001663/0.288, allocations: 320.3 kB / 334.7 MB, free: 9.945 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004527/0.2885, allocations: 433.6 kB / 335.1 MB, free: 9.516 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.2885, allocations: 29.7 kB / 335.1 MB, free: 9.48 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.2887, allocations: 204.2 kB / 335.3 MB, free: 9.277 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.947e-05/0.2888, allocations: 82.83 kB / 335.4 MB, free: 9.195 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.321e-05/0.2889, allocations: 57.7 kB / 335.5 MB, free: 9.133 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.289, allocations: 346.8 kB / 335.8 MB, free: 8.785 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.2892, allocations: 67.97 kB / 335.9 MB, free: 8.719 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002205/0.2894, allocations: 171.9 kB / 336 MB, free: 8.508 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002713/0.2897, allocations: 179.2 kB / 336.2 MB, free: 8.32 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.2897, allocations: 7.938 kB / 336.2 MB, free: 8.312 MB / 270.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004168/0.2901, allocations: 265.9 kB / 336.5 MB, free: 8.043 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.2901, allocations: 4 kB / 336.5 MB, free: 8.039 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-06/0.2902, allocations: 4 kB / 336.5 MB, free: 8.035 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001457/0.2903, allocations: 36.94 kB / 336.5 MB, free: 7.996 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.2905, allocations: 55.91 kB / 336.6 MB, free: 7.941 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/0.292, allocations: 1.563 MB / 338.1 MB, free: 6.23 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002405/0.2923, allocations: 27.78 kB / 338.2 MB, free: 6.203 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.2923, allocations: 12 kB / 338.2 MB, free: 6.191 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: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001829/0.2925, allocations: 165.8 kB / 338.3 MB, free: 6.02 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.83e-05/0.2925, allocations: 39.53 kB / 338.4 MB, free: 5.98 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.587e-05/0.2926, allocations: 39.59 kB / 338.4 MB, free: 5.938 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.2926, allocations: 7.938 kB / 338.4 MB, free: 5.93 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2927, allocations: 4.234 kB / 338.4 MB, free: 5.926 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005106/0.2932, allocations: 0.5874 MB / 339 MB, free: 5.234 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008839/0.2941, allocations: 0.7077 MB / 339.7 MB, free: 4.465 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.2941, allocations: 0 / 339.7 MB, free: 4.465 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001986/0.2943, allocations: 47.92 kB / 339.8 MB, free: 4.418 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.2943, allocations: 0 / 339.8 MB, free: 4.418 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.2943, allocations: 7.984 kB / 339.8 MB, free: 4.41 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2943, allocations: 0 / 339.8 MB, free: 4.41 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.2943, allocations: 96 / 339.8 MB, free: 4.41 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000513/0.2948, allocations: 402.8 kB / 340.2 MB, free: 4 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/0.295, allocations: 148.5 kB / 340.3 MB, free: 3.836 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.821e-05/0.295, allocations: 4 kB / 340.3 MB, free: 3.832 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.2953, allocations: 12 kB / 340.3 MB, free: 3.82 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.652e-05/0.2953, allocations: 15.97 kB / 340.3 MB, free: 3.805 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-05/0.2954, allocations: 8 kB / 340.3 MB, free: 3.797 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0003141/0.2957, allocations: 315.1 kB / 340.7 MB, free: 3.496 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2957, allocations: 0 / 340.7 MB, free: 3.496 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003782/0.2961, allocations: 99.91 kB / 340.8 MB, free: 3.398 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (openTank.m,openTank.H) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009526/0.297, allocations: 414.1 kB / 341.2 MB, free: 2.992 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006367/0.2977, allocations: 314.5 kB / 341.5 MB, free: 2.672 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2977, allocations: 0 / 341.5 MB, free: 2.672 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001536/0.2978, allocations: 84.38 kB / 341.5 MB, free: 2.59 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005788/0.2984, allocations: 106 kB / 341.6 MB, free: 2.484 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.2999, allocations: 0.9097 MB / 342.6 MB, free: 1.547 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.3003, allocations: 0.7997 MB / 343.4 MB, free: 0.7227 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001766/0.3005, allocations: 42.95 kB / 343.4 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.071e-05/0.3006, allocations: 31.44 kB / 343.4 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3006, allocations: 8 kB / 343.4 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of Templates: time 0.01066/0.3112, allocations: 6.056 MB / 349.5 MB, free: 10.57 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile (rm -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1)