Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_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.001302/0.001302, allocations: 104.3 kB / 19.71 MB, free: 2.148 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.001451/0.001451, allocations: 206.6 kB / 22.99 MB, free: 4.965 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.395/1.395, allocations: 230.6 MB / 256.8 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.01206/0.01206, allocations: 1.34 MB / 314.5 MB, free: 1.66 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.OL_Simulation_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_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.002083/0.002083, allocations: 69.31 kB / 440.6 MB, free: 12.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09191/0.094, allocations: 53.67 MB / 494.3 MB, free: 6.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD): time 0.003328/0.09732, allocations: 1.757 MB / 496 MB, free: 4.855 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.09845, allocations: 0.5533 MB / 496.6 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.87e-05/0.09853, allocations: 4 kB / 496.6 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001421/0.09868, allocations: 15.8 kB / 496.6 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.675e-05/0.09876, allocations: 43.64 kB / 496.6 MB, free: 4.234 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002542/0.09902, allocations: 87.89 kB / 496.7 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002626/0.09928, allocations: 175.4 kB / 496.9 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.09941, allocations: 37.66 kB / 496.9 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.697e-05/0.0995, allocations: 55.72 kB / 497 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.572e-05/0.09959, allocations: 51.7 kB / 497 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.09961, allocations: 8 kB / 497.1 MB, free: 3.824 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.501e-05/0.09963, allocations: 12 kB / 497.1 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.864e-05/0.09967, allocations: 23.92 kB / 497.1 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.262e-05/0.09974, allocations: 51.67 kB / 497.1 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.09993, allocations: 131.4 kB / 497.3 MB, free: 3.609 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.09993, allocations: 0 / 497.3 MB, free: 3.609 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.09994, allocations: 0 / 497.3 MB, free: 3.609 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.09994, allocations: 0 / 497.3 MB, free: 3.609 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.000671/0.1006, allocations: 381.5 kB / 497.6 MB, free: 3.207 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.1006, allocations: 8.031 kB / 497.6 MB, free: 3.199 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.314e-05/0.1007, allocations: 16.84 kB / 497.7 MB, free: 3.184 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.1009, allocations: 159 kB / 497.8 MB, free: 3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.101, allocations: 16.31 kB / 497.8 MB, free: 2.984 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.503e-05/0.101, allocations: 12.38 kB / 497.8 MB, free: 2.973 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002779/0.1013, allocations: 119.6 kB / 498 MB, free: 2.844 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.1013, allocations: 0 / 498 MB, free: 2.844 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.1013, allocations: 8 kB / 498 MB, free: 2.836 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.1013, allocations: 0 / 498 MB, free: 2.836 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002266/0.1015, allocations: 67.94 kB / 498 MB, free: 2.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000777/0.1023, allocations: 424.3 kB / 498.5 MB, free: 2.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002043/0.1025, allocations: 66.48 kB / 498.5 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.1026, allocations: 32.97 kB / 498.5 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.1026, allocations: 0 / 498.5 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.1027, allocations: 38.55 kB / 498.6 MB, free: 2.164 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.1027, allocations: 0 / 498.6 MB, free: 2.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004475/0.1031, allocations: 133.4 kB / 498.7 MB, free: 2.027 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.1032, allocations: 51.41 kB / 498.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.1033, allocations: 170.8 kB / 498.9 MB, free: 1.789 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.1034, allocations: 25.7 kB / 499 MB, free: 1.758 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.393e-05/0.1035, allocations: 116 kB / 499.1 MB, free: 1.641 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.1035, allocations: 27.78 kB / 499.1 MB, free: 1.613 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.979e-05/0.1035, allocations: 37.66 kB / 499.1 MB, free: 1.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.1037, allocations: 318.8 kB / 499.4 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.1038, allocations: 39.97 kB / 499.5 MB, free: 1.211 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.104, allocations: 64.27 kB / 499.5 MB, free: 1.133 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002363/0.1042, allocations: 96.2 kB / 499.6 MB, free: 1.023 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1042, allocations: 0 / 499.6 MB, free: 1.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003209/0.1045, allocations: 149.3 kB / 499.8 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.1045, allocations: 4 kB / 499.8 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.1045, allocations: 4 kB / 499.8 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.1046, allocations: 3.938 kB / 499.8 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002653/0.1048, allocations: 35.97 kB / 499.8 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/0.106, allocations: 1.286 MB / 0.4894 GB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.1061, allocations: 23.91 kB / 0.4894 GB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.1061, allocations: 4 kB / 0.4894 GB, free: 15.41 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (13): * Single equations (assignments): 12 * 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.0001208/0.1062, allocations: 121.8 kB / 0.4895 GB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.36e-05/0.1063, allocations: 12.06 kB / 0.4895 GB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.086e-05/0.1063, allocations: 33.25 kB / 0.4896 GB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.1063, allocations: 0 / 0.4896 GB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1063, allocations: 4 kB / 0.4896 GB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1063, allocations: 0 / 0.4896 GB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005488/0.1069, allocations: 323 kB / 0.4899 GB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.1069, allocations: 0 / 0.4899 GB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002181/0.1071, allocations: 35.91 kB / 0.4899 GB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.1071, allocations: 4.031 kB / 0.4899 GB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.1071, allocations: 8 kB / 0.4899 GB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001027/0.1081, allocations: 1.278 MB / 0.4912 GB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1081, allocations: 32 / 0.4912 GB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004218/0.1085, allocations: 236.5 kB / 0.4914 GB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.529e-05/0.1086, allocations: 15.94 kB / 0.4914 GB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.1086, allocations: 12.06 kB / 0.4914 GB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.1087, allocations: 11.98 kB / 0.4914 GB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-05/0.1088, allocations: 7.984 kB / 0.4914 GB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.1088, allocations: 0 / 0.4914 GB, free: 13.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001072/0.1089, allocations: 119.2 kB / 0.4916 GB, free: 13.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1089, allocations: 0 / 0.4916 GB, free: 13.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002911/0.1092, allocations: 31.88 kB / 0.4916 GB, free: 13.01 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.000121/0.1093, allocations: 100.9 kB / 0.4917 GB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004454/0.1097, allocations: 99.86 kB / 0.4918 GB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1097, allocations: 0 / 0.4918 GB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002539/0.11, allocations: 60.2 kB / 0.4918 GB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004392/0.1104, allocations: 39.38 kB / 0.4919 GB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007/0.1111, allocations: 356.6 kB / 0.4922 GB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.1112, allocations: 109.2 kB / 0.4923 GB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.905e-05/0.1113, allocations: 11.44 kB / 0.4923 GB, free: 12.2 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1113, allocations: 4 kB / 0.4923 GB, free: 12.19 MB / 366.1 MB Notification: Performance of Templates: time 0.004253/0.1155, allocations: 2.153 MB / 0.4944 GB, free: 10.05 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.makefile [Timeout 660] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=480 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.334276634268463] Failed to read output from testmodel.py, exit status != 0: 0.12391271023079753 0.291174712 0.18840869100000002 Calling exit ...