Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_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.00144/0.00144, allocations: 103.6 kB / 18.95 MB, free: 2.691 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.001753/0.001753, allocations: 213.1 kB / 22.24 MB, free: 5.242 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.484/1.484, allocations: 230.6 MB / 256 MB, free: 7.812 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.008273/0.008273, allocations: 1.34 MB / 313.8 MB, free: 1.664 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.NonInvertibleConfig.SteadyState_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_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.00236/0.00236, allocations: 63.91 kB / 439.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1238, allocations: 53.68 MB / 493.5 MB, free: 6.656 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD): time 0.004517/0.1283, allocations: 1.619 MB / 495.1 MB, free: 5.027 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.1298, allocations: 0.53 MB / 495.6 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.1299, allocations: 0 / 495.6 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002118/0.1301, allocations: 19.86 kB / 495.7 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.1302, allocations: 19.78 kB / 495.7 MB, free: 4.453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003361/0.1306, allocations: 83.84 kB / 495.8 MB, free: 4.371 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002627/0.1308, allocations: 111.6 kB / 495.9 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.131, allocations: 33.45 kB / 495.9 MB, free: 4.223 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.461e-05/0.1311, allocations: 43.73 kB / 495.9 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.252e-05/0.1311, allocations: 31.78 kB / 496 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.1312, allocations: 8 kB / 496 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.171e-05/0.1312, allocations: 8 kB / 496 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.069e-05/0.1312, allocations: 15.92 kB / 496 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.725e-05/0.1313, allocations: 31.81 kB / 496 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.1314, allocations: 95.5 kB / 496.1 MB, free: 3.992 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1315, allocations: 0 / 496.1 MB, free: 3.992 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1315, allocations: 3.938 kB / 496.1 MB, free: 3.988 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.1315, allocations: 4 kB / 496.1 MB, free: 3.984 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006068/0.1321, allocations: 333.9 kB / 496.5 MB, free: 3.629 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.1321, allocations: 8.031 kB / 496.5 MB, free: 3.621 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.34e-05/0.1322, allocations: 8.891 kB / 496.5 MB, free: 3.613 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/0.1324, allocations: 146.9 kB / 496.6 MB, free: 3.445 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.1324, allocations: 8.375 kB / 496.6 MB, free: 3.438 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.734e-05/0.1325, allocations: 16.11 kB / 496.7 MB, free: 3.422 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.1327, allocations: 96.23 kB / 496.7 MB, free: 3.312 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.1327, allocations: 0 / 496.7 MB, free: 3.312 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.1327, allocations: 3.938 kB / 496.7 MB, free: 3.309 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.1327, allocations: 8 kB / 496.8 MB, free: 3.301 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.521e-05/0.1328, allocations: 27.98 kB / 496.8 MB, free: 3.273 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007425/0.1335, allocations: 452.6 kB / 497.2 MB, free: 2.793 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.1336, allocations: 38.5 kB / 497.3 MB, free: 2.746 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.458e-05/0.1337, allocations: 16.8 kB / 497.3 MB, free: 2.727 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.1337, allocations: 0 / 497.3 MB, free: 2.727 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.1337, allocations: 34.56 kB / 497.3 MB, free: 2.684 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1337, allocations: 0 / 497.3 MB, free: 2.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001953/0.1339, allocations: 65.67 kB / 497.4 MB, free: 2.613 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.134, allocations: 51.41 kB / 497.4 MB, free: 2.551 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.1341, allocations: 170.1 kB / 497.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.1342, allocations: 25.7 kB / 497.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.1343, allocations: 119.9 kB / 497.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.785e-05/0.1343, allocations: 15.89 kB / 497.8 MB, free: 2.207 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.692e-05/0.1343, allocations: 25.72 kB / 497.8 MB, free: 2.176 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.1345, allocations: 322.8 kB / 498.1 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.626e-05/0.1345, allocations: 15.98 kB / 498.1 MB, free: 1.836 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.281e-05/0.1346, allocations: 67.67 kB / 498.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.1347, allocations: 95.59 kB / 498.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1347, allocations: 0 / 498.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001985/0.1349, allocations: 117.6 kB / 498.4 MB, free: 1.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.135, allocations: 8 kB / 498.4 MB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.135, allocations: 3.938 kB / 498.4 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.135, allocations: 4 kB / 498.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.1351, allocations: 27.92 kB / 498.4 MB, free: 1.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.1351, allocations: 0 / 498.4 MB, free: 1.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.48e-05/0.1352, allocations: 11.89 kB / 498.4 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.1352, allocations: 8 kB / 498.4 MB, free: 1.438 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (12): * Single equations (assignments): 12 * 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.000111/0.1353, allocations: 125.8 kB / 498.6 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.805e-05/0.1353, allocations: 12.08 kB / 498.6 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.682e-05/0.1354, allocations: 16.27 kB / 498.6 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.1354, allocations: 4 kB / 498.6 MB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1354, allocations: 0 / 498.6 MB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1354, allocations: 240 / 498.6 MB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003346/0.1357, allocations: 263 kB / 498.9 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.1357, allocations: 3.938 kB / 498.9 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.421e-05/0.1358, allocations: 15.97 kB / 498.9 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1358, allocations: 0 / 498.9 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.1358, allocations: 8 kB / 498.9 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.1358, allocations: 4.062 kB / 498.9 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1358, allocations: 0 / 498.9 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001841/0.136, allocations: 156.4 kB / 499 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.806e-05/0.1361, allocations: 15.92 kB / 499.1 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.1361, allocations: 3.984 kB / 499.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.905e-05/0.1361, allocations: 4 kB / 499.1 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.913e-05/0.1362, allocations: 7.875 kB / 499.1 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.1362, allocations: 0 / 499.1 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.757e-05/0.1363, allocations: 120.1 kB / 499.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1363, allocations: 0 / 499.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002661/0.1365, allocations: 15.94 kB / 499.2 MB, free: 0.6094 MB / 350.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 (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001116/0.1366, allocations: 99.31 kB / 499.3 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001307/0.1368, allocations: 39.92 kB / 499.3 MB, free: 476 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1368, allocations: 0 / 499.3 MB, free: 476 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.245e-05/0.1368, allocations: 19.88 kB / 499.4 MB, free: 456 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004687/0.1373, allocations: 47.36 kB / 499.4 MB, free: 416 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006318/0.1379, allocations: 276.1 kB / 499.7 MB, free: 112 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.138, allocations: 96.12 kB / 499.8 MB, free: 16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.889e-05/0.1381, allocations: 8.484 kB / 499.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.264e-05/0.1381, allocations: 15.44 kB / 499.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1381, allocations: 0 / 499.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of Templates: time 0.00421/0.1423, allocations: 1.167 MB / 0.4892 GB, free: 14.87 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.makefile [Timeout 660] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=480 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.669309180229902] Failed to read output from testmodel.py, exit status != 0: 0.15125295892357826 0.167678185 0.032879891 Calling exit ...