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.001298/0.001299, allocations: 95.84 kB / 16.5 MB, free: 6.641 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.001269/0.001269, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.464/1.464, allocations: 205.1 MB / 223.3 MB, free: 12.45 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.001175/0.001175, allocations: 55.84 kB / 279.3 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1119, allocations: 46.63 MB / 326 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004616/0.1166, allocations: 2.885 MB / 328.8 MB, free: 1.996 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002146/0.1188, allocations: 1.17 MB / 330 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002021/0.119, allocations: 7.938 kB / 330 MB, free: 0.8086 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005735/0.1196, allocations: 167.4 kB / 330.2 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004327/0.12, allocations: 187 kB / 330.4 MB, free: 472 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004022/0.1205, allocations: 127.8 kB / 330.5 MB, free: 344 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004542/0.1209, allocations: 430 kB / 330.9 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001984/0.1211, allocations: 99.7 kB / 331 MB, free: 15.82 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001969/0.1213, allocations: 171.3 kB / 331.2 MB, free: 15.65 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002237/0.1216, allocations: 199.2 kB / 331.4 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.961e-05/0.1216, allocations: 20 kB / 331.4 MB, free: 15.44 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.1218, allocations: 55.98 kB / 331.4 MB, free: 15.38 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.1219, allocations: 87.61 kB / 331.5 MB, free: 15.3 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001772/0.1221, allocations: 183 kB / 331.7 MB, free: 15.12 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004437/0.1225, allocations: 470.6 kB / 332.2 MB, free: 14.66 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1225, allocations: 0 / 332.2 MB, free: 14.66 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1225, allocations: 0 / 332.2 MB, free: 14.66 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.1225, allocations: 0 / 332.2 MB, free: 14.66 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.001062/0.1236, allocations: 0.7046 MB / 332.9 MB, free: 13.9 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.1237, allocations: 12.03 kB / 332.9 MB, free: 13.89 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.872e-05/0.1238, allocations: 44.47 kB / 332.9 MB, free: 13.85 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004323/0.1242, allocations: 338.6 kB / 333.3 MB, free: 13.47 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/0.1242, allocations: 12.81 kB / 333.3 MB, free: 13.46 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.592e-05/0.1243, allocations: 24.12 kB / 333.3 MB, free: 13.44 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005298/0.1248, allocations: 293.5 kB / 333.6 MB, free: 13.11 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.1249, allocations: 0 / 333.6 MB, free: 13.11 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.701e-05/0.1249, allocations: 15.98 kB / 333.6 MB, free: 13.09 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.1249, allocations: 4 kB / 333.6 MB, free: 13.09 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003141/0.1252, allocations: 141.7 kB / 333.7 MB, free: 12.95 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.001397/0.1267, allocations: 0.8322 MB / 334.6 MB, free: 12.05 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000413/0.1271, allocations: 191.1 kB / 334.8 MB, free: 11.86 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001552/0.1272, allocations: 76.83 kB / 334.8 MB, free: 11.78 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.1273, allocations: 4 kB / 334.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003317/0.1276, allocations: 135.2 kB / 335 MB, free: 11.63 MB / 286.1 MB Notification: Performance of pre-optimization done (n=23): time 1.963e-06/0.1276, allocations: 7.938 kB / 335 MB, free: 11.62 MB / 286.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008921/0.1285, allocations: 406.9 kB / 335.4 MB, free: 11.2 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001582/0.1287, allocations: 316.3 kB / 335.7 MB, free: 10.81 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004819/0.1292, allocations: 437.6 kB / 336.1 MB, free: 10.38 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.1292, allocations: 29.7 kB / 336.1 MB, free: 10.34 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.1294, allocations: 200.3 kB / 336.3 MB, free: 10.14 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.351e-05/0.1295, allocations: 82.83 kB / 336.4 MB, free: 10.06 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.014e-05/0.1296, allocations: 65.64 kB / 336.5 MB, free: 9.992 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.1297, allocations: 346.8 kB / 336.8 MB, free: 9.645 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.1299, allocations: 59.97 kB / 336.9 MB, free: 9.586 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002499/0.1301, allocations: 172 kB / 337 MB, free: 9.375 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000367/0.1305, allocations: 179.2 kB / 337.2 MB, free: 9.188 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.1305, allocations: 3.938 kB / 337.2 MB, free: 9.184 MB / 286.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004774/0.131, allocations: 269.9 kB / 337.5 MB, free: 8.91 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.131, allocations: 7.938 kB / 337.5 MB, free: 8.902 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.131, allocations: 0 / 337.5 MB, free: 8.902 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001581/0.1312, allocations: 36.83 kB / 337.5 MB, free: 8.863 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/0.1315, allocations: 55.97 kB / 337.6 MB, free: 8.809 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00158/0.133, allocations: 1.452 MB / 339 MB, free: 7.215 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.1333, allocations: 31.72 kB / 339.1 MB, free: 7.184 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.1333, allocations: 4 kB / 339.1 MB, free: 7.18 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.0002332/0.1336, allocations: 169.8 kB / 339.2 MB, free: 7.004 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.812e-05/0.1336, allocations: 43.53 kB / 339.3 MB, free: 6.961 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.194e-05/0.1337, allocations: 39.59 kB / 339.3 MB, free: 6.918 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.1337, allocations: 0 / 339.3 MB, free: 6.918 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1337, allocations: 4 kB / 339.3 MB, free: 6.914 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000565/0.1343, allocations: 0.5797 MB / 339.9 MB, free: 6.23 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009759/0.1353, allocations: 0.7001 MB / 340.6 MB, free: 5.469 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.1353, allocations: 7.922 kB / 340.6 MB, free: 5.461 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002089/0.1355, allocations: 47.92 kB / 340.7 MB, free: 5.414 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.1355, allocations: 4 kB / 340.7 MB, free: 5.41 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.1356, allocations: 0 / 340.7 MB, free: 5.41 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.1356, allocations: 3.984 kB / 340.7 MB, free: 5.406 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1356, allocations: 4 kB / 340.7 MB, free: 5.402 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000596/0.1362, allocations: 398.8 kB / 341.1 MB, free: 4.996 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/0.1363, allocations: 144.7 kB / 341.2 MB, free: 4.836 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.47e-05/0.1364, allocations: 11.98 kB / 341.2 MB, free: 4.824 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.1366, allocations: 8 kB / 341.2 MB, free: 4.816 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.048e-05/0.1367, allocations: 15.97 kB / 341.2 MB, free: 4.801 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.104e-05/0.1367, allocations: 11.98 kB / 341.2 MB, free: 4.789 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003527/0.1371, allocations: 315.1 kB / 341.6 MB, free: 4.488 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1371, allocations: 0 / 341.6 MB, free: 4.488 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000415/0.1375, allocations: 95.94 kB / 341.6 MB, free: 4.395 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.001027/0.1385, allocations: 414.1 kB / 342 MB, free: 3.996 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006576/0.1392, allocations: 302.6 kB / 342.3 MB, free: 3.688 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.1393, allocations: 0 / 342.3 MB, free: 3.688 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001851/0.1394, allocations: 83.77 kB / 342.4 MB, free: 3.605 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000646/0.1401, allocations: 109.5 kB / 342.5 MB, free: 3.496 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/0.1418, allocations: 0.9038 MB / 343.4 MB, free: 2.566 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004212/0.1423, allocations: 0.7924 MB / 344.2 MB, free: 1.75 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001865/0.1425, allocations: 46.94 kB / 344.3 MB, free: 1.703 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.435e-05/0.1425, allocations: 35.42 kB / 344.3 MB, free: 1.668 MB / 286.1 MB Notification: Performance of SimCode: time 1.162e-06/0.1425, allocations: 0 / 344.3 MB, free: 1.668 MB / 286.1 MB Notification: Performance of Templates: time 0.01138/0.1539, allocations: 5.778 MB / 350.1 MB, free: 11.88 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)