Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.0008623/0.0008623, allocations: 91.88 kB / 16.65 MB, free: 6.586 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.0009333/0.0009334, allocations: 182 kB / 17.56 MB, free: 6.203 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.551/1.551, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.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.0004608/0.000461, allocations: 8 kB / 280.7 MB, free: 3.43 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1161, allocations: 47.59 MB / 328.3 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.003587/0.1197, allocations: 2.526 MB / 330.8 MB, free: 1.223 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002486/0.1222, allocations: 1.096 MB / 331.9 MB, free: 120 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001632/0.1224, allocations: 3.938 kB / 331.9 MB, free: 116 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006953/0.1231, allocations: 167.4 kB / 332.1 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004575/0.1236, allocations: 187 kB / 332.3 MB, free: 15.77 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004/0.124, allocations: 123.8 kB / 332.4 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006151/0.1246, allocations: 430 kB / 332.8 MB, free: 15.22 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002571/0.1249, allocations: 87.72 kB / 332.9 MB, free: 15.14 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002237/0.1251, allocations: 171.3 kB / 333.1 MB, free: 14.97 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002789/0.1254, allocations: 211.1 kB / 333.3 MB, free: 14.77 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.453e-05/0.1254, allocations: 16 kB / 333.3 MB, free: 14.75 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001616/0.1256, allocations: 55.98 kB / 333.4 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.1257, allocations: 75.67 kB / 333.4 MB, free: 14.62 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002067/0.126, allocations: 204.7 kB / 333.6 MB, free: 14.41 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000554/0.1265, allocations: 458.6 kB / 334.1 MB, free: 13.96 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.1265, allocations: 0 / 334.1 MB, free: 13.96 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.148e-06/0.1266, allocations: 0 / 334.1 MB, free: 13.96 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.1266, allocations: 3.938 kB / 334.1 MB, free: 13.96 MB / 286.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.001253/0.1278, allocations: 0.6269 MB / 334.7 MB, free: 13.29 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.1279, allocations: 15.97 kB / 334.7 MB, free: 13.27 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.564e-05/0.128, allocations: 40.47 kB / 334.8 MB, free: 13.23 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004409/0.1284, allocations: 346.6 kB / 335.1 MB, free: 12.85 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.1285, allocations: 12.81 kB / 335.1 MB, free: 12.84 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.089e-05/0.1285, allocations: 32.12 kB / 335.1 MB, free: 12.8 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004879/0.129, allocations: 285.5 kB / 335.4 MB, free: 12.48 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.129, allocations: 4 kB / 335.4 MB, free: 12.48 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.098e-05/0.1291, allocations: 8 kB / 335.4 MB, free: 12.47 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.1291, allocations: 4 kB / 335.4 MB, free: 12.47 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002883/0.1294, allocations: 153.6 kB / 335.6 MB, free: 12.32 MB / 286.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.001374/0.1308, allocations: 0.8283 MB / 336.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005631/0.1314, allocations: 191.1 kB / 336.6 MB, free: 11.23 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.1315, allocations: 76.78 kB / 336.7 MB, free: 11.15 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.592e-05/0.1316, allocations: 11.92 kB / 336.7 MB, free: 11.14 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003943/0.132, allocations: 135.3 kB / 336.8 MB, free: 10.99 MB / 286.1 MB Notification: Performance of pre-optimization done (n=23): time 3.196e-06/0.132, allocations: 0 / 336.8 MB, free: 10.99 MB / 286.1 MB Notification: Performance of matching and sorting (n=23): time 0.001099/0.1331, allocations: 403.6 kB / 337.2 MB, free: 10.57 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002814/0.1334, allocations: 324.2 kB / 337.5 MB, free: 10.18 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005516/0.134, allocations: 433.6 kB / 338 MB, free: 9.75 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.158e-05/0.134, allocations: 33.7 kB / 338 MB, free: 9.711 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.1342, allocations: 196.3 kB / 338.2 MB, free: 9.516 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.003e-05/0.1343, allocations: 78.83 kB / 338.3 MB, free: 9.438 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.955e-05/0.1344, allocations: 29.7 kB / 338.3 MB, free: 9.402 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.1346, allocations: 350.8 kB / 338.6 MB, free: 9.051 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.1347, allocations: 67.98 kB / 338.7 MB, free: 8.984 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002211/0.1349, allocations: 172 kB / 338.9 MB, free: 8.773 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003151/0.1353, allocations: 179.2 kB / 339 MB, free: 8.586 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.1353, allocations: 3.938 kB / 339 MB, free: 8.582 MB / 286.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004908/0.1358, allocations: 273.8 kB / 339.3 MB, free: 8.305 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.1358, allocations: 10.66 kB / 339.3 MB, free: 8.297 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.1358, allocations: 4.094 kB / 339.3 MB, free: 8.293 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001412/0.136, allocations: 32.84 kB / 339.4 MB, free: 8.258 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002459/0.1362, allocations: 51.91 kB / 339.4 MB, free: 8.207 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001714/0.138, allocations: 1.448 MB / 340.9 MB, free: 6.617 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002518/0.1382, allocations: 39.72 kB / 340.9 MB, free: 6.578 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.1383, allocations: 4 kB / 340.9 MB, free: 6.574 MB / 286.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.0001873/0.1384, allocations: 161.8 kB / 341.1 MB, free: 6.406 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.692e-05/0.1385, allocations: 43.53 kB / 341.1 MB, free: 6.363 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.505e-05/0.1386, allocations: 43.59 kB / 341.1 MB, free: 6.316 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.1386, allocations: 0 / 341.1 MB, free: 6.316 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.1386, allocations: 7.938 kB / 341.2 MB, free: 6.309 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005556/0.1392, allocations: 0.5829 MB / 341.7 MB, free: 5.621 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009236/0.1401, allocations: 0.6961 MB / 342.4 MB, free: 4.863 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1401, allocations: 0 / 342.4 MB, free: 4.863 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001957/0.1403, allocations: 43.92 kB / 342.5 MB, free: 4.82 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.1404, allocations: 12 kB / 342.5 MB, free: 4.809 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.1404, allocations: 7.984 kB / 342.5 MB, free: 4.801 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1404, allocations: 0 / 342.5 MB, free: 4.801 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.1404, allocations: 4 kB / 342.5 MB, free: 4.797 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005937/0.141, allocations: 390.8 kB / 342.9 MB, free: 4.398 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.1411, allocations: 148.5 kB / 343 MB, free: 4.234 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.451e-05/0.1412, allocations: 8 kB / 343 MB, free: 4.227 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/0.1414, allocations: 20.05 kB / 343 MB, free: 4.207 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.028e-05/0.1415, allocations: 7.984 kB / 343.1 MB, free: 4.199 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.628e-05/0.1415, allocations: 12.09 kB / 343.1 MB, free: 4.188 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004428/0.142, allocations: 315.1 kB / 343.4 MB, free: 3.887 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.142, allocations: 0 / 343.4 MB, free: 3.887 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003864/0.1424, allocations: 95.84 kB / 343.5 MB, free: 3.793 MB / 286.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.001089/0.1435, allocations: 419.7 kB / 343.9 MB, free: 3.391 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006574/0.1441, allocations: 311.2 kB / 344.2 MB, free: 3.074 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.1441, allocations: 0 / 344.2 MB, free: 3.074 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.1443, allocations: 83.64 kB / 344.3 MB, free: 2.992 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006205/0.1449, allocations: 105.5 kB / 344.4 MB, free: 2.887 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/0.1467, allocations: 0.972 MB / 345.3 MB, free: 1.891 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007664/0.1475, allocations: 0.7924 MB / 346.1 MB, free: 1.074 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001826/0.1477, allocations: 46.94 kB / 346.2 MB, free: 1.027 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.688e-05/0.1478, allocations: 39.42 kB / 346.2 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1478, allocations: 0 / 346.2 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of Templates: time 0.01211/0.1599, allocations: 5.72 MB / 351.9 MB, free: 11.26 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile (rm -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1)