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.001368/0.001368, allocations: 100.4 kB / 19.7 MB, free: 2.125 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.00146/0.00146, allocations: 214.8 kB / 22.99 MB, free: 4.949 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.419/1.419, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.008247/0.008247, allocations: 1.342 MB / 314.5 MB, free: 1.688 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.00237/0.00237, allocations: 63.91 kB / 440.6 MB, free: 12.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1047, allocations: 53.68 MB / 494.3 MB, free: 6.664 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD): time 0.003223/0.1079, allocations: 1.623 MB / 495.9 MB, free: 5.031 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.1091, allocations: 0.5299 MB / 496.4 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.701e-05/0.1091, allocations: 4 kB / 496.4 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001453/0.1093, allocations: 15.8 kB / 496.4 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.898e-05/0.1094, allocations: 23.8 kB / 496.4 MB, free: 4.453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.1096, allocations: 79.89 kB / 496.5 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002036/0.1098, allocations: 111.6 kB / 496.6 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001782/0.11, allocations: 29.47 kB / 496.7 MB, free: 4.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.321e-05/0.1101, allocations: 43.86 kB / 496.7 MB, free: 4.188 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.624e-05/0.1102, allocations: 39.7 kB / 496.7 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.1102, allocations: 4 kB / 496.7 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.994e-05/0.1102, allocations: 8 kB / 496.8 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.975e-05/0.1102, allocations: 15.94 kB / 496.8 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.073e-05/0.1103, allocations: 39.73 kB / 496.8 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.1105, allocations: 91.56 kB / 496.9 MB, free: 3.992 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1105, allocations: 0 / 496.9 MB, free: 3.992 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1105, allocations: 0 / 496.9 MB, free: 3.992 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.1105, allocations: 0 / 496.9 MB, free: 3.992 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.0005244/0.111, allocations: 337.8 kB / 497.2 MB, free: 3.633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.111, allocations: 12.03 kB / 497.2 MB, free: 3.621 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.665e-05/0.1111, allocations: 8.891 kB / 497.2 MB, free: 3.613 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.1113, allocations: 138.9 kB / 497.4 MB, free: 3.453 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.1113, allocations: 4.375 kB / 497.4 MB, free: 3.449 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.33e-05/0.1113, allocations: 16.06 kB / 497.4 MB, free: 3.434 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.1115, allocations: 88.25 kB / 497.5 MB, free: 3.332 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.1115, allocations: 0 / 497.5 MB, free: 3.332 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.1115, allocations: 11.98 kB / 497.5 MB, free: 3.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1115, allocations: 0 / 497.5 MB, free: 3.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.892e-05/0.1116, allocations: 31.92 kB / 497.5 MB, free: 3.289 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006718/0.1123, allocations: 468.5 kB / 498 MB, free: 2.793 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.837e-05/0.1124, allocations: 30.67 kB / 498 MB, free: 2.754 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.073e-05/0.1124, allocations: 16.84 kB / 498 MB, free: 2.734 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.1124, allocations: 0 / 498 MB, free: 2.734 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.1124, allocations: 34.5 kB / 498.1 MB, free: 2.691 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.1124, allocations: 3.938 kB / 498.1 MB, free: 2.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001754/0.1126, allocations: 65.58 kB / 498.1 MB, free: 2.617 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.1127, allocations: 51.41 kB / 498.2 MB, free: 2.555 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.1128, allocations: 166.1 kB / 498.4 MB, free: 2.383 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.1128, allocations: 29.7 kB / 498.4 MB, free: 2.348 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.671e-05/0.1129, allocations: 115.9 kB / 498.5 MB, free: 2.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.113, allocations: 15.89 kB / 498.5 MB, free: 2.215 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.713e-05/0.113, allocations: 29.72 kB / 498.5 MB, free: 2.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.1132, allocations: 318.8 kB / 498.8 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.355e-05/0.1132, allocations: 16 kB / 498.9 MB, free: 1.844 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.1133, allocations: 75.66 kB / 498.9 MB, free: 1.742 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.1135, allocations: 95.59 kB / 499 MB, free: 1.621 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1135, allocations: 0 / 499 MB, free: 1.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000177/0.1136, allocations: 109.7 kB / 499.1 MB, free: 1.508 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.1137, allocations: 12.03 kB / 499.2 MB, free: 1.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.1137, allocations: 3.938 kB / 499.2 MB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.1137, allocations: 4 kB / 499.2 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.1138, allocations: 23.98 kB / 499.2 MB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.1138, allocations: 7.938 kB / 499.2 MB, free: 1.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.695e-05/0.1138, allocations: 11.89 kB / 499.2 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-06/0.1139, allocations: 4 kB / 499.2 MB, free: 1.441 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.0001063/0.114, allocations: 117.8 kB / 499.3 MB, free: 1.316 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.665e-05/0.114, allocations: 7.953 kB / 499.3 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.888e-05/0.114, allocations: 16.28 kB / 499.3 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.114, allocations: 0 / 499.3 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.114, allocations: 0 / 499.3 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.114, allocations: 3.984 kB / 499.3 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003199/0.1143, allocations: 267 kB / 499.6 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1144, allocations: 7.938 kB / 499.6 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.6e-05/0.1144, allocations: 8 kB / 499.6 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1144, allocations: 0 / 499.6 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.1144, allocations: 3.984 kB / 499.6 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1144, allocations: 3.938 kB / 499.6 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1144, allocations: 4.062 kB / 499.6 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001916/0.1146, allocations: 168.3 kB / 499.8 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.327e-05/0.1147, allocations: 12.2 kB / 499.8 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.1147, allocations: 0 / 499.8 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.928e-05/0.1147, allocations: 4 kB / 499.8 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.214e-05/0.1148, allocations: 7.984 kB / 499.8 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.1148, allocations: 3.984 kB / 499.8 MB, free: 0.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001077/0.1149, allocations: 112.1 kB / 499.9 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1149, allocations: 3.938 kB / 499.9 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002558/0.1151, allocations: 23.94 kB / 500 MB, free: 0.6133 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.0001049/0.1152, allocations: 99.31 kB / 0.4883 GB, free: 0.5078 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001375/0.1154, allocations: 43.86 kB / 0.4884 GB, free: 476 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1154, allocations: 0 / 0.4884 GB, free: 476 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.839e-05/0.1154, allocations: 8 kB / 0.4884 GB, free: 468 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004291/0.1158, allocations: 45.69 kB / 0.4884 GB, free: 428 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006303/0.1165, allocations: 308.4 kB / 0.4887 GB, free: 88 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/0.1166, allocations: 92.12 kB / 0.4888 GB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.191e-05/0.1166, allocations: 15.53 kB / 0.4888 GB, free: 15.96 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1166, allocations: 0 / 0.4888 GB, free: 15.96 MB / 366.1 MB Notification: Performance of Templates: time 0.003031/0.1196, allocations: 1.247 MB / 0.49 GB, free: 14.71 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: 6.741716122254729] Failed to read output from testmodel.py, exit status != 0: 0.12768278690055013 0.14434206600000002 0.030567030000000002 Calling exit ...