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.0009104/0.0009104, allocations: 73.97 kB / 20.65 MB, free: 3.848 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.0009916/0.0009916, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.964/0.964, allocations: 177.1 MB / 204.5 MB, free: 5.098 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.004676/0.004676, allocations: 1.029 MB / 262.1 MB, free: 11.79 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.363e-06/1.363e-06, allocations: 0 / 335.4 MB, free: 116 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.027e-05/2.163e-05, allocations: 2.312 kB / 335.4 MB, free: 112 kB / 298.7 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD): time 0.002342/0.002363, allocations: 1.836 MB / 337.3 MB, free: 14.26 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000846/0.003209, allocations: 0.5727 MB / 337.8 MB, free: 13.68 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.301e-05/0.003282, allocations: 0 / 337.8 MB, free: 13.68 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001443/0.003427, allocations: 23.8 kB / 337.9 MB, free: 13.66 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 5.649e-05/0.003483, allocations: 39.64 kB / 337.9 MB, free: 13.62 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002255/0.003709, allocations: 87.83 kB / 338 MB, free: 13.53 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.003893, allocations: 179.3 kB / 338.2 MB, free: 13.36 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.004008, allocations: 37.72 kB / 338.2 MB, free: 13.32 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.004115, allocations: 79.75 kB / 338.3 MB, free: 13.24 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.031e-05/0.004186, allocations: 43.81 kB / 338.3 MB, free: 13.2 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.004207, allocations: 8 kB / 338.3 MB, free: 13.19 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.494e-05/0.004222, allocations: 12 kB / 338.3 MB, free: 13.18 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.26e-05/0.004255, allocations: 31.84 kB / 338.4 MB, free: 13.14 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.554e-05/0.00429, allocations: 31.92 kB / 338.4 MB, free: 13.11 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.004425, allocations: 87.64 kB / 338.5 MB, free: 13.03 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.004428, allocations: 4 kB / 338.5 MB, free: 13.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.004429, allocations: 0 / 338.5 MB, free: 13.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.004434, allocations: 4 kB / 338.5 MB, free: 13.02 MB / 314.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.000478/0.004912, allocations: 471.8 kB / 339 MB, free: 12.52 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.00495, allocations: 12.03 kB / 339 MB, free: 12.51 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.431e-05/0.004994, allocations: 24.84 kB / 339 MB, free: 12.49 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.005153, allocations: 154.1 kB / 339.2 MB, free: 12.31 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.005166, allocations: 8.375 kB / 339.2 MB, free: 12.3 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.005189, allocations: 12.38 kB / 339.2 MB, free: 12.29 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002367/0.005426, allocations: 110.2 kB / 339.3 MB, free: 12.16 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.005433, allocations: 4.188 kB / 339.3 MB, free: 12.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.005442, allocations: 384 / 339.3 MB, free: 12.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.005448, allocations: 7.938 kB / 339.3 MB, free: 12.15 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.682e-05/0.005484, allocations: 15.98 kB / 339.3 MB, free: 12.14 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004561/0.005941, allocations: 0.4987 MB / 339.8 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.028e-05/0.006021, allocations: 43.05 kB / 339.8 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.521e-05/0.006046, allocations: 23.81 kB / 339.9 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.006058, allocations: 0 / 339.9 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.006078, allocations: 33.39 kB / 339.9 MB, free: 11.48 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.006079, allocations: 0 / 339.9 MB, free: 11.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001558/0.006235, allocations: 73.53 kB / 340 MB, free: 11.4 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.006267, allocations: 55.39 kB / 340 MB, free: 11.34 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.006378, allocations: 217.8 kB / 340.2 MB, free: 11.11 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.006389, allocations: 25.7 kB / 340.3 MB, free: 11.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.863e-05/0.006457, allocations: 174.4 kB / 340.4 MB, free: 10.9 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.587e-05/0.006473, allocations: 19.78 kB / 340.5 MB, free: 10.88 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.183e-05/0.006515, allocations: 43.3 kB / 340.5 MB, free: 10.83 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.006639, allocations: 0.5039 MB / 341 MB, free: 10.31 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.311e-05/0.006662, allocations: 4 kB / 341 MB, free: 10.31 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.154e-05/0.006704, allocations: 62.34 kB / 341.1 MB, free: 10.23 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.94e-05/0.006773, allocations: 74.3 kB / 341.1 MB, free: 10.13 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.006776, allocations: 0 / 341.1 MB, free: 10.13 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001088/0.006884, allocations: 97.59 kB / 341.2 MB, free: 10.03 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.006897, allocations: 10.38 kB / 341.2 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.006903, allocations: 4 kB / 341.2 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.006912, allocations: 0 / 341.2 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.007069, allocations: 35.97 kB / 341.3 MB, free: 9.984 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007709/0.00784, allocations: 1.798 MB / 343.1 MB, free: 8.078 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.141e-05/0.007891, allocations: 8.188 kB / 343.1 MB, free: 8.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.007899, allocations: 12 kB / 343.1 MB, free: 8.059 MB / 314.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 7.381e-05/0.007973, allocations: 160.5 kB / 343.3 MB, free: 7.891 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.007997, allocations: 15.91 kB / 343.3 MB, free: 7.875 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.076e-05/0.008018, allocations: 17.45 kB / 343.3 MB, free: 7.855 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.00802, allocations: 3.938 kB / 343.3 MB, free: 7.852 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.008021, allocations: 0 / 343.3 MB, free: 7.852 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.008024, allocations: 0 / 343.3 MB, free: 7.852 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002611/0.008285, allocations: 321.7 kB / 343.6 MB, free: 7.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.008287, allocations: 0 / 343.6 MB, free: 7.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.008403, allocations: 31.98 kB / 343.6 MB, free: 7.469 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.008405, allocations: 0 / 343.6 MB, free: 7.469 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.008414, allocations: 3.938 kB / 343.6 MB, free: 7.465 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006665/0.009081, allocations: 1.798 MB / 345.4 MB, free: 5.559 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.009082, allocations: 0 / 345.4 MB, free: 5.559 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.009222, allocations: 235.4 kB / 345.7 MB, free: 5.305 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.891e-05/0.009251, allocations: 19.89 kB / 345.7 MB, free: 5.285 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.083e-05/0.009262, allocations: 0 / 345.7 MB, free: 5.285 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.818e-05/0.00931, allocations: 7.984 kB / 345.7 MB, free: 5.277 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/0.009342, allocations: 8 kB / 345.7 MB, free: 5.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.009348, allocations: 4.125 kB / 345.7 MB, free: 5.266 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.005e-05/0.009408, allocations: 155.1 kB / 345.9 MB, free: 5.113 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.009408, allocations: 4.094 kB / 345.9 MB, free: 5.109 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001862/0.009594, allocations: 27.94 kB / 345.9 MB, free: 5.082 MB / 314.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 8.99e-05/0.009684, allocations: 95.25 kB / 346 MB, free: 4.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001652/0.009849, allocations: 67.75 kB / 346.1 MB, free: 4.906 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.009851, allocations: 0 / 346.1 MB, free: 4.906 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.191e-05/0.009903, allocations: 35.89 kB / 346.1 MB, free: 4.867 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.01018, allocations: 45.09 kB / 346.1 MB, free: 4.828 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000605/0.01078, allocations: 321.9 kB / 346.4 MB, free: 4.488 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.934e-05/0.01082, allocations: 63.34 kB / 346.5 MB, free: 4.406 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.269e-05/0.01087, allocations: 17.19 kB / 346.5 MB, free: 4.387 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.144e-05/0.01095, allocations: 90.19 kB / 346.6 MB, free: 4.297 MB / 314.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01095, allocations: 4 kB / 346.6 MB, free: 4.293 MB / 314.7 MB Notification: Performance of Templates: time 0.003533/0.01449, allocations: 1.765 MB / 348.4 MB, free: 2.59 MB / 314.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.8431753958575428]