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.001948/0.001948, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002523/0.002523, allocations: 212.2 kB / 22.24 MB, free: 5.262 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.517/1.517, allocations: 230.6 MB / 256 MB, free: 7.805 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.008576/0.008576, allocations: 1.342 MB / 313.8 MB, free: 1.648 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.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.002179/0.002179, allocations: 67.89 kB / 440.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1053, allocations: 53.67 MB / 494.3 MB, free: 5.852 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD): time 0.003955/0.1093, allocations: 1.664 MB / 496 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001402/0.1107, allocations: 0.5533 MB / 496.5 MB, free: 3.621 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.1108, allocations: 4 kB / 496.5 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001763/0.111, allocations: 11.81 kB / 496.5 MB, free: 3.605 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.817e-05/0.1111, allocations: 31.72 kB / 496.6 MB, free: 3.574 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003062/0.1114, allocations: 87.89 kB / 496.6 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002607/0.1116, allocations: 151.4 kB / 496.8 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.1118, allocations: 37.98 kB / 496.8 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.622e-05/0.1119, allocations: 47.8 kB / 496.9 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.112, allocations: 43.72 kB / 496.9 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.241e-05/0.112, allocations: 8 kB / 496.9 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.598e-05/0.1121, allocations: 12 kB / 496.9 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.064e-05/0.1121, allocations: 23.84 kB / 497 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.453e-05/0.1122, allocations: 47.73 kB / 497 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002259/0.1124, allocations: 123.5 kB / 497.1 MB, free: 2.992 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1124, allocations: 4 kB / 497.1 MB, free: 2.988 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.1124, allocations: 0 / 497.1 MB, free: 2.988 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.1124, allocations: 0 / 497.1 MB, free: 2.988 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.0006501/0.113, allocations: 361.7 kB / 497.5 MB, free: 2.605 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.1131, allocations: 8.031 kB / 497.5 MB, free: 2.598 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.696e-05/0.1131, allocations: 16.84 kB / 497.5 MB, free: 2.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.1134, allocations: 146.3 kB / 497.6 MB, free: 2.414 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.1134, allocations: 4.375 kB / 497.7 MB, free: 2.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.659e-05/0.1134, allocations: 8.375 kB / 497.7 MB, free: 2.402 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.1136, allocations: 123.5 kB / 497.8 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/0.1137, allocations: 4 kB / 497.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.1137, allocations: 0 / 497.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.1137, allocations: 7.938 kB / 497.8 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.1138, allocations: 47.97 kB / 497.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008417/0.1146, allocations: 404.4 kB / 498.2 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.1148, allocations: 62.5 kB / 498.3 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.169e-05/0.1148, allocations: 24.97 kB / 498.3 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.1149, allocations: 4 kB / 498.3 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.1149, allocations: 30.56 kB / 498.4 MB, free: 1.641 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.927e-06/0.1149, allocations: 3.984 kB / 498.4 MB, free: 1.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002595/0.1152, allocations: 97.47 kB / 498.5 MB, free: 1.535 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.1152, allocations: 51.41 kB / 498.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.1154, allocations: 154.2 kB / 498.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.1154, allocations: 29.7 kB / 498.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.1155, allocations: 123.9 kB / 498.8 MB, free: 1.152 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.1156, allocations: 15.8 kB / 498.8 MB, free: 1.137 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.436e-05/0.1156, allocations: 37.7 kB / 498.9 MB, free: 1.094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.1158, allocations: 314.8 kB / 499.2 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.905e-05/0.1159, allocations: 23.98 kB / 499.2 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.008e-05/0.1159, allocations: 47.42 kB / 499.2 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.1161, allocations: 67.38 kB / 499.3 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1161, allocations: 0 / 499.3 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001814/0.1162, allocations: 109.5 kB / 499.4 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.1163, allocations: 8.094 kB / 499.4 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.1163, allocations: 4 kB / 499.4 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.1163, allocations: 3.938 kB / 499.4 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002582/0.1166, allocations: 31.98 kB / 499.5 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001225/0.1178, allocations: 1.282 MB / 0.489 GB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.233e-05/0.1178, allocations: 12.12 kB / 0.489 GB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.1178, allocations: 7.938 kB / 0.489 GB, free: 15.06 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.0001346/0.118, allocations: 131.9 kB / 0.4891 GB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.489e-05/0.118, allocations: 11.91 kB / 0.4892 GB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.196e-05/0.1181, allocations: 16.72 kB / 0.4892 GB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1181, allocations: 0 / 0.4892 GB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.1181, allocations: 256 / 0.4892 GB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.1181, allocations: 0 / 0.4892 GB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004327/0.1185, allocations: 311 kB / 0.4895 GB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1185, allocations: 8.031 kB / 0.4895 GB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002103/0.1187, allocations: 31.97 kB / 0.4895 GB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1187, allocations: 0 / 0.4895 GB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.1187, allocations: 4 kB / 0.4895 GB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001039/0.1198, allocations: 1.282 MB / 0.4908 GB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1198, allocations: 0 / 0.4908 GB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002462/0.12, allocations: 196.4 kB / 0.4909 GB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.837e-05/0.1201, allocations: 19.92 kB / 0.491 GB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.1201, allocations: 3.938 kB / 0.491 GB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.258e-05/0.1201, allocations: 4 kB / 0.491 GB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.567e-05/0.1202, allocations: 11.92 kB / 0.491 GB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.1202, allocations: 4 kB / 0.491 GB, free: 12.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001146/0.1203, allocations: 120.1 kB / 0.4911 GB, free: 12.76 MB / 366.1 MB Notification: Performance of sort global known variables: time 5e-08/0.1203, allocations: 0 / 0.4911 GB, free: 12.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002866/0.1206, allocations: 23.94 kB / 0.4911 GB, free: 12.73 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.0001175/0.1207, allocations: 103.4 kB / 0.4912 GB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002887/0.121, allocations: 59.91 kB / 0.4913 GB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.121, allocations: 0 / 0.4913 GB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.1211, allocations: 32.05 kB / 0.4913 GB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004688/0.1216, allocations: 35.34 kB / 0.4913 GB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007455/0.1223, allocations: 328 kB / 0.4917 GB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/0.1224, allocations: 98.27 kB / 0.4918 GB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.115e-05/0.1225, allocations: 16.61 kB / 0.4918 GB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.13e-05/0.1225, allocations: 11.44 kB / 0.4918 GB, free: 12.01 MB / 366.1 MB Notification: Performance of SimCode: time 7.92e-07/0.1225, allocations: 0 / 0.4918 GB, free: 12.01 MB / 366.1 MB Notification: Performance of Templates: time 0.005133/0.1277, allocations: 1.505 MB / 0.4932 GB, free: 10.57 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 -variableFilter=.* -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: 5.008119037374854] Failed to read output from testmodel.py, exit status != 0: 0.13756362907588482 0.43156960000000005 0.31423564400000004 Calling exit ...