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.001445/0.001445, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.001667/0.001667, allocations: 218.8 kB / 23.01 MB, free: 4.609 MB / 14.72 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.448/1.448, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.1 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.008223/0.008223, allocations: 1.335 MB / 314.5 MB, free: 1.871 MB / 238.1 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) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld 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: BoundaryInitBlocks requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002375/0.002375, allocations: 67.91 kB / 440.7 MB, free: 12.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1172, allocations: 53.67 MB / 494.4 MB, free: 6.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD): time 0.003343/0.1205, allocations: 1.818 MB / 496.2 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.1217, allocations: 0.5922 MB / 496.8 MB, free: 4.395 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.054e-05/0.1218, allocations: 0 / 496.8 MB, free: 4.395 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000149/0.1219, allocations: 23.8 kB / 496.8 MB, free: 4.371 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.943e-05/0.122, allocations: 35.66 kB / 496.8 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002683/0.1223, allocations: 87.83 kB / 496.9 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000278/0.1226, allocations: 179.3 kB / 497.1 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.1227, allocations: 37.67 kB / 497.1 MB, free: 4.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.946e-05/0.1228, allocations: 55.72 kB / 497.2 MB, free: 3.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.1229, allocations: 55.72 kB / 497.2 MB, free: 3.926 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.1229, allocations: 8 kB / 497.2 MB, free: 3.918 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.276e-05/0.123, allocations: 12 kB / 497.3 MB, free: 3.906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.617e-05/0.123, allocations: 31.91 kB / 497.3 MB, free: 3.875 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.503e-05/0.1231, allocations: 67.55 kB / 497.4 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002078/0.1233, allocations: 127.4 kB / 497.5 MB, free: 3.684 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1233, allocations: 0 / 497.5 MB, free: 3.684 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1233, allocations: 0 / 497.5 MB, free: 3.684 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.271e-06/0.1233, allocations: 0 / 497.5 MB, free: 3.684 MB / 350.1 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.0006888/0.124, allocations: 373.5 kB / 497.8 MB, free: 3.289 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.124, allocations: 12.03 kB / 497.9 MB, free: 3.277 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.172e-05/0.1241, allocations: 20.84 kB / 497.9 MB, free: 3.258 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.1243, allocations: 147 kB / 498 MB, free: 3.086 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.1243, allocations: 8.375 kB / 498 MB, free: 3.078 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.63e-05/0.1244, allocations: 12.38 kB / 498 MB, free: 3.066 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002925/0.1247, allocations: 123.5 kB / 498.2 MB, free: 2.934 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1247, allocations: 0 / 498.2 MB, free: 2.934 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.1247, allocations: 4 kB / 498.2 MB, free: 2.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.1247, allocations: 8 kB / 498.2 MB, free: 2.922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002191/0.1249, allocations: 63.95 kB / 498.2 MB, free: 2.859 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008374/0.1258, allocations: 471.7 kB / 498.7 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.126, allocations: 78.45 kB / 498.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.1261, allocations: 32.97 kB / 498.8 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.1261, allocations: 4 kB / 498.8 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.1261, allocations: 34.56 kB / 498.8 MB, free: 2.184 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.106e-06/0.1261, allocations: 4 kB / 498.8 MB, free: 2.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004244/0.1266, allocations: 133.3 kB / 499 MB, free: 2.043 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.1266, allocations: 51.41 kB / 499 MB, free: 1.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.1268, allocations: 175.8 kB / 499.2 MB, free: 1.801 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.1268, allocations: 29.7 kB / 499.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.492e-05/0.1269, allocations: 120 kB / 499.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.1269, allocations: 23.8 kB / 499.4 MB, free: 1.621 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.409e-05/0.127, allocations: 37.66 kB / 499.4 MB, free: 1.578 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.1271, allocations: 322.8 kB / 499.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.1272, allocations: 35.97 kB / 499.8 MB, free: 1.219 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.1274, allocations: 60.27 kB / 499.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.1276, allocations: 108.1 kB / 499.9 MB, free: 1.023 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.1276, allocations: 0 / 499.9 MB, free: 1.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003098/0.1279, allocations: 141.4 kB / 0.4883 GB, free: 0.8789 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.1279, allocations: 10.81 kB / 0.4883 GB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.128, allocations: 3.938 kB / 0.4884 GB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.128, allocations: 0 / 0.4884 GB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002701/0.1282, allocations: 39.97 kB / 0.4884 GB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/0.1295, allocations: 1.309 MB / 0.4897 GB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.846e-05/0.1295, allocations: 8.094 kB / 0.4897 GB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.1296, allocations: 8 kB / 0.4897 GB, free: 15.39 MB / 366.1 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 0.000119/0.1297, allocations: 125.8 kB / 0.4898 GB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.629e-05/0.1297, allocations: 15.89 kB / 0.4898 GB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.877e-05/0.1297, allocations: 17.34 kB / 0.4898 GB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.1297, allocations: 0 / 0.4898 GB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.1297, allocations: 0 / 0.4898 GB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1297, allocations: 0 / 0.4898 GB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005753/0.1303, allocations: 378.6 kB / 0.4902 GB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1303, allocations: 0 / 0.4902 GB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002178/0.1305, allocations: 31.92 kB / 0.4902 GB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1305, allocations: 0 / 0.4902 GB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.1306, allocations: 3.984 kB / 0.4902 GB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001036/0.1316, allocations: 1.309 MB / 0.4915 GB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1316, allocations: 4.156 kB / 0.4915 GB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004131/0.132, allocations: 240.2 kB / 0.4917 GB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.381e-05/0.132, allocations: 11.98 kB / 0.4918 GB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.1321, allocations: 3.984 kB / 0.4918 GB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.1322, allocations: 16 kB / 0.4918 GB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.079e-05/0.1322, allocations: 8.078 kB / 0.4918 GB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.1322, allocations: 3.938 kB / 0.4918 GB, free: 13.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001047/0.1323, allocations: 127.5 kB / 0.4919 GB, free: 12.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1323, allocations: 0 / 0.4919 GB, free: 12.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002717/0.1326, allocations: 35.83 kB / 0.4919 GB, free: 12.89 MB / 366.1 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.0001157/0.1327, allocations: 100.9 kB / 0.492 GB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004529/0.1332, allocations: 99.88 kB / 0.4921 GB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1332, allocations: 0 / 0.4921 GB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002554/0.1334, allocations: 56.2 kB / 0.4922 GB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004628/0.1339, allocations: 48.08 kB / 0.4922 GB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007267/0.1346, allocations: 352.4 kB / 0.4926 GB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.135, allocations: 0.7117 MB / 0.4933 GB, free: 11.47 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.909e-05/0.1351, allocations: 15.44 kB / 0.4933 GB, free: 11.45 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1351, allocations: 4 kB / 0.4933 GB, free: 11.45 MB / 366.1 MB Notification: Performance of Templates: time 0.004373/0.1394, allocations: 2.115 MB / 0.4953 GB, free: 9.352 MB / 366.1 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 -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: 7.371144963894039] Failed to read output from testmodel.py, exit status != 0: 0.14826618717052042 0.36506719600000004 0.238719793 Calling exit ...