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.001165/0.001166, allocations: 103.7 kB / 16.62 MB, free: 6.812 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.001172/0.001172, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.437/1.437, allocations: 205.1 MB / 223.4 MB, free: 12.37 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.001337/0.001337, allocations: 47.94 kB / 279.5 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1231, allocations: 46.62 MB / 326.1 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.006374/0.1295, allocations: 2.885 MB / 329 MB, free: 1.879 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002717/0.1323, allocations: 1.174 MB / 330.2 MB, free: 0.6953 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004236/0.1327, allocations: 7.938 kB / 330.2 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006987/0.1335, allocations: 171.4 kB / 330.4 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006517/0.1341, allocations: 187 kB / 330.5 MB, free: 344 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005767/0.1347, allocations: 119.8 kB / 330.7 MB, free: 224 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007003/0.1354, allocations: 454 kB / 331.1 MB, free: 15.77 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002615/0.1357, allocations: 99.47 kB / 331.2 MB, free: 15.68 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002815/0.136, allocations: 187.3 kB / 331.4 MB, free: 15.5 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000319/0.1363, allocations: 211.2 kB / 331.6 MB, free: 15.29 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.769e-05/0.1364, allocations: 32 kB / 331.6 MB, free: 15.26 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002117/0.1367, allocations: 71.92 kB / 331.7 MB, free: 15.19 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000164/0.1368, allocations: 91.67 kB / 331.8 MB, free: 15.1 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002558/0.1371, allocations: 187 kB / 332 MB, free: 14.91 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005276/0.1376, allocations: 474.7 kB / 332.4 MB, free: 14.45 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1376, allocations: 0 / 332.4 MB, free: 14.45 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1377, allocations: 0 / 332.4 MB, free: 14.45 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.1377, allocations: 0 / 332.4 MB, free: 14.45 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.001037/0.1387, allocations: 0.7123 MB / 333.1 MB, free: 13.69 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.1388, allocations: 8.031 kB / 333.1 MB, free: 13.68 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.353e-05/0.1389, allocations: 44.47 kB / 333.2 MB, free: 13.64 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004043/0.1393, allocations: 342.6 kB / 333.5 MB, free: 13.26 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.1393, allocations: 12.81 kB / 333.5 MB, free: 13.25 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.215e-05/0.1393, allocations: 24.12 kB / 333.6 MB, free: 13.22 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004878/0.1398, allocations: 293.5 kB / 333.8 MB, free: 12.89 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.1399, allocations: 0 / 333.8 MB, free: 12.89 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.205e-05/0.1399, allocations: 8 kB / 333.9 MB, free: 12.89 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.1399, allocations: 7.984 kB / 333.9 MB, free: 12.88 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002818/0.1402, allocations: 153.6 kB / 334 MB, free: 12.73 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.001268/0.1415, allocations: 0.8282 MB / 334.8 MB, free: 11.83 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003717/0.1419, allocations: 187.1 kB / 335 MB, free: 11.64 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001389/0.142, allocations: 84.77 kB / 335.1 MB, free: 11.55 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.1421, allocations: 11.94 kB / 335.1 MB, free: 11.54 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000352/0.1424, allocations: 135.3 kB / 335.3 MB, free: 11.4 MB / 286.1 MB Notification: Performance of pre-optimization done (n=23): time 1.533e-06/0.1424, allocations: 0 / 335.3 MB, free: 11.4 MB / 286.1 MB Notification: Performance of matching and sorting (n=23): time 0.000832/0.1433, allocations: 395 kB / 335.6 MB, free: 10.98 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001839/0.1435, allocations: 328.2 kB / 336 MB, free: 10.59 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004476/0.1439, allocations: 433.6 kB / 336.4 MB, free: 10.16 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.171e-05/0.144, allocations: 37.69 kB / 336.4 MB, free: 10.12 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.1441, allocations: 196.3 kB / 336.6 MB, free: 9.922 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.471e-05/0.1442, allocations: 74.84 kB / 336.7 MB, free: 9.848 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.721e-05/0.1443, allocations: 65.69 kB / 336.7 MB, free: 9.777 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1444, allocations: 346.8 kB / 337.1 MB, free: 9.43 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.1446, allocations: 63.97 kB / 337.1 MB, free: 9.367 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002126/0.1448, allocations: 172 kB / 337.3 MB, free: 9.156 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002973/0.1451, allocations: 179.2 kB / 337.5 MB, free: 8.969 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.1451, allocations: 3.938 kB / 337.5 MB, free: 8.965 MB / 286.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005139/0.1456, allocations: 273.8 kB / 337.8 MB, free: 8.688 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.1457, allocations: 4 kB / 337.8 MB, free: 8.684 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.1457, allocations: 4 kB / 337.8 MB, free: 8.68 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001592/0.1458, allocations: 36.94 kB / 337.8 MB, free: 8.641 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.1461, allocations: 51.91 kB / 337.9 MB, free: 8.59 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001551/0.1476, allocations: 1.566 MB / 339.4 MB, free: 6.875 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002533/0.1479, allocations: 27.75 kB / 339.4 MB, free: 6.848 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.101e-05/0.1479, allocations: 12.03 kB / 339.5 MB, free: 6.836 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.000215/0.1481, allocations: 166.1 kB / 339.6 MB, free: 6.664 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.882e-05/0.1482, allocations: 39.53 kB / 339.7 MB, free: 6.625 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.547e-05/0.1483, allocations: 47.58 kB / 339.7 MB, free: 6.574 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1483, allocations: 7.875 kB / 339.7 MB, free: 6.566 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1483, allocations: 0 / 339.7 MB, free: 6.566 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005322/0.1489, allocations: 0.5759 MB / 340.3 MB, free: 5.887 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009334/0.1498, allocations: 0.7078 MB / 341 MB, free: 5.117 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1498, allocations: 0 / 341 MB, free: 5.117 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/0.15, allocations: 43.97 kB / 341 MB, free: 5.074 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.15, allocations: 0 / 341 MB, free: 5.074 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.1501, allocations: 8 kB / 341.1 MB, free: 5.066 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.572e-06/0.1501, allocations: 3.938 kB / 341.1 MB, free: 5.062 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.1501, allocations: 3.984 kB / 341.1 MB, free: 5.059 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005734/0.1507, allocations: 402.8 kB / 341.5 MB, free: 4.648 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001868/0.1509, allocations: 140.6 kB / 341.6 MB, free: 4.492 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.326e-05/0.1509, allocations: 12.08 kB / 341.6 MB, free: 4.48 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.1511, allocations: 7.938 kB / 341.6 MB, free: 4.473 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.084e-05/0.1512, allocations: 15.98 kB / 341.6 MB, free: 4.457 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.1512, allocations: 7.984 kB / 341.6 MB, free: 4.449 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003253/0.1515, allocations: 307.2 kB / 341.9 MB, free: 4.156 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1516, allocations: 4 kB / 341.9 MB, free: 4.152 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004161/0.152, allocations: 99.83 kB / 342 MB, free: 4.055 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.0009949/0.153, allocations: 418.5 kB / 342.4 MB, free: 3.652 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006592/0.1537, allocations: 310.5 kB / 342.7 MB, free: 3.336 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1537, allocations: 3.938 kB / 342.7 MB, free: 3.332 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.1538, allocations: 83.78 kB / 342.8 MB, free: 3.25 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005929/0.1544, allocations: 122.2 kB / 343 MB, free: 3.129 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.156, allocations: 0.8893 MB / 343.8 MB, free: 2.211 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004186/0.1564, allocations: 0.8037 MB / 344.6 MB, free: 1.383 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001975/0.1566, allocations: 42.95 kB / 344.7 MB, free: 1.34 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.281e-05/0.1567, allocations: 35.38 kB / 344.7 MB, free: 1.305 MB / 286.1 MB Notification: Performance of SimCode: time 9.52e-07/0.1567, allocations: 0 / 344.7 MB, free: 1.305 MB / 286.1 MB Notification: Performance of Templates: time 0.01099/0.1677, allocations: 6.063 MB / 350.8 MB, free: 11.23 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)