Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 95.06 kB / 19.44 MB, free: 464 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 169.2 kB / 22.75 MB, free: 1.789 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.604/1.604, allocations: 177.2 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks master/package.mo): time 0.008215/0.008215, allocations: 1.03 MB / 260.6 MB, free: 12.16 MB / 250.7 MB " [Timeout remaining time 180] Using package BoundaryInitBlocks with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 333.4 MB, free: 15.76 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.244e-05/2.411e-05, allocations: 6.312 kB / 333.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD): time 0.002486/0.00251, allocations: 1.776 MB / 335.2 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.003677, allocations: 0.5532 MB / 335.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.352e-05/0.00376, allocations: 0 / 335.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.003903, allocations: 23.73 kB / 335.7 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.134e-05/0.003974, allocations: 35.66 kB / 335.8 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002445/0.004219, allocations: 91.88 kB / 335.9 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.004401, allocations: 183.2 kB / 336 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.004517, allocations: 29.8 kB / 336.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.004623, allocations: 79.8 kB / 336.2 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.746e-05/0.004691, allocations: 43.81 kB / 336.2 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.64e-05/0.004717, allocations: 8 kB / 336.2 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.822e-05/0.004735, allocations: 12 kB / 336.2 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.365e-05/0.004759, allocations: 23.92 kB / 336.2 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.609e-05/0.004805, allocations: 39.84 kB / 336.3 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.004965, allocations: 135.4 kB / 336.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.004968, allocations: 0 / 336.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.004968, allocations: 4 kB / 336.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.004974, allocations: 0 / 336.4 MB, free: 12.71 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000539/0.005513, allocations: 365.7 kB / 336.8 MB, free: 12.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.005546, allocations: 12.03 kB / 336.8 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.866e-05/0.005605, allocations: 20.84 kB / 336.8 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.005773, allocations: 158.9 kB / 337 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.005787, allocations: 8.375 kB / 337 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/0.005818, allocations: 12.38 kB / 337 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.006064, allocations: 123.9 kB / 337.1 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.006074, allocations: 192 / 337.1 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.006087, allocations: 384 / 337.1 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.006093, allocations: 7.938 kB / 337.1 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002055/0.006298, allocations: 67.89 kB / 337.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000596/0.006894, allocations: 432.3 kB / 337.6 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.007072, allocations: 66.48 kB / 337.7 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.992e-05/0.007172, allocations: 40.95 kB / 337.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.007192, allocations: 0 / 337.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.578e-05/0.007208, allocations: 30.56 kB / 337.7 MB, free: 11.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 7.32e-07/0.007208, allocations: 0 / 337.7 MB, free: 11.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.000379/0.007587, allocations: 133.8 kB / 337.9 MB, free: 11.13 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.91e-05/0.007606, allocations: 51.41 kB / 337.9 MB, free: 11.07 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.007711, allocations: 174.6 kB / 338.1 MB, free: 10.89 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.007722, allocations: 33.7 kB / 338.1 MB, free: 10.85 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.533e-05/0.007767, allocations: 113.8 kB / 338.2 MB, free: 10.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.007783, allocations: 27.78 kB / 338.3 MB, free: 10.71 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.297e-05/0.007826, allocations: 29.7 kB / 338.3 MB, free: 10.67 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.064e-05/0.007867, allocations: 318.8 kB / 338.6 MB, free: 10.35 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.007987, allocations: 40.03 kB / 338.6 MB, free: 10.31 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.00809, allocations: 69.27 kB / 338.7 MB, free: 10.23 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/0.008287, allocations: 100.2 kB / 338.8 MB, free: 10.12 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.008289, allocations: 4 kB / 338.8 MB, free: 10.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002697/0.008559, allocations: 145.4 kB / 338.9 MB, free: 9.965 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.00857, allocations: 11.94 kB / 339 MB, free: 9.953 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.008576, allocations: 3.938 kB / 339 MB, free: 9.949 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.008593, allocations: 4 kB / 339 MB, free: 9.945 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003099/0.008903, allocations: 35.97 kB / 339 MB, free: 9.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006531/0.009556, allocations: 1.278 MB / 340.3 MB, free: 8.531 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.874e-05/0.009645, allocations: 7.953 kB / 340.3 MB, free: 8.523 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.009654, allocations: 4 kB / 340.3 MB, free: 8.52 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.336e-05/0.009717, allocations: 129.8 kB / 340.4 MB, free: 8.383 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/0.009752, allocations: 19.78 kB / 340.4 MB, free: 8.363 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.265e-05/0.009775, allocations: 17.47 kB / 340.5 MB, free: 8.348 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.71e-07/0.009776, allocations: 0 / 340.5 MB, free: 8.348 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.009777, allocations: 4.125 kB / 340.5 MB, free: 8.344 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/0.009791, allocations: 4 kB / 340.5 MB, free: 8.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003927/0.01018, allocations: 327 kB / 340.8 MB, free: 7.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.01019, allocations: 3.938 kB / 340.8 MB, free: 7.977 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002037/0.01039, allocations: 27.98 kB / 340.8 MB, free: 7.949 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.01039, allocations: 0 / 340.8 MB, free: 7.949 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.0104, allocations: 4 kB / 340.8 MB, free: 7.945 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005769/0.01098, allocations: 1.278 MB / 342.1 MB, free: 6.57 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.01098, allocations: 4.031 kB / 342.1 MB, free: 6.566 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003286/0.01131, allocations: 248.2 kB / 342.3 MB, free: 6.305 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.532e-05/0.01134, allocations: 16.14 kB / 342.4 MB, free: 6.289 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.01136, allocations: 8 kB / 342.4 MB, free: 6.281 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.01147, allocations: 7.984 kB / 342.4 MB, free: 6.273 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.6e-05/0.01151, allocations: 11.88 kB / 342.4 MB, free: 6.262 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.01152, allocations: 0 / 342.4 MB, free: 6.262 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.061e-05/0.01158, allocations: 123.2 kB / 342.5 MB, free: 6.141 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01158, allocations: 0 / 342.5 MB, free: 6.141 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002849/0.01186, allocations: 31.94 kB / 342.5 MB, free: 6.109 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (tank.l) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.684e-05/0.01194, allocations: 95.25 kB / 342.6 MB, free: 6.004 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003496/0.01229, allocations: 92.16 kB / 342.7 MB, free: 5.91 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.01229, allocations: 0 / 342.7 MB, free: 5.91 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001729/0.01246, allocations: 48.19 kB / 342.8 MB, free: 5.863 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004539/0.01292, allocations: 49.05 kB / 342.8 MB, free: 5.828 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000531/0.01345, allocations: 310.2 kB / 343.1 MB, free: 5.504 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.906e-05/0.01351, allocations: 97.61 kB / 343.2 MB, free: 5.387 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.935e-05/0.01357, allocations: 16.91 kB / 343.2 MB, free: 5.367 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.204e-05/0.01361, allocations: 16.5 kB / 343.2 MB, free: 5.352 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01361, allocations: 0 / 343.2 MB, free: 5.352 MB / 266.7 MB Notification: Performance of Templates: time 0.004189/0.0178, allocations: 1.609 MB / 344.9 MB, free: 3.809 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.makefile [Timeout 660] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=480 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.514937146916054]