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.001196/0.001196, allocations: 85.27 kB / 19.87 MB, free: 4.617 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.001202/0.001202, allocations: 165 kB / 23.27 MB, free: 1.219 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.9492/0.9492, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.007411/0.007411, allocations: 1.03 MB / 261.3 MB, free: 11.96 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.603e-06/1.603e-06, allocations: 0 / 334.7 MB, free: 104 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.547e-05/2.707e-05, allocations: 6.25 kB / 334.7 MB, free: 96 kB / 298.7 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD): time 0.006379/0.006406, allocations: 1.839 MB / 336.5 MB, free: 14.25 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004332/0.01074, allocations: 0.5689 MB / 337.1 MB, free: 13.67 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.531e-05/0.01083, allocations: 7.938 kB / 337.1 MB, free: 13.66 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001524/0.01099, allocations: 19.73 kB / 337.1 MB, free: 13.64 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 8.388e-05/0.01107, allocations: 35.7 kB / 337.1 MB, free: 13.61 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002775/0.01135, allocations: 87.88 kB / 337.2 MB, free: 13.52 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002544/0.0116, allocations: 175.3 kB / 337.4 MB, free: 13.35 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.01174, allocations: 37.72 kB / 337.4 MB, free: 13.31 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.01189, allocations: 83.78 kB / 337.5 MB, free: 13.23 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.713e-05/0.01197, allocations: 39.84 kB / 337.5 MB, free: 13.19 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.071e-05/0.012, allocations: 12 kB / 337.6 MB, free: 13.18 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.863e-05/0.01202, allocations: 8 kB / 337.6 MB, free: 13.17 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.046e-05/0.01205, allocations: 31.84 kB / 337.6 MB, free: 13.14 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.568e-05/0.0121, allocations: 31.92 kB / 337.6 MB, free: 13.11 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.01225, allocations: 99.58 kB / 337.7 MB, free: 13.01 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.01226, allocations: 0 / 337.7 MB, free: 13.01 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.01226, allocations: 0 / 337.7 MB, free: 13.01 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.928e-06/0.01226, allocations: 0 / 337.7 MB, free: 13.01 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.003554/0.01582, allocations: 475.9 kB / 338.2 MB, free: 12.51 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.01585, allocations: 8.031 kB / 338.2 MB, free: 12.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.202e-05/0.01591, allocations: 24.78 kB / 338.2 MB, free: 12.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/0.01608, allocations: 154.1 kB / 338.4 MB, free: 12.3 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.0161, allocations: 8.375 kB / 338.4 MB, free: 12.29 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.01612, allocations: 12.38 kB / 338.4 MB, free: 12.28 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.01632, allocations: 116.6 kB / 338.5 MB, free: 12.15 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.01633, allocations: 4.188 kB / 338.5 MB, free: 12.15 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.01634, allocations: 4.375 kB / 338.5 MB, free: 12.14 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.01635, allocations: 3.938 kB / 338.5 MB, free: 12.14 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.893e-05/0.01641, allocations: 23.98 kB / 338.5 MB, free: 12.12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000636/0.01704, allocations: 490.8 kB / 339 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.89e-05/0.01714, allocations: 50.98 kB / 339.1 MB, free: 11.54 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.139e-05/0.01717, allocations: 19.67 kB / 339.1 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.01719, allocations: 0 / 339.1 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.01721, allocations: 37.39 kB / 339.1 MB, free: 11.47 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.01721, allocations: 0 / 339.1 MB, free: 11.47 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001715/0.01738, allocations: 77.66 kB / 339.2 MB, free: 11.39 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.01741, allocations: 51.41 kB / 339.3 MB, free: 11.33 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.01756, allocations: 217.8 kB / 339.5 MB, free: 11.1 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.01757, allocations: 25.7 kB / 339.5 MB, free: 11.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.013e-05/0.01765, allocations: 174.4 kB / 339.7 MB, free: 10.89 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.01767, allocations: 23.78 kB / 339.7 MB, free: 10.87 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.272e-05/0.01773, allocations: 43.25 kB / 339.7 MB, free: 10.82 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.01786, allocations: 0.4961 MB / 340.2 MB, free: 10.31 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.61e-05/0.0179, allocations: 11.98 kB / 340.2 MB, free: 10.3 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002639/0.01816, allocations: 54.41 kB / 340.3 MB, free: 10.22 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.995e-05/0.01825, allocations: 74.38 kB / 340.4 MB, free: 10.13 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.01825, allocations: 0 / 340.4 MB, free: 10.13 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001522/0.01841, allocations: 97.44 kB / 340.5 MB, free: 10.03 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.003035/0.02144, allocations: 8 kB / 340.5 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.02145, allocations: 0 / 340.5 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.02147, allocations: 4 kB / 340.5 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/0.02168, allocations: 36.11 kB / 340.5 MB, free: 9.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009762/0.02266, allocations: 1.798 MB / 342.3 MB, free: 8.074 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.323e-05/0.02273, allocations: 19.92 kB / 342.3 MB, free: 8.055 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.02274, allocations: 0 / 342.3 MB, free: 8.055 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 8.94e-05/0.02283, allocations: 168.6 kB / 342.5 MB, free: 7.879 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.414e-05/0.02286, allocations: 15.91 kB / 342.5 MB, free: 7.863 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.309e-05/0.02289, allocations: 9.469 kB / 342.5 MB, free: 7.852 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.02289, allocations: 3.938 kB / 342.5 MB, free: 7.848 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.02289, allocations: 4 kB / 342.5 MB, free: 7.844 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.0229, allocations: 3.984 kB / 342.5 MB, free: 7.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003421/0.02324, allocations: 321.7 kB / 342.8 MB, free: 7.488 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.02324, allocations: 3.984 kB / 342.8 MB, free: 7.484 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.02342, allocations: 28.02 kB / 342.9 MB, free: 7.457 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.02342, allocations: 4 kB / 342.9 MB, free: 7.453 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.02343, allocations: 3.938 kB / 342.9 MB, free: 7.449 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003934/0.02737, allocations: 1.786 MB / 344.7 MB, free: 5.555 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.728e-06/0.02737, allocations: 4 kB / 344.7 MB, free: 5.551 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/0.02758, allocations: 227.8 kB / 344.9 MB, free: 5.305 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.92e-05/0.02763, allocations: 23.89 kB / 344.9 MB, free: 5.281 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.02764, allocations: 7.938 kB / 344.9 MB, free: 5.273 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.537e-05/0.02774, allocations: 4 kB / 344.9 MB, free: 5.27 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.02778, allocations: 7.984 kB / 344.9 MB, free: 5.262 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-06/0.02779, allocations: 0 / 344.9 MB, free: 5.262 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.532e-05/0.02787, allocations: 159.1 kB / 345.1 MB, free: 5.105 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02787, allocations: 0 / 345.1 MB, free: 5.105 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002987/0.02817, allocations: 23.94 kB / 345.1 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 0.0001223/0.02829, allocations: 111.2 kB / 345.2 MB, free: 4.965 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002211/0.02851, allocations: 59.83 kB / 345.3 MB, free: 4.898 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.02852, allocations: 0 / 345.3 MB, free: 4.898 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.605e-05/0.02861, allocations: 35.89 kB / 345.3 MB, free: 4.859 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/0.029, allocations: 39.91 kB / 345.3 MB, free: 4.82 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008999/0.0299, allocations: 314.6 kB / 345.7 MB, free: 4.484 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.884e-05/0.02994, allocations: 67.34 kB / 345.7 MB, free: 4.398 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.813e-05/0.03001, allocations: 8.969 kB / 345.7 MB, free: 4.387 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.03012, allocations: 90.19 kB / 345.8 MB, free: 4.297 MB / 314.7 MB Notification: Performance of SimCode: time 6.91e-07/0.03012, allocations: 0 / 345.8 MB, free: 4.297 MB / 314.7 MB Notification: Performance of Templates: time 0.005045/0.03517, allocations: 1.735 MB / 347.6 MB, free: 2.633 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.684165232349187]