Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001045/0.001045, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001125/0.001125, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.528/1.528, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.001486/0.001486, allocations: 51.92 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3161, allocations: 46.63 MB / 324.8 MB, free: 1.957 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.00523/0.3214, allocations: 2.891 MB / 327.7 MB, free: 15.67 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002642/0.3241, allocations: 1.176 MB / 328.9 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003478/0.3244, allocations: 3.438 kB / 328.9 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007579/0.3253, allocations: 171.4 kB / 329.1 MB, free: 14.63 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006741/0.326, allocations: 182.7 kB / 329.3 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006799/0.3266, allocations: 126.2 kB / 329.4 MB, free: 14.41 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008681/0.3275, allocations: 447.8 kB / 329.8 MB, free: 14.16 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003157/0.3278, allocations: 109.8 kB / 329.9 MB, free: 14.1 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003179/0.3282, allocations: 179.7 kB / 330.1 MB, free: 14 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003816/0.3286, allocations: 209.7 kB / 330.3 MB, free: 13.88 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.647e-05/0.3287, allocations: 30.34 kB / 330.3 MB, free: 13.88 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002994/0.329, allocations: 64.52 kB / 330.4 MB, free: 13.87 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001652/0.3292, allocations: 95.27 kB / 330.5 MB, free: 13.79 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002479/0.3294, allocations: 193.9 kB / 330.7 MB, free: 13.66 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007756/0.3302, allocations: 474 kB / 331.1 MB, free: 13.34 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3302, allocations: 5.219 kB / 331.1 MB, free: 13.33 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.3302, allocations: 0 / 331.1 MB, free: 13.33 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.777e-06/0.3302, 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.001412/0.3317, allocations: 0.6953 MB / 331.8 MB, free: 12.71 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.3317, allocations: 9.875 kB / 331.8 MB, free: 12.71 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001278/0.3318, allocations: 46.72 kB / 331.9 MB, free: 12.69 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004934/0.3324, allocations: 348.3 kB / 332.2 MB, free: 12.36 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.315e-05/0.3324, allocations: 13.19 kB / 332.2 MB, free: 12.36 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.367e-05/0.3325, allocations: 24.62 kB / 332.3 MB, free: 12.34 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005884/0.3331, allocations: 295.1 kB / 332.6 MB, free: 12.11 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.3331, allocations: 0 / 332.6 MB, free: 12.11 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.715e-05/0.3331, allocations: 7.312 kB / 332.6 MB, free: 12.1 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.3331, allocations: 4.438 kB / 332.6 MB, free: 12.1 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003397/0.3335, allocations: 152 kB / 332.7 MB, free: 12.03 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.001522/0.335, allocations: 0.8235 MB / 333.5 MB, free: 11.19 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003879/0.3354, allocations: 191.1 kB / 333.7 MB, free: 10.99 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/0.3356, allocations: 84.81 kB / 333.8 MB, free: 10.91 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.587e-05/0.3356, allocations: 7.938 kB / 333.8 MB, free: 10.9 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000372/0.336, allocations: 143.2 kB / 334 MB, free: 10.75 MB / 270.1 MB Notification: Performance of pre-optimization done (n=23): time 1.553e-06/0.336, allocations: 0 / 334 MB, free: 10.75 MB / 270.1 MB Notification: Performance of matching and sorting (n=23): time 0.000905/0.3369, allocations: 399 kB / 334.3 MB, free: 10.33 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001727/0.3371, allocations: 324.3 kB / 334.7 MB, free: 9.938 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005128/0.3376, allocations: 429.6 kB / 335.1 MB, free: 9.512 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.793e-05/0.3377, allocations: 37.69 kB / 335.1 MB, free: 9.469 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.3378, allocations: 204.2 kB / 335.3 MB, free: 9.266 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.26e-05/0.3379, allocations: 74.86 kB / 335.4 MB, free: 9.191 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.876e-05/0.338, allocations: 61.69 kB / 335.5 MB, free: 9.125 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.3382, allocations: 346.8 kB / 335.8 MB, free: 8.777 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.3383, allocations: 67.97 kB / 335.9 MB, free: 8.711 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.3385, allocations: 175.9 kB / 336 MB, free: 8.496 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002985/0.3388, allocations: 175.2 kB / 336.2 MB, free: 8.312 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.3389, allocations: 3.938 kB / 336.2 MB, free: 8.309 MB / 270.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004627/0.3393, allocations: 274 kB / 336.5 MB, free: 8.031 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.3394, allocations: 4 kB / 336.5 MB, free: 8.027 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.3394, allocations: 4 kB / 336.5 MB, free: 8.023 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001434/0.3395, allocations: 36.78 kB / 336.5 MB, free: 7.984 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002105/0.3397, allocations: 47.97 kB / 336.6 MB, free: 7.938 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001647/0.3414, allocations: 1.57 MB / 338.1 MB, free: 6.219 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000244/0.3417, allocations: 23.75 kB / 338.2 MB, free: 6.195 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.3417, allocations: 12.03 kB / 338.2 MB, free: 6.184 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.0002053/0.3419, allocations: 165.8 kB / 338.3 MB, free: 6.012 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.247e-05/0.342, allocations: 39.53 kB / 338.4 MB, free: 5.973 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.553e-05/0.3421, allocations: 43.59 kB / 338.4 MB, free: 5.926 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.3421, allocations: 4.172 kB / 338.4 MB, free: 5.922 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3421, allocations: 0 / 338.4 MB, free: 5.922 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006213/0.3427, allocations: 0.5952 MB / 339 MB, free: 5.223 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.3438, allocations: 0.7039 MB / 339.7 MB, free: 4.457 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3438, allocations: 0 / 339.7 MB, free: 4.457 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/0.344, allocations: 47.91 kB / 339.8 MB, free: 4.41 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.344, allocations: 0 / 339.8 MB, free: 4.41 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.126e-05/0.3441, allocations: 8 kB / 339.8 MB, free: 4.402 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.3441, allocations: 0 / 339.8 MB, free: 4.402 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3441, allocations: 7.938 kB / 339.8 MB, free: 4.395 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006951/0.3448, allocations: 402.7 kB / 340.2 MB, free: 3.984 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001626/0.3449, allocations: 140.6 kB / 340.3 MB, free: 3.828 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.429e-05/0.345, allocations: 11.98 kB / 340.3 MB, free: 3.816 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/0.3452, allocations: 8 kB / 340.3 MB, free: 3.809 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.709e-05/0.3453, allocations: 11.98 kB / 340.3 MB, free: 3.797 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.962e-05/0.3453, allocations: 7.984 kB / 340.3 MB, free: 3.789 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0003634/0.3457, allocations: 315.3 kB / 340.7 MB, free: 3.488 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3457, allocations: 3.938 kB / 340.7 MB, free: 3.484 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004559/0.3462, allocations: 99.83 kB / 340.8 MB, free: 3.387 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.001245/0.3474, allocations: 402.2 kB / 341.1 MB, free: 2.992 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0008361/0.3483, allocations: 310.6 kB / 341.5 MB, free: 2.676 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.3483, allocations: 4.062 kB / 341.5 MB, free: 2.672 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001762/0.3485, allocations: 88.33 kB / 341.5 MB, free: 2.586 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007221/0.3492, allocations: 117.7 kB / 341.7 MB, free: 2.469 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.351, allocations: 0.8981 MB / 342.6 MB, free: 1.543 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005184/0.3516, allocations: 0.8036 MB / 343.4 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0002148/0.3518, allocations: 42.95 kB / 343.4 MB, free: 0.6719 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.88e-05/0.3519, allocations: 35.44 kB / 343.4 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3519, allocations: 0 / 343.4 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of Templates: time 0.01255/0.3644, allocations: 6.056 MB / 349.5 MB, free: 10.57 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1)