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.001323/0.001323, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001587/0.001587, allocations: 159.5 kB / 22.45 MB, free: 5.375 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.434/1.434, allocations: 177.2 MB / 202.8 MB, free: 9.16 MB / 190.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.00783/0.00783, allocations: 1.036 MB / 260.2 MB, free: 15.74 MB / 254.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: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 386.4 MB, free: 240 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.352e-05/2.515e-05, allocations: 6.281 kB / 386.4 MB, free: 232 kB / 302.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD): time 0.002939/0.002965, allocations: 1.642 MB / 388 MB, free: 14.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.004034, allocations: 0.53 MB / 388.5 MB, free: 14.04 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.232e-05/0.004106, allocations: 3.938 kB / 388.5 MB, free: 14.03 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001218/0.004228, allocations: 15.86 kB / 388.6 MB, free: 14.02 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.225e-05/0.0043, allocations: 23.73 kB / 388.6 MB, free: 13.99 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002442/0.004544, allocations: 83.88 kB / 388.7 MB, free: 13.91 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002066/0.004751, allocations: 115.6 kB / 388.8 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.004869, allocations: 21.53 kB / 388.8 MB, free: 13.77 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.256e-05/0.004962, allocations: 55.81 kB / 388.9 MB, free: 13.71 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.413e-05/0.005026, allocations: 31.84 kB / 388.9 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.869e-05/0.005055, allocations: 8 kB / 388.9 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.752e-05/0.005072, allocations: 8 kB / 388.9 MB, free: 13.67 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.62e-05/0.005098, allocations: 19.92 kB / 388.9 MB, free: 13.65 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.506e-05/0.005144, allocations: 27.92 kB / 389 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.005294, allocations: 83.67 kB / 389 MB, free: 13.54 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.005296, allocations: 0 / 389 MB, free: 13.54 MB / 318.1 MB Notification: Performance of FrontEnd: time 6.81e-07/0.005297, allocations: 0 / 389 MB, free: 13.54 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.005302, allocations: 4 kB / 389 MB, free: 13.54 MB / 318.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.0004927/0.005794, allocations: 337.7 kB / 389.4 MB, free: 13.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.005825, allocations: 15.97 kB / 389.4 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.4e-05/0.005859, allocations: 8.891 kB / 389.4 MB, free: 13.15 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.006059, allocations: 138.2 kB / 389.5 MB, free: 12.99 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.006072, allocations: 8.375 kB / 389.5 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.0061, allocations: 8.375 kB / 389.5 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.006263, allocations: 92.75 kB / 389.6 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.006274, allocations: 3.938 kB / 389.6 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.006288, allocations: 7.984 kB / 389.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.006296, allocations: 4 kB / 389.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.227e-05/0.006378, allocations: 27.94 kB / 389.7 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006584/0.007037, allocations: 460.5 kB / 390.1 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.248e-05/0.007129, allocations: 30.58 kB / 390.2 MB, free: 12.3 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.418e-05/0.007163, allocations: 16.94 kB / 390.2 MB, free: 12.28 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.007186, allocations: 7.922 kB / 390.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.007212, allocations: 34.56 kB / 390.2 MB, free: 12.23 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.007213, allocations: 0 / 390.2 MB, free: 12.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001776/0.00739, allocations: 61.58 kB / 390.3 MB, free: 12.16 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.007438, allocations: 55.34 kB / 390.3 MB, free: 12.1 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.007596, allocations: 164.2 kB / 390.5 MB, free: 11.93 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/0.007625, allocations: 25.7 kB / 390.5 MB, free: 11.9 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.314e-05/0.007718, allocations: 119.9 kB / 390.6 MB, free: 11.78 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.007736, allocations: 19.89 kB / 390.6 MB, free: 11.76 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.769e-05/0.007794, allocations: 25.72 kB / 390.7 MB, free: 11.73 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.007963, allocations: 322.8 kB / 391 MB, free: 11.4 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.256e-05/0.007995, allocations: 12 kB / 391 MB, free: 11.39 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.31e-05/0.008068, allocations: 63.72 kB / 391.1 MB, free: 11.3 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.00821, allocations: 99.59 kB / 391.2 MB, free: 11.18 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.008212, allocations: 0 / 391.2 MB, free: 11.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001806/0.008393, allocations: 113.4 kB / 391.3 MB, free: 11.06 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.008408, allocations: 12.25 kB / 391.3 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.008413, allocations: 0 / 391.3 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.008428, allocations: 4 kB / 391.3 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.659e-05/0.008525, allocations: 19.94 kB / 391.3 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/0.008538, allocations: 11.92 kB / 391.3 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.987e-05/0.008598, allocations: 15.89 kB / 391.3 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.008606, allocations: 4 kB / 391.3 MB, free: 10.99 MB / 318.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.0001115/0.008717, allocations: 126.7 kB / 391.5 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.008747, allocations: 7.953 kB / 391.5 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.636e-05/0.008774, allocations: 8.344 kB / 391.5 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.008778, allocations: 8 kB / 391.5 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.008786, allocations: 3.938 kB / 391.5 MB, free: 10.83 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.008788, allocations: 0 / 391.5 MB, free: 10.83 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003096/0.009098, allocations: 267 kB / 391.7 MB, free: 10.53 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.009103, allocations: 4 kB / 391.8 MB, free: 10.53 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.553e-05/0.009178, allocations: 8 kB / 391.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.009181, allocations: 0 / 391.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.009192, allocations: 3.938 kB / 391.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.009194, allocations: 4 kB / 391.8 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.009199, allocations: 3.984 kB / 391.8 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.009385, allocations: 168.3 kB / 391.9 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.975e-05/0.009414, allocations: 11.98 kB / 391.9 MB, free: 10.31 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.009433, allocations: 3.938 kB / 392 MB, free: 10.31 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.224e-05/0.009495, allocations: 4 kB / 392 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.08e-05/0.009516, allocations: 3.984 kB / 392 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.009519, allocations: 3.938 kB / 392 MB, free: 10.3 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001059/0.009625, allocations: 123.2 kB / 392.1 MB, free: 10.18 MB / 318.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.009625, allocations: 0 / 392.1 MB, free: 10.18 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.009881, allocations: 15.94 kB / 392.1 MB, free: 10.16 MB / 318.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.0001036/0.009985, allocations: 103.3 kB / 392.2 MB, free: 10.05 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001255/0.01011, allocations: 44.14 kB / 392.2 MB, free: 10 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/0.01012, allocations: 0 / 392.2 MB, free: 10 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.629e-05/0.01013, allocations: 4 kB / 392.2 MB, free: 10 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004155/0.01055, allocations: 39.61 kB / 392.3 MB, free: 9.969 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005155/0.01107, allocations: 250.4 kB / 392.5 MB, free: 9.695 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.119e-05/0.01116, allocations: 99.94 kB / 392.6 MB, free: 9.578 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.889e-05/0.01121, allocations: 12.48 kB / 392.6 MB, free: 9.566 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.061e-05/0.01125, allocations: 12.5 kB / 392.7 MB, free: 9.555 MB / 318.1 MB Notification: Performance of SimCode: time 2.91e-07/0.01125, allocations: 0 / 392.7 MB, free: 9.555 MB / 318.1 MB Notification: Performance of Templates: time 0.004067/0.01531, allocations: 1.094 MB / 393.7 MB, free: 8.516 MB / 318.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.216819487512112] Failed to read output from testmodel.py, exit status != 0: 0.023989569395780563 0.039201738 0.030754364000000003 Calling exit ...