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.0009232/0.0009232, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009706/0.0009706, allocations: 169 kB / 23.02 MB, free: 1.547 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.9925/0.9925, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.007637/0.007637, allocations: 1.033 MB / 261 MB, free: 12.12 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.613e-06/1.613e-06, allocations: 0 / 334.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.59e-05/2.751e-05, allocations: 8.703 kB / 334.2 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD): time 0.002045/0.002072, allocations: 1.852 MB / 336 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007539/0.002826, allocations: 0.5689 MB / 336.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.142e-05/0.002897, allocations: 3.938 kB / 336.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001437/0.003041, allocations: 23.73 kB / 336.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.956e-05/0.003091, allocations: 31.72 kB / 336.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002311/0.003322, allocations: 83.88 kB / 336.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.003486, allocations: 183.2 kB / 336.9 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.003611, allocations: 37.73 kB / 337 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.97e-05/0.003701, allocations: 79.8 kB / 337 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.541e-05/0.003766, allocations: 43.81 kB / 337.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.354e-05/0.00379, allocations: 12 kB / 337.1 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.601e-05/0.003806, allocations: 12 kB / 337.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.735e-05/0.003833, allocations: 27.86 kB / 337.1 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.623e-05/0.003869, allocations: 39.91 kB / 337.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.004002, allocations: 87.59 kB / 337.3 MB, free: 12.26 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.004005, allocations: 0 / 337.3 MB, free: 12.26 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.004006, allocations: 0 / 337.3 MB, free: 12.26 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.227e-06/0.00401, allocations: 0 / 337.3 MB, free: 12.26 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.0003921/0.004402, allocations: 467.9 kB / 337.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.376e-05/0.004466, allocations: 12.02 kB / 337.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.971e-05/0.004516, allocations: 24.84 kB / 337.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.00465, allocations: 153.8 kB / 337.9 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.004659, allocations: 12.38 kB / 337.9 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.004685, allocations: 12.36 kB / 337.9 MB, free: 11.53 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.004833, allocations: 110.2 kB / 338 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.00484, allocations: 8.125 kB / 338 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.004851, allocations: 4.375 kB / 338 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/0.00486, allocations: 3.938 kB / 338 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.169e-05/0.004911, allocations: 28.59 kB / 338.1 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004309/0.005342, allocations: 0.5101 MB / 338.6 MB, free: 10.81 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.481e-05/0.005437, allocations: 54.98 kB / 338.6 MB, free: 10.74 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.099e-05/0.005468, allocations: 19.8 kB / 338.7 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.005485, allocations: 4 kB / 338.7 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.44e-05/0.005499, allocations: 33.39 kB / 338.7 MB, free: 10.67 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.0055, allocations: 0 / 338.7 MB, free: 10.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001512/0.005652, allocations: 77.59 kB / 338.8 MB, free: 10.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.663e-05/0.005668, allocations: 55.34 kB / 338.8 MB, free: 10.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.654e-05/0.005755, allocations: 226.3 kB / 339 MB, free: 10.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.324e-06/0.005762, allocations: 29.7 kB / 339.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.282e-05/0.005805, allocations: 164.6 kB / 339.2 MB, free: 10.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.274e-05/0.005818, allocations: 19.8 kB / 339.3 MB, free: 10.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/0.005851, allocations: 43.31 kB / 339.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.433e-05/0.005895, allocations: 0.4884 MB / 339.8 MB, free: 9.516 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.676e-05/0.005922, allocations: 15.92 kB / 339.8 MB, free: 9.5 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.566e-05/0.005958, allocations: 58.44 kB / 339.9 MB, free: 9.422 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.429e-05/0.006022, allocations: 82.36 kB / 339.9 MB, free: 9.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.006024, allocations: 0 / 339.9 MB, free: 9.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 9.988e-05/0.006124, allocations: 105.4 kB / 340 MB, free: 9.211 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.006136, allocations: 6.969 kB / 340 MB, free: 9.207 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.006141, allocations: 0 / 340 MB, free: 9.207 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.006155, allocations: 4 kB / 340.1 MB, free: 9.203 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.006314, allocations: 36.11 kB / 340.1 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005023/0.006816, allocations: 1.813 MB / 341.9 MB, free: 7.238 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.006861, allocations: 19.88 kB / 341.9 MB, free: 7.219 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.006868, allocations: 4 kB / 341.9 MB, free: 7.215 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 5.207e-05/0.00692, allocations: 168.6 kB / 342.1 MB, free: 7.039 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.97e-05/0.006939, allocations: 15.84 kB / 342.1 MB, free: 7.023 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.211e-05/0.006951, allocations: 13.47 kB / 342.1 MB, free: 7.008 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.006953, allocations: 0 / 342.1 MB, free: 7.008 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.006955, allocations: 7.984 kB / 342.1 MB, free: 7 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.006957, allocations: 0 / 342.1 MB, free: 7 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.007161, allocations: 357 kB / 342.5 MB, free: 6.605 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.007162, allocations: 0 / 342.5 MB, free: 6.605 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.007267, allocations: 24.02 kB / 342.5 MB, free: 6.582 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.007269, allocations: 8 kB / 342.5 MB, free: 6.574 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.007283, allocations: 0 / 342.5 MB, free: 6.574 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003756/0.007659, allocations: 1.809 MB / 344.3 MB, free: 4.648 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.00766, allocations: 0 / 344.3 MB, free: 4.648 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001087/0.007768, allocations: 239.8 kB / 344.5 MB, free: 4.391 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.246e-05/0.007791, allocations: 15.91 kB / 344.6 MB, free: 4.375 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.465e-06/0.007799, allocations: 8 kB / 344.6 MB, free: 4.367 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.309e-05/0.007842, allocations: 3.984 kB / 344.6 MB, free: 4.363 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.007882, allocations: 19.86 kB / 344.6 MB, free: 4.344 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.007885, allocations: 0 / 344.6 MB, free: 4.344 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.257e-05/0.007928, allocations: 159.2 kB / 344.8 MB, free: 4.188 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007928, allocations: 0 / 344.8 MB, free: 4.188 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001749/0.008103, allocations: 23.94 kB / 344.8 MB, free: 4.164 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.957e-05/0.008172, allocations: 107.3 kB / 344.9 MB, free: 4.047 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000172/0.008344, allocations: 59.88 kB / 344.9 MB, free: 3.98 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.008345, allocations: 3.938 kB / 344.9 MB, free: 3.977 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.129e-05/0.008397, allocations: 35.89 kB / 345 MB, free: 3.938 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.008644, allocations: 50.78 kB / 345 MB, free: 3.898 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006497/0.009294, allocations: 308.2 kB / 345.3 MB, free: 3.57 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.336e-05/0.009327, allocations: 71.2 kB / 345.4 MB, free: 3.48 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.096e-05/0.009368, allocations: 12.97 kB / 345.4 MB, free: 3.465 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.009403, allocations: 16.5 kB / 345.4 MB, free: 3.449 MB / 266.7 MB Notification: Performance of SimCode: time 8.72e-07/0.009404, allocations: 0 / 345.4 MB, free: 3.449 MB / 266.7 MB Notification: Performance of Templates: time 0.00294/0.01234, allocations: 1.622 MB / 347 MB, free: 1.887 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=240 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.983786885160953]