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.001319/0.001319, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001611/0.001611, allocations: 211.8 kB / 22.24 MB, free: 4.855 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.606/1.606, allocations: 230.6 MB / 256 MB, free: 7.809 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.008844/0.008844, allocations: 1.347 MB / 313.8 MB, free: 1.664 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.002065/0.002065, allocations: 59.91 kB / 439.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09676/0.09883, allocations: 53.68 MB / 493.5 MB, free: 6.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD): time 0.003319/0.1021, allocations: 1.758 MB / 495.3 MB, free: 4.859 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.1033, allocations: 0.5572 MB / 495.8 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.759e-05/0.1033, allocations: 0 / 495.8 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001503/0.1035, allocations: 23.8 kB / 495.9 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.364e-05/0.1036, allocations: 35.7 kB / 495.9 MB, free: 4.238 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002913/0.1039, allocations: 83.83 kB / 496 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002445/0.1041, allocations: 179.4 kB / 496.1 MB, free: 3.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.1043, allocations: 41.66 kB / 496.2 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.836e-05/0.1044, allocations: 55.72 kB / 496.2 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.771e-05/0.1044, allocations: 47.72 kB / 496.3 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.667e-05/0.1045, allocations: 8 kB / 496.3 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.432e-05/0.1045, allocations: 12 kB / 496.3 MB, free: 3.816 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.029e-05/0.1045, allocations: 23.92 kB / 496.3 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.241e-05/0.1046, allocations: 55.7 kB / 496.4 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.1048, allocations: 127.4 kB / 496.5 MB, free: 3.613 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1048, allocations: 0 / 496.5 MB, free: 3.613 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.1048, allocations: 3.938 kB / 496.5 MB, free: 3.609 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.1048, allocations: 4 kB / 496.5 MB, free: 3.605 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.0006427/0.1054, allocations: 376 kB / 496.9 MB, free: 3.211 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.1055, allocations: 8.031 kB / 496.9 MB, free: 3.203 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.78e-05/0.1055, allocations: 16.84 kB / 496.9 MB, free: 3.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.1058, allocations: 158.9 kB / 497.1 MB, free: 3.004 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.1058, allocations: 8.375 kB / 497.1 MB, free: 2.996 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.24e-05/0.1058, allocations: 12.38 kB / 497.1 MB, free: 2.984 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002933/0.1061, allocations: 127.6 kB / 497.2 MB, free: 2.848 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.1061, allocations: 0 / 497.2 MB, free: 2.848 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.1061, allocations: 0 / 497.2 MB, free: 2.848 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.1061, allocations: 11.92 kB / 497.2 MB, free: 2.836 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002263/0.1064, allocations: 63.95 kB / 497.3 MB, free: 2.773 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007414/0.1071, allocations: 416.3 kB / 497.7 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.1073, allocations: 78.47 kB / 497.8 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.1074, allocations: 32.97 kB / 497.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.1074, allocations: 0 / 497.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.345e-05/0.1075, allocations: 34.56 kB / 497.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.1075, allocations: 0 / 497.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005112/0.108, allocations: 133.5 kB / 498 MB, free: 2.031 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.1081, allocations: 51.41 kB / 498 MB, free: 1.969 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.1082, allocations: 166.8 kB / 498.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.1083, allocations: 33.7 kB / 498.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.796e-05/0.1084, allocations: 116 kB / 498.3 MB, free: 1.641 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.1084, allocations: 27.78 kB / 498.4 MB, free: 1.613 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.798e-05/0.1084, allocations: 33.66 kB / 498.4 MB, free: 1.574 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.1086, allocations: 322.8 kB / 498.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.1087, allocations: 31.98 kB / 498.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.1089, allocations: 66.39 kB / 498.8 MB, free: 1.141 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002527/0.1091, allocations: 104.2 kB / 498.9 MB, free: 1.023 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1091, allocations: 4 kB / 498.9 MB, free: 1.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003313/0.1095, allocations: 141.5 kB / 499 MB, free: 0.875 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.1095, allocations: 4 kB / 499 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1095, allocations: 0 / 499 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.1095, allocations: 7.938 kB / 499.1 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002801/0.1098, allocations: 39.91 kB / 499.1 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/0.1111, allocations: 1.286 MB / 0.4886 GB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.1112, allocations: 23.91 kB / 0.4887 GB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.1112, allocations: 0 / 0.4887 GB, free: 15.42 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.000125/0.1113, allocations: 125.8 kB / 0.4888 GB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.586e-05/0.1114, allocations: 15.84 kB / 0.4888 GB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.525e-05/0.1114, allocations: 13.41 kB / 0.4888 GB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1114, allocations: 0 / 0.4888 GB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.1114, allocations: 0 / 0.4888 GB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1114, allocations: 8.078 kB / 0.4888 GB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005551/0.112, allocations: 330.9 kB / 0.4891 GB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.112, allocations: 0 / 0.4891 GB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002517/0.1122, allocations: 35.92 kB / 0.4892 GB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.1122, allocations: 3.984 kB / 0.4892 GB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.541e-05/0.1123, allocations: 7.984 kB / 0.4892 GB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001063/0.1133, allocations: 1.282 MB / 0.4904 GB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1133, allocations: 0 / 0.4904 GB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004412/0.1138, allocations: 232.4 kB / 0.4907 GB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.738e-05/0.1138, allocations: 19.92 kB / 0.4907 GB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.1138, allocations: 16.16 kB / 0.4907 GB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.114, allocations: 7.984 kB / 0.4907 GB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.825e-05/0.114, allocations: 3.984 kB / 0.4907 GB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.114, allocations: 4 kB / 0.4907 GB, free: 13.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001006/0.1141, allocations: 119.2 kB / 0.4908 GB, free: 13.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1141, allocations: 0 / 0.4908 GB, free: 13.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003053/0.1144, allocations: 27.94 kB / 0.4909 GB, free: 13.02 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.0001224/0.1145, allocations: 99.19 kB / 0.4909 GB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003807/0.1149, allocations: 95.86 kB / 0.491 GB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1149, allocations: 0 / 0.491 GB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001829/0.1151, allocations: 43.97 kB / 0.4911 GB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000461/0.1156, allocations: 44.19 kB / 0.4911 GB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006932/0.1162, allocations: 330.6 kB / 0.4914 GB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.952e-05/0.1163, allocations: 105.4 kB / 0.4915 GB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.229e-05/0.1164, allocations: 12.97 kB / 0.4915 GB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.43e-05/0.1165, allocations: 11.44 kB / 0.4916 GB, free: 12.23 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1165, allocations: 0 / 0.4916 GB, free: 12.23 MB / 366.1 MB Notification: Performance of Templates: time 0.004955/0.1214, allocations: 1.699 MB / 0.4932 GB, free: 10.61 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: 4.978131759911776] Failed to read output from testmodel.py, exit status != 0: 0.12982319667935371 0.337901222 0.229860206 Calling exit ...