Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.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.00178/0.00178, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002822/0.002822, allocations: 213.3 kB / 22.24 MB, free: 4.859 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.558/1.558, allocations: 230.6 MB / 256 MB, free: 8.086 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.008268/0.008268, allocations: 1.337 MB / 313.8 MB, free: 1.754 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) Running command: translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD") [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.002094/0.002094, allocations: 67.91 kB / 439.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1184, allocations: 53.68 MB / 493.5 MB, free: 6.723 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD): time 0.003287/0.1216, allocations: 1.634 MB / 495.1 MB, free: 5.078 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.1229, allocations: 0.5455 MB / 495.7 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.271e-05/0.123, allocations: 7.938 kB / 495.7 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000187/0.1232, allocations: 19.8 kB / 495.7 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.439e-05/0.1233, allocations: 31.72 kB / 495.7 MB, free: 4.469 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.1235, allocations: 79.84 kB / 495.8 MB, free: 4.391 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002258/0.1238, allocations: 127.6 kB / 495.9 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.1239, allocations: 37.16 kB / 496 MB, free: 4.227 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.596e-05/0.124, allocations: 39.86 kB / 496 MB, free: 4.188 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.663e-05/0.1241, allocations: 39.72 kB / 496.1 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.397e-05/0.1241, allocations: 8 kB / 496.1 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.139e-05/0.1241, allocations: 8 kB / 496.1 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.247e-05/0.1241, allocations: 23.92 kB / 496.1 MB, free: 4.109 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.769e-05/0.1242, allocations: 51.67 kB / 496.1 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.1244, allocations: 107.5 kB / 496.2 MB, free: 3.953 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.1244, allocations: 4 kB / 496.3 MB, free: 3.949 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1244, allocations: 0 / 496.3 MB, free: 3.949 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.1244, allocations: 0 / 496.3 MB, free: 3.949 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006102/0.125, allocations: 349.7 kB / 496.6 MB, free: 3.578 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.1251, allocations: 12.03 kB / 496.6 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.894e-05/0.1251, allocations: 16.84 kB / 496.6 MB, free: 3.551 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.1254, allocations: 154.3 kB / 496.8 MB, free: 3.375 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.885e-05/0.1254, allocations: 12.38 kB / 496.8 MB, free: 3.363 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/0.1254, allocations: 4.375 kB / 496.8 MB, free: 3.359 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002244/0.1256, allocations: 107.2 kB / 496.9 MB, free: 3.242 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.1256, allocations: 0 / 496.9 MB, free: 3.242 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.1257, allocations: 11.98 kB / 496.9 MB, free: 3.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.1257, allocations: 0 / 496.9 MB, free: 3.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.266e-05/0.1257, allocations: 31.98 kB / 496.9 MB, free: 3.199 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000734/0.1265, allocations: 480.5 kB / 497.4 MB, free: 2.691 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.1266, allocations: 54.55 kB / 497.5 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.512e-05/0.1267, allocations: 20.92 kB / 497.5 MB, free: 2.605 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-06/0.1267, allocations: 0 / 497.5 MB, free: 2.605 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.1267, allocations: 34.56 kB / 497.5 MB, free: 2.562 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.1267, allocations: 0 / 497.5 MB, free: 2.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.000235/0.1269, allocations: 77.47 kB / 497.6 MB, free: 2.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.127, allocations: 55.41 kB / 497.6 MB, free: 2.414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.1272, allocations: 150.2 kB / 497.8 MB, free: 2.258 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.1272, allocations: 29.7 kB / 497.8 MB, free: 2.223 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.1273, allocations: 120.3 kB / 497.9 MB, free: 2.098 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.1273, allocations: 19.83 kB / 498 MB, free: 2.078 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.314e-05/0.1274, allocations: 25.72 kB / 498 MB, free: 2.047 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.1276, allocations: 326.8 kB / 498.3 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.837e-05/0.1276, allocations: 16 kB / 498.3 MB, free: 1.703 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.961e-05/0.1277, allocations: 43.42 kB / 498.4 MB, free: 1.648 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.524e-05/0.1278, allocations: 67.3 kB / 498.4 MB, free: 1.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.1278, allocations: 0 / 498.4 MB, free: 1.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001755/0.1279, allocations: 105.5 kB / 498.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.128, allocations: 8 kB / 498.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.128, allocations: 0 / 498.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.128, allocations: 3.938 kB / 498.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.1281, allocations: 23.98 kB / 498.6 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-06/0.1281, allocations: 0 / 498.6 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.787e-05/0.1282, allocations: 7.953 kB / 498.6 MB, free: 1.418 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.1282, allocations: 4 kB / 498.6 MB, free: 1.414 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001102/0.1283, allocations: 125.7 kB / 498.7 MB, free: 1.281 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.161e-05/0.1283, allocations: 7.953 kB / 498.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.396e-05/0.1284, allocations: 20.39 kB / 498.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.1284, allocations: 3.938 kB / 498.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.289e-06/0.1284, allocations: 0 / 498.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1284, allocations: 0 / 498.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003613/0.1287, allocations: 287 kB / 499 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1287, allocations: 0 / 499 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001866/0.1289, allocations: 23.98 kB / 499 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.241e-06/0.1289, allocations: 7.938 kB / 499 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.1289, allocations: 0 / 499 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001126/0.1301, allocations: 1.278 MB / 0.4886 GB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.1301, allocations: 8.016 kB / 0.4886 GB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.1303, allocations: 184.3 kB / 0.4888 GB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.57e-05/0.1303, allocations: 11.94 kB / 0.4888 GB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.231e-05/0.1303, allocations: 0 / 0.4888 GB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.939e-05/0.1304, allocations: 7.984 kB / 0.4888 GB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.441e-05/0.1304, allocations: 8.219 kB / 0.4888 GB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.1304, allocations: 0 / 0.4888 GB, free: 15.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001035/0.1305, allocations: 124.1 kB / 0.4889 GB, free: 15.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1305, allocations: 0 / 0.4889 GB, free: 15.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002521/0.1308, allocations: 19.94 kB / 0.4889 GB, free: 15.14 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 (4): * Single equations (assignments): 3 * 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.0001296/0.1309, allocations: 95.25 kB / 0.489 GB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001283/0.131, allocations: 43.92 kB / 0.4891 GB, free: 15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.131, allocations: 0 / 0.4891 GB, free: 15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.1312, allocations: 32.11 kB / 0.4891 GB, free: 14.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004621/0.1316, allocations: 39.11 kB / 0.4891 GB, free: 14.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006471/0.1323, allocations: 301.6 kB / 0.4894 GB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.69e-05/0.1324, allocations: 93.03 kB / 0.4895 GB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.924e-05/0.1324, allocations: 12.48 kB / 0.4895 GB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.464e-05/0.1325, allocations: 15.44 kB / 0.4895 GB, free: 14.47 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1325, allocations: 0 / 0.4895 GB, free: 14.47 MB / 366.1 MB Notification: Performance of Templates: time 0.004734/0.1372, allocations: 1.345 MB / 0.4909 GB, free: 13.19 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.makefile [Timeout 660] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=480 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.921690763905644] Failed to read output from testmodel.py, exit status != 0: 0.14546865597367287 0.34366202700000004 0.033020685 Calling exit ...