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.0009025/0.0009025, allocations: 96.7 kB / 20.2 MB, free: 4.223 MB / 18.57 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.0009654/0.0009654, allocations: 157.3 kB / 23.51 MB, free: 0.9141 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 0.9767/0.9767, allocations: 177.2 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] 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.004278/0.004278, allocations: 1.022 MB / 261.4 MB, free: 12.14 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.703e-06/1.703e-06, allocations: 0 / 334.1 MB, free: 15.79 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.761e-05/2.931e-05, allocations: 4.844 kB / 334.2 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD): time 0.002487/0.002517, allocations: 1.774 MB / 335.9 MB, free: 14 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009034/0.00342, allocations: 0.5532 MB / 336.5 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.392e-05/0.003504, allocations: 0 / 336.5 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001432/0.003647, allocations: 31.73 kB / 336.5 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.117e-05/0.003708, allocations: 31.72 kB / 336.5 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002461/0.003954, allocations: 83.88 kB / 336.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.004143, allocations: 183.2 kB / 336.8 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.004264, allocations: 37.78 kB / 336.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.004371, allocations: 79.75 kB / 336.9 MB, free: 13 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.539e-05/0.004437, allocations: 35.88 kB / 337 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.404e-05/0.004461, allocations: 12 kB / 337 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.627e-05/0.004477, allocations: 8 kB / 337 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.874e-05/0.004506, allocations: 27.86 kB / 337 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.186e-05/0.004547, allocations: 39.91 kB / 337 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.004701, allocations: 135.4 kB / 337.2 MB, free: 12.74 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.004704, allocations: 4 kB / 337.2 MB, free: 12.74 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.004705, allocations: 0 / 337.2 MB, free: 12.74 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.004709, allocations: 0 / 337.2 MB, free: 12.74 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.0004604/0.005169, allocations: 361.7 kB / 337.5 MB, free: 12.36 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.005203, allocations: 12.03 kB / 337.5 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.736e-05/0.005281, allocations: 20.84 kB / 337.6 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.005459, allocations: 167.8 kB / 337.7 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.005472, allocations: 8.375 kB / 337.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.895e-05/0.005501, allocations: 8.375 kB / 337.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.005699, allocations: 119.9 kB / 337.9 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.005708, allocations: 192 / 337.9 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.005722, allocations: 4.375 kB / 337.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.005729, allocations: 7.938 kB / 337.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.005872, allocations: 67.89 kB / 337.9 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005047/0.006377, allocations: 428.3 kB / 338.4 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.006514, allocations: 74.47 kB / 338.4 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7e-05/0.006584, allocations: 36.95 kB / 338.5 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.006601, allocations: 4 kB / 338.5 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.112e-05/0.006612, allocations: 30.56 kB / 338.5 MB, free: 11.29 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.006613, allocations: 4 kB / 338.5 MB, free: 11.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003008/0.006914, allocations: 125.6 kB / 338.6 MB, free: 11.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.839e-05/0.006933, allocations: 51.41 kB / 338.7 MB, free: 11.1 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.007055, allocations: 176.7 kB / 338.8 MB, free: 10.92 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.929e-06/0.007065, allocations: 25.7 kB / 338.9 MB, free: 10.89 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.602e-05/0.007121, allocations: 121.8 kB / 339 MB, free: 10.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.889e-05/0.00714, allocations: 27.78 kB / 339 MB, free: 10.74 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.301e-05/0.007193, allocations: 29.66 kB / 339 MB, free: 10.7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.424e-05/0.007237, allocations: 326.8 kB / 339.4 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.78e-05/0.007315, allocations: 31.97 kB / 339.4 MB, free: 10.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.585e-05/0.007401, allocations: 64.27 kB / 339.5 MB, free: 10.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.007567, allocations: 104.1 kB / 339.6 MB, free: 10.15 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.007569, allocations: 4.25 kB / 339.6 MB, free: 10.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002303/0.0078, allocations: 149.4 kB / 339.7 MB, free: 9.992 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.007815, allocations: 7.125 kB / 339.7 MB, free: 9.988 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.007822, allocations: 8 kB / 339.7 MB, free: 9.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.007836, allocations: 0 / 339.7 MB, free: 9.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.008052, allocations: 43.91 kB / 339.8 MB, free: 9.938 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000609/0.008661, allocations: 1.278 MB / 341 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.016e-05/0.008731, allocations: 11.95 kB / 341.1 MB, free: 8.547 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.00874, allocations: 4 kB / 341.1 MB, free: 8.543 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.58e-05/0.008806, allocations: 129.9 kB / 341.2 MB, free: 8.406 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/0.008836, allocations: 19.84 kB / 341.2 MB, free: 8.387 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.713e-05/0.008853, allocations: 13.47 kB / 341.2 MB, free: 8.375 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.008855, allocations: 0 / 341.2 MB, free: 8.375 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.008856, allocations: 0 / 341.2 MB, free: 8.375 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.008859, allocations: 0 / 341.2 MB, free: 8.375 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003769/0.009235, allocations: 342.9 kB / 341.6 MB, free: 8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.009237, allocations: 0 / 341.6 MB, free: 8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/0.009376, allocations: 31.92 kB / 341.6 MB, free: 7.969 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.009379, allocations: 4.031 kB / 341.6 MB, free: 7.965 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.009388, allocations: 0 / 341.6 MB, free: 7.965 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000439/0.009827, allocations: 1.278 MB / 342.9 MB, free: 6.59 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.009828, allocations: 0 / 342.9 MB, free: 6.59 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.01006, allocations: 248.4 kB / 343.1 MB, free: 6.328 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.994e-05/0.01009, allocations: 19.89 kB / 343.1 MB, free: 6.309 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.01011, allocations: 0 / 343.1 MB, free: 6.309 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.559e-05/0.01018, allocations: 7.984 kB / 343.1 MB, free: 6.301 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.729e-05/0.01023, allocations: 11.94 kB / 343.2 MB, free: 6.289 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.01023, allocations: 3.938 kB / 343.2 MB, free: 6.285 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.83e-05/0.01029, allocations: 123.2 kB / 343.3 MB, free: 6.164 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01029, allocations: 0 / 343.3 MB, free: 6.164 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002821/0.01057, allocations: 35.88 kB / 343.3 MB, free: 6.129 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 6.413e-05/0.01064, allocations: 99.31 kB / 343.4 MB, free: 6.02 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002706/0.01091, allocations: 92.16 kB / 343.5 MB, free: 5.926 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01091, allocations: 0 / 343.5 MB, free: 5.926 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.01102, allocations: 44.5 kB / 343.5 MB, free: 5.883 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/0.01144, allocations: 46.61 kB / 343.6 MB, free: 5.844 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004899/0.01193, allocations: 308.5 kB / 343.9 MB, free: 5.52 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.427e-05/0.012, allocations: 93.61 kB / 344 MB, free: 5.406 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.822e-05/0.01205, allocations: 12.97 kB / 344 MB, free: 5.391 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.741e-05/0.01209, allocations: 16.5 kB / 344 MB, free: 5.375 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01209, allocations: 4 kB / 344 MB, free: 5.371 MB / 266.7 MB Notification: Performance of Templates: time 0.00357/0.01566, allocations: 1.607 MB / 345.6 MB, free: 3.824 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.6437369994819164]