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.006192/0.006192, allocations: 105.9 kB / 15.73 MB, free: 6 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.001332/0.001333, allocations: 189 kB / 16.67 MB, free: 5.926 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.603/1.603, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.001205/0.001205, allocations: 53.88 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1143, allocations: 46.63 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004556/0.1189, allocations: 2.836 MB / 376 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002221/0.1212, allocations: 1.189 MB / 377.2 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002052/0.1214, allocations: 7.938 kB / 377.2 MB, free: 13.26 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005953/0.122, allocations: 179.1 kB / 377.4 MB, free: 13.08 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0005466/0.1226, allocations: 206.8 kB / 377.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004136/0.123, allocations: 139.7 kB / 377.7 MB, free: 12.74 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005659/0.1236, allocations: 449.9 kB / 378.1 MB, free: 12.3 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002541/0.1238, allocations: 107.5 kB / 378.2 MB, free: 12.2 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000238/0.1241, allocations: 187.3 kB / 378.4 MB, free: 12.01 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002413/0.1243, allocations: 211.1 kB / 378.6 MB, free: 11.8 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.242e-05/0.1244, allocations: 28 kB / 378.7 MB, free: 11.78 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001419/0.1246, allocations: 71.94 kB / 378.7 MB, free: 11.71 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.1247, allocations: 83.73 kB / 378.8 MB, free: 11.62 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001878/0.1249, allocations: 195 kB / 379 MB, free: 11.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005186/0.1254, allocations: 482.4 kB / 379.5 MB, free: 10.96 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1254, allocations: 0 / 379.5 MB, free: 10.96 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.1254, allocations: 0 / 379.5 MB, free: 10.96 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.1254, allocations: 0 / 379.5 MB, free: 10.96 MB / 318.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.001076/0.1265, allocations: 0.6969 MB / 380.2 MB, free: 10.21 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.1266, allocations: 8.031 kB / 380.2 MB, free: 10.21 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.1267, allocations: 48.38 kB / 380.2 MB, free: 10.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005079/0.1272, allocations: 346.6 kB / 380.6 MB, free: 9.781 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/0.1272, allocations: 12.81 kB / 380.6 MB, free: 9.77 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.035e-05/0.1273, allocations: 28.12 kB / 380.6 MB, free: 9.742 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000492/0.1278, allocations: 293.4 kB / 380.9 MB, free: 9.414 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.1278, allocations: 7.984 kB / 380.9 MB, free: 9.406 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/0.1278, allocations: 8 kB / 380.9 MB, free: 9.398 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.1278, allocations: 4 kB / 380.9 MB, free: 9.395 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003073/0.1282, allocations: 149.7 kB / 381.1 MB, free: 9.246 MB / 318.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.001528/0.1297, allocations: 0.828 MB / 381.9 MB, free: 8.352 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004469/0.1301, allocations: 191.1 kB / 382.1 MB, free: 8.156 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001633/0.1303, allocations: 76.83 kB / 382.2 MB, free: 8.078 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.393e-05/0.1304, allocations: 4 kB / 382.2 MB, free: 8.074 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000272/0.1306, allocations: 143.1 kB / 382.3 MB, free: 7.922 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 2.024e-06/0.1307, allocations: 0 / 382.3 MB, free: 7.922 MB / 318.1 MB Notification: Performance of matching and sorting (n=23): time 0.0009143/0.1316, allocations: 398.9 kB / 382.7 MB, free: 7.504 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002037/0.1318, allocations: 324.4 kB / 383 MB, free: 7.113 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004815/0.1323, allocations: 429.7 kB / 383.4 MB, free: 6.684 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/0.1323, allocations: 33.7 kB / 383.5 MB, free: 6.645 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001845/0.1325, allocations: 204.2 kB / 383.7 MB, free: 6.441 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.048e-05/0.1326, allocations: 86.83 kB / 383.7 MB, free: 6.355 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.464e-05/0.1327, allocations: 53.7 kB / 383.8 MB, free: 6.297 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.1329, allocations: 354.8 kB / 384.1 MB, free: 5.941 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.133, allocations: 59.97 kB / 384.2 MB, free: 5.883 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002474/0.1333, allocations: 175.9 kB / 384.4 MB, free: 5.668 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003369/0.1336, allocations: 167.3 kB / 384.5 MB, free: 5.492 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.1337, allocations: 3.938 kB / 384.5 MB, free: 5.488 MB / 318.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004669/0.1341, allocations: 281.8 kB / 384.8 MB, free: 5.203 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.1342, allocations: 4 kB / 384.8 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.1342, allocations: 0 / 384.8 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000145/0.1343, allocations: 32.84 kB / 384.8 MB, free: 5.164 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.1345, allocations: 51.91 kB / 384.9 MB, free: 5.113 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001535/0.1361, allocations: 1.578 MB / 386.5 MB, free: 3.395 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.1363, allocations: 27.81 kB / 386.5 MB, free: 3.367 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.1363, allocations: 8 kB / 386.5 MB, free: 3.359 MB / 318.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.0002142/0.1365, allocations: 169.8 kB / 386.7 MB, free: 3.184 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.266e-05/0.1366, allocations: 39.53 kB / 386.7 MB, free: 3.145 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.323e-05/0.1367, allocations: 39.59 kB / 386.8 MB, free: 3.102 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.1367, allocations: 7.938 kB / 386.8 MB, free: 3.094 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1367, allocations: 0 / 386.8 MB, free: 3.094 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005653/0.1373, allocations: 0.575 MB / 387.3 MB, free: 2.414 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009774/0.1383, allocations: 0.7126 MB / 388 MB, free: 1.637 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.1383, allocations: 4 kB / 388.1 MB, free: 1.633 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001966/0.1385, allocations: 39.92 kB / 388.1 MB, free: 1.594 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.259e-06/0.1385, allocations: 4.094 kB / 388.1 MB, free: 1.59 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.1385, allocations: 7.938 kB / 388.1 MB, free: 1.582 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/0.1385, allocations: 7.984 kB / 388.1 MB, free: 1.574 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1386, allocations: 0 / 388.1 MB, free: 1.574 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005926/0.1392, allocations: 402.9 kB / 388.5 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001524/0.1393, allocations: 136.5 kB / 388.6 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.823e-05/0.1394, allocations: 11.98 kB / 388.6 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/0.1396, allocations: 11.94 kB / 388.7 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.066e-05/0.1396, allocations: 11.98 kB / 388.7 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-05/0.1397, allocations: 7.984 kB / 388.7 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003315/0.14, allocations: 315.1 kB / 389 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.14, allocations: 0 / 389 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003968/0.1404, allocations: 88 kB / 389.1 MB, free: 0.5742 MB / 318.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.001012/0.1414, allocations: 420.4 kB / 389.5 MB, free: 156 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006265/0.1421, allocations: 318.5 kB / 389.8 MB, free: 15.83 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1421, allocations: 0 / 389.8 MB, free: 15.83 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.1422, allocations: 83.84 kB / 389.9 MB, free: 15.75 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005873/0.1428, allocations: 117.5 kB / 390 MB, free: 15.63 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.1443, allocations: 0.7721 MB / 390.8 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004267/0.1448, allocations: 0.8037 MB / 391.6 MB, free: 14.01 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001521/0.1449, allocations: 50.92 kB / 391.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.176e-05/0.145, allocations: 31.44 kB / 391.6 MB, free: 13.93 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.145, allocations: 0 / 391.6 MB, free: 13.93 MB / 334.1 MB Notification: Performance of Templates: time 0.01124/0.1563, allocations: 6.141 MB / 397.8 MB, free: 7.773 MB / 334.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)