Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_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.001637/0.001637, 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.001802/0.001802, allocations: 219.9 kB / 23.01 MB, free: 4.605 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.01956/0.01956, allocations: 1.347 MB / 314.5 MB, free: 1.863 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.SmallSignal_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_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.002384/0.002384, allocations: 67.89 kB / 441.5 MB, free: 11.81 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1096, allocations: 53.67 MB / 495.1 MB, free: 6.039 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD): time 0.003504/0.1131, allocations: 1.716 MB / 496.9 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.1144, allocations: 0.5922 MB / 497.5 MB, free: 3.715 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.1146, allocations: 0 / 497.5 MB, free: 3.715 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001689/0.1147, allocations: 19.8 kB / 497.5 MB, free: 3.695 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.719e-05/0.1148, allocations: 35.72 kB / 497.5 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002815/0.1151, allocations: 79.89 kB / 497.6 MB, free: 3.582 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002736/0.1154, allocations: 151.4 kB / 497.7 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.1156, allocations: 41.97 kB / 497.8 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.263e-05/0.1156, allocations: 47.8 kB / 497.8 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.1157, allocations: 47.72 kB / 497.9 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.577e-05/0.1158, allocations: 8 kB / 497.9 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.422e-05/0.1158, allocations: 12 kB / 497.9 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.378e-05/0.1158, allocations: 27.86 kB / 497.9 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.908e-05/0.1159, allocations: 51.67 kB / 498 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.1161, allocations: 135.4 kB / 498.1 MB, free: 3.059 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1161, allocations: 0 / 498.1 MB, free: 3.059 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1161, allocations: 3.938 kB / 498.1 MB, free: 3.055 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.1161, allocations: 0 / 498.1 MB, free: 3.055 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.0005777/0.1167, allocations: 353.7 kB / 498.4 MB, free: 2.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.1167, allocations: 8.031 kB / 498.5 MB, free: 2.672 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.552e-05/0.1168, allocations: 20.84 kB / 498.5 MB, free: 2.652 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.117, allocations: 150.2 kB / 498.6 MB, free: 2.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.117, allocations: 8.375 kB / 498.6 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.578e-05/0.1171, allocations: 12.38 kB / 498.6 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002158/0.1173, allocations: 114.2 kB / 498.8 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.1173, allocations: 0 / 498.8 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.1173, allocations: 0 / 498.8 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1173, allocations: 3.938 kB / 498.8 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.863e-05/0.1174, allocations: 43.97 kB / 498.8 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008247/0.1182, allocations: 463.7 kB / 499.3 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.1184, allocations: 62.5 kB / 499.3 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.649e-05/0.1184, allocations: 20.97 kB / 499.3 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.1184, allocations: 4 kB / 499.3 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.1185, allocations: 34.56 kB / 499.4 MB, free: 1.652 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.1185, allocations: 0 / 499.4 MB, free: 1.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002414/0.1187, allocations: 93.53 kB / 499.5 MB, free: 1.555 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.1188, allocations: 51.41 kB / 499.5 MB, free: 1.492 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.1189, allocations: 166.5 kB / 499.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.119, allocations: 25.7 kB / 499.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.009e-05/0.119, allocations: 127.9 kB / 499.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.1191, allocations: 23.8 kB / 499.8 MB, free: 1.133 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.5e-05/0.1191, allocations: 25.72 kB / 499.9 MB, free: 1.102 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.1193, allocations: 322.8 kB / 0.4885 GB, free: 0.7773 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.452e-05/0.1193, allocations: 20.23 kB / 0.4885 GB, free: 0.7578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.136e-05/0.1194, allocations: 55.3 kB / 0.4885 GB, free: 0.6914 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.1195, allocations: 75.38 kB / 0.4886 GB, free: 0.6055 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1195, allocations: 0 / 0.4886 GB, free: 0.6055 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001765/0.1197, allocations: 113.4 kB / 0.4887 GB, free: 500 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.1197, allocations: 4 kB / 0.4887 GB, free: 496 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.1197, allocations: 7.938 kB / 0.4887 GB, free: 488 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.1197, allocations: 0 / 0.4887 GB, free: 488 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000278/0.12, allocations: 36.08 kB / 0.4888 GB, free: 452 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001193/0.1212, allocations: 1.309 MB / 0.49 GB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.498e-05/0.1212, allocations: 7.984 kB / 0.4901 GB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.1213, allocations: 8 kB / 0.4901 GB, free: 15.01 MB / 366.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 (12): * Single equations (assignments): 11 * 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.0001149/0.1214, allocations: 127.3 kB / 0.4902 GB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.074e-05/0.1214, allocations: 7.953 kB / 0.4902 GB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.157e-05/0.1214, allocations: 17.5 kB / 0.4902 GB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1214, allocations: 7.984 kB / 0.4902 GB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.1214, allocations: 0 / 0.4902 GB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1214, allocations: 0 / 0.4902 GB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004178/0.1219, allocations: 350.3 kB / 0.4905 GB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1219, allocations: 0 / 0.4905 GB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002098/0.1221, allocations: 27.98 kB / 0.4906 GB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1221, allocations: 0 / 0.4906 GB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.1221, allocations: 8 kB / 0.4906 GB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001058/0.1231, allocations: 1.309 MB / 0.4919 GB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1231, allocations: 0 / 0.4919 GB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002961/0.1234, allocations: 196.3 kB / 0.492 GB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.942e-05/0.1235, allocations: 15.97 kB / 0.4921 GB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.1235, allocations: 4 kB / 0.4921 GB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.597e-05/0.1236, allocations: 4.125 kB / 0.4921 GB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.351e-05/0.1236, allocations: 3.938 kB / 0.4921 GB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.1236, allocations: 7.984 kB / 0.4921 GB, free: 12.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001322/0.1237, allocations: 124 kB / 0.4922 GB, free: 12.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1237, allocations: 0 / 0.4922 GB, free: 12.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002668/0.124, allocations: 20 kB / 0.4922 GB, free: 12.61 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.0001399/0.1241, allocations: 100 kB / 0.4923 GB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003532/0.1245, allocations: 79.8 kB / 0.4924 GB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1245, allocations: 0 / 0.4924 GB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001884/0.1247, allocations: 39.91 kB / 0.4924 GB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005087/0.1252, allocations: 49.14 kB / 0.4925 GB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008139/0.126, allocations: 345.6 kB / 0.4928 GB, free: 11.97 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004599/0.1265, allocations: 0.7117 MB / 0.4935 GB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.113e-05/0.1265, allocations: 11.44 kB / 0.4935 GB, free: 11.22 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1265, allocations: 3.938 kB / 0.4935 GB, free: 11.21 MB / 366.1 MB Notification: Performance of Templates: time 0.004491/0.131, allocations: 1.939 MB / 0.4954 GB, free: 9.281 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.makefile [Timeout 660] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD -l=1 -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.418802829924971] Failed to read output from testmodel.py, exit status != 0: 0.1401581799145788 0.38144697800000005 0.262002302 Calling exit ...