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.0008445/0.0008446, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009184/0.0009185, allocations: 168.7 kB / 15.95 MB, free: 204 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.582/1.582, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.0005141/0.0005141, allocations: 14.81 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3108, allocations: 47.6 MB / 326.5 MB, free: 1.594 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.002895/0.3138, allocations: 2.422 MB / 328.9 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001972/0.3158, allocations: 1.042 MB / 329.9 MB, free: 14.85 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001731/0.316, allocations: 2.594 kB / 329.9 MB, free: 14.85 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005234/0.3165, allocations: 157 kB / 330.1 MB, free: 14.76 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004642/0.317, allocations: 177 kB / 330.3 MB, free: 14.63 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004338/0.3174, allocations: 121.3 kB / 330.4 MB, free: 14.55 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006131/0.318, allocations: 410.3 kB / 330.8 MB, free: 14.3 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002126/0.3183, allocations: 82.91 kB / 330.9 MB, free: 14.26 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002356/0.3185, allocations: 160.3 kB / 331 MB, free: 14.18 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002603/0.3188, allocations: 183.6 kB / 331.2 MB, free: 14.07 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.268e-05/0.3188, allocations: 20.12 kB / 331.2 MB, free: 14.07 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001585/0.319, allocations: 56.55 kB / 331.3 MB, free: 14.05 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.826e-05/0.3191, allocations: 73.73 kB / 331.4 MB, free: 14 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.3192, allocations: 97.23 kB / 331.4 MB, free: 13.93 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003948/0.3196, allocations: 353 kB / 331.8 MB, free: 13.69 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.3196, allocations: 0 / 331.8 MB, free: 13.69 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3196, allocations: 0 / 331.8 MB, free: 13.69 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.3197, allocations: 0 / 331.8 MB, free: 13.69 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.000988/0.3206, allocations: 0.6328 MB / 332.4 MB, free: 13.11 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.3207, allocations: 12.38 kB / 332.4 MB, free: 13.11 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.735e-05/0.3208, allocations: 47.48 kB / 332.5 MB, free: 13.08 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004663/0.3213, allocations: 326.8 kB / 332.8 MB, free: 12.77 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.121e-05/0.3213, allocations: 16.66 kB / 332.8 MB, free: 12.77 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.296e-05/0.3214, allocations: 16.62 kB / 332.8 MB, free: 12.76 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005121/0.3219, allocations: 292.2 kB / 333.1 MB, free: 12.52 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.3219, allocations: 1.156 kB / 333.1 MB, free: 12.52 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.354e-05/0.322, allocations: 15.05 kB / 333.1 MB, free: 12.51 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.322, allocations: 4.188 kB / 333.1 MB, free: 12.51 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003216/0.3223, allocations: 146.1 kB / 333.3 MB, free: 12.45 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.001507/0.3238, allocations: 0.8327 MB / 334.1 MB, free: 11.73 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004051/0.3242, allocations: 182.8 kB / 334.3 MB, free: 11.6 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.3244, allocations: 81.2 kB / 334.4 MB, free: 11.52 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.134e-05/0.3245, allocations: 8.188 kB / 334.4 MB, free: 11.51 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002954/0.3248, allocations: 123.5 kB / 334.5 MB, free: 11.38 MB / 270.1 MB Notification: Performance of pre-optimization done (n=23): time 1.863e-06/0.3248, allocations: 0 / 334.5 MB, free: 11.38 MB / 270.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008763/0.3256, allocations: 407.5 kB / 334.9 MB, free: 10.95 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002258/0.3259, allocations: 320.3 kB / 335.2 MB, free: 10.56 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005267/0.3264, allocations: 433.7 kB / 335.6 MB, free: 10.13 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/0.3265, allocations: 29.7 kB / 335.7 MB, free: 10.1 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/0.3267, allocations: 212.1 kB / 335.9 MB, free: 9.887 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.473e-05/0.3267, allocations: 70.92 kB / 335.9 MB, free: 9.816 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.183e-05/0.3268, allocations: 4 kB / 335.9 MB, free: 9.812 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.3269, allocations: 350.8 kB / 336.3 MB, free: 9.461 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.3271, allocations: 67.91 kB / 336.4 MB, free: 9.395 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002258/0.3273, allocations: 172 kB / 336.5 MB, free: 9.184 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.3275, allocations: 79.92 kB / 336.6 MB, free: 9.105 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3275, allocations: 0 / 336.6 MB, free: 9.105 MB / 270.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004772/0.328, allocations: 273.8 kB / 336.9 MB, free: 8.828 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.328, allocations: 4 kB / 336.9 MB, free: 8.824 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.328, allocations: 4 kB / 336.9 MB, free: 8.82 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001549/0.3282, allocations: 40.78 kB / 336.9 MB, free: 8.777 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002067/0.3284, allocations: 52.02 kB / 337 MB, free: 8.727 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001433/0.3298, allocations: 1.452 MB / 338.4 MB, free: 7.129 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002223/0.3301, allocations: 31.72 kB / 338.5 MB, free: 7.098 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.3301, allocations: 12 kB / 338.5 MB, free: 7.086 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.0001896/0.3303, allocations: 161.8 kB / 338.6 MB, free: 6.918 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.501e-05/0.3304, allocations: 39.53 kB / 338.7 MB, free: 6.879 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.778e-05/0.3305, allocations: 39.59 kB / 338.7 MB, free: 6.836 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.3305, allocations: 7.953 kB / 338.7 MB, free: 6.828 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3305, allocations: 96 / 338.7 MB, free: 6.828 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005922/0.3311, allocations: 0.5906 MB / 339.3 MB, free: 6.133 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009725/0.3321, allocations: 0.7044 MB / 340 MB, free: 5.367 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3321, allocations: 0 / 340 MB, free: 5.367 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000191/0.3323, allocations: 43.94 kB / 340 MB, free: 5.324 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.3323, allocations: 4 kB / 340 MB, free: 5.32 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/0.3323, allocations: 7.984 kB / 340.1 MB, free: 5.312 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.3323, allocations: 0 / 340.1 MB, free: 5.312 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3323, allocations: 4 kB / 340.1 MB, free: 5.309 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005353/0.3329, allocations: 398.8 kB / 340.4 MB, free: 4.902 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/0.333, allocations: 144.6 kB / 340.6 MB, free: 4.742 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.688e-05/0.3331, allocations: 7.953 kB / 340.6 MB, free: 4.734 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.3333, allocations: 16.22 kB / 340.6 MB, free: 4.719 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.285e-05/0.3334, allocations: 11.98 kB / 340.6 MB, free: 4.707 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/0.3334, allocations: 4.062 kB / 340.6 MB, free: 4.703 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0003302/0.3337, allocations: 315.1 kB / 340.9 MB, free: 4.402 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3337, allocations: 0 / 340.9 MB, free: 4.402 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003931/0.3341, allocations: 91.91 kB / 341 MB, free: 4.312 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.00104/0.3352, allocations: 425.6 kB / 341.4 MB, free: 3.895 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005898/0.3358, allocations: 303.2 kB / 341.7 MB, free: 3.586 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.3358, allocations: 0 / 341.7 MB, free: 3.586 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.3359, allocations: 87.62 kB / 341.8 MB, free: 3.5 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00058/0.3365, allocations: 97.62 kB / 341.9 MB, free: 3.402 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.338, allocations: 0.9368 MB / 342.9 MB, free: 2.441 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004461/0.3385, allocations: 0.7963 MB / 343.7 MB, free: 1.621 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001906/0.3387, allocations: 50.94 kB / 343.7 MB, free: 1.57 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.472e-05/0.3388, allocations: 27.44 kB / 343.7 MB, free: 1.543 MB / 270.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3388, allocations: 0 / 343.7 MB, free: 1.543 MB / 270.1 MB Notification: Performance of Templates: time 0.01091/0.3497, allocations: 5.507 MB / 349.2 MB, free: 12.03 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)