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.001465/0.001465, allocations: 99.55 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.001784/0.001784, allocations: 177.3 kB / 15.94 MB, free: 228 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.61/1.61, allocations: 205.4 MB / 222.1 MB, free: 5.531 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.0006496/0.0006498, allocations: 11.98 kB / 278.9 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2949, allocations: 47.58 MB / 326.4 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.003726/0.2987, allocations: 2.292 MB / 328.7 MB, free: 15.63 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002773/0.3015, allocations: 1.05 MB / 329.8 MB, free: 14.8 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005581/0.3021, allocations: 6.344 kB / 329.8 MB, free: 14.8 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006772/0.3028, allocations: 147.4 kB / 329.9 MB, free: 14.71 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008593/0.3037, allocations: 204.9 kB / 330.1 MB, free: 14.56 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005548/0.3043, allocations: 122.3 kB / 330.2 MB, free: 14.48 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008774/0.3051, allocations: 311.4 kB / 330.5 MB, free: 14.29 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002891/0.3055, allocations: 94.19 kB / 330.6 MB, free: 14.24 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004587/0.3059, allocations: 156.6 kB / 330.8 MB, free: 14.16 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004884/0.3064, allocations: 170.6 kB / 331 MB, free: 14.06 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.14e-05/0.3065, allocations: 17.19 kB / 331 MB, free: 14.06 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002731/0.3068, allocations: 40.92 kB / 331 MB, free: 14.05 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.3069, allocations: 73.89 kB / 331.1 MB, free: 14 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001663/0.3071, allocations: 92.89 kB / 331.2 MB, free: 13.94 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005589/0.3077, allocations: 337.7 kB / 331.5 MB, free: 13.7 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3077, allocations: 0 / 331.5 MB, free: 13.7 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3077, allocations: 4 kB / 331.5 MB, free: 13.7 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.136e-05/0.3077, allocations: 1.25 kB / 331.5 MB, free: 13.7 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.001349/0.3091, allocations: 0.6152 MB / 332.1 MB, free: 13.14 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/0.3091, allocations: 9.5 kB / 332.1 MB, free: 13.14 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002018/0.3094, allocations: 47.7 kB / 332.2 MB, free: 13.11 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000674/0.31, allocations: 312.2 kB / 332.5 MB, free: 12.81 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.469e-05/0.3101, allocations: 24.52 kB / 332.5 MB, free: 12.8 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.227e-05/0.3101, allocations: 15.78 kB / 332.5 MB, free: 12.79 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005766/0.3107, allocations: 291.2 kB / 332.8 MB, free: 12.55 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.3108, allocations: 0 / 332.8 MB, free: 12.55 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.238e-05/0.3108, allocations: 7.406 kB / 332.8 MB, free: 12.55 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.3108, allocations: 4.844 kB / 332.8 MB, free: 12.55 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003187/0.3111, allocations: 150.1 kB / 333 MB, free: 12.48 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.001554/0.3127, allocations: 0.8131 MB / 333.8 MB, free: 11.78 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005989/0.3133, allocations: 221 kB / 334 MB, free: 11.66 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.429e-05/0.3134, allocations: 4.219 kB / 334 MB, free: 11.66 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003531/0.3137, allocations: 135.8 kB / 334.1 MB, free: 11.55 MB / 270.1 MB Notification: Performance of pre-optimization done (n=23): time 1.984e-06/0.3137, allocations: 0 / 334.1 MB, free: 11.55 MB / 270.1 MB Notification: Performance of matching and sorting (n=23): time 0.0009416/0.3147, allocations: 399.5 kB / 334.5 MB, free: 11.13 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002122/0.3149, allocations: 320.3 kB / 334.8 MB, free: 10.75 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004287/0.3153, allocations: 409.7 kB / 335.2 MB, free: 10.34 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.658e-05/0.3154, allocations: 33.7 kB / 335.3 MB, free: 10.3 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.3156, allocations: 204.2 kB / 335.5 MB, free: 10.1 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.968e-05/0.3156, allocations: 74.91 kB / 335.5 MB, free: 10.02 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.097e-05/0.3157, allocations: 4 kB / 335.6 MB, free: 10.02 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3158, allocations: 346.8 kB / 335.9 MB, free: 9.672 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.316, allocations: 71.97 kB / 336 MB, free: 9.602 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.3162, allocations: 171.9 kB / 336.1 MB, free: 9.391 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.3163, allocations: 75.94 kB / 336.2 MB, free: 9.316 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3163, allocations: 0 / 336.2 MB, free: 9.316 MB / 270.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004414/0.3168, allocations: 269.8 kB / 336.5 MB, free: 9.043 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.3168, allocations: 8 kB / 336.5 MB, free: 9.035 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.3168, allocations: 4.094 kB / 336.5 MB, free: 9.031 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001365/0.317, allocations: 32.84 kB / 336.5 MB, free: 8.996 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002121/0.3172, allocations: 59.86 kB / 336.6 MB, free: 8.938 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001476/0.3187, allocations: 1.472 MB / 338 MB, free: 7.32 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002562/0.319, allocations: 27.78 kB / 338.1 MB, free: 7.293 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.319, allocations: 8 kB / 338.1 MB, free: 7.285 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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * 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 (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: 0 * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002046/0.3192, allocations: 165.8 kB / 338.2 MB, free: 7.113 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.347e-05/0.3193, allocations: 39.53 kB / 338.3 MB, free: 7.074 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.624e-05/0.3193, allocations: 39.59 kB / 338.3 MB, free: 7.031 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.3194, allocations: 11.95 kB / 338.3 MB, free: 7.02 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.3194, allocations: 4 kB / 338.3 MB, free: 7.016 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005198/0.3199, allocations: 0.5829 MB / 338.9 MB, free: 6.328 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009274/0.3208, allocations: 0.681 MB / 339.6 MB, free: 5.586 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3209, allocations: 0 / 339.6 MB, free: 5.586 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001979/0.3211, allocations: 47.92 kB / 339.6 MB, free: 5.539 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.3211, allocations: 3.953 kB / 339.6 MB, free: 5.535 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.3211, allocations: 11.98 kB / 339.7 MB, free: 5.523 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.3211, allocations: 3.938 kB / 339.7 MB, free: 5.52 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3211, allocations: 0 / 339.7 MB, free: 5.52 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005315/0.3216, allocations: 398.8 kB / 340.1 MB, free: 5.113 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.3218, allocations: 136.6 kB / 340.2 MB, free: 4.961 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.184e-05/0.3219, allocations: 11.95 kB / 340.2 MB, free: 4.949 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/0.3221, allocations: 20 kB / 340.2 MB, free: 4.93 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.906e-05/0.3221, allocations: 16.06 kB / 340.2 MB, free: 4.914 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.163e-05/0.3222, allocations: 7.938 kB / 340.2 MB, free: 4.906 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0003279/0.3225, allocations: 299.1 kB / 340.5 MB, free: 4.621 MB / 270.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3225, allocations: 0 / 340.5 MB, free: 4.621 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003954/0.3229, allocations: 87.84 kB / 340.6 MB, free: 4.535 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009208/0.3239, allocations: 409.9 kB / 341 MB, free: 4.133 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005479/0.3244, allocations: 315.1 kB / 341.3 MB, free: 3.812 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.3244, allocations: 0 / 341.3 MB, free: 3.812 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001954/0.3246, allocations: 91.56 kB / 341.4 MB, free: 3.723 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004622/0.3251, allocations: 93.62 kB / 341.5 MB, free: 3.629 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001579/0.3267, allocations: 0.9174 MB / 342.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.3271, allocations: 0.8034 MB / 343.2 MB, free: 1.855 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001583/0.3272, allocations: 42.94 kB / 343.3 MB, free: 1.812 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.867e-05/0.3273, allocations: 27.44 kB / 343.3 MB, free: 1.785 MB / 270.1 MB Notification: Performance of SimCode: time 2.996e-06/0.3273, allocations: 0 / 343.3 MB, free: 1.785 MB / 270.1 MB Notification: Performance of Templates: time 0.009908/0.3372, allocations: 5.249 MB / 348.5 MB, free: 12.53 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: