Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.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.002054/0.002054, 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.002574/0.002574, allocations: 212.1 kB / 22.25 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.554/1.554, 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.008445/0.008445, allocations: 1.354 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.CL_Simulation_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD") [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.002058/0.002058, allocations: 71.88 kB / 439.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1043, allocations: 53.67 MB / 493.5 MB, free: 6.641 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD): time 0.003447/0.1077, allocations: 1.931 MB / 495.4 MB, free: 4.703 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.1091, allocations: 0.5727 MB / 496 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.1092, allocations: 4 kB / 496 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001742/0.1094, allocations: 19.73 kB / 496 MB, free: 4.102 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.1095, allocations: 47.64 kB / 496.1 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002837/0.1098, allocations: 95.81 kB / 496.2 MB, free: 3.961 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002822/0.1101, allocations: 179.4 kB / 496.3 MB, free: 3.785 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001756/0.1103, allocations: 49.61 kB / 496.4 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.1104, allocations: 63.72 kB / 496.4 MB, free: 3.672 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.1105, allocations: 59.62 kB / 496.5 MB, free: 3.613 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.108e-05/0.1105, allocations: 12 kB / 496.5 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.617e-05/0.1105, allocations: 15.94 kB / 496.5 MB, free: 3.586 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.312e-05/0.1106, allocations: 31.86 kB / 496.6 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.628e-05/0.1106, allocations: 55.67 kB / 496.6 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002644/0.1109, allocations: 159.3 kB / 496.8 MB, free: 3.344 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1109, allocations: 0 / 496.8 MB, free: 3.344 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1109, allocations: 0 / 496.8 MB, free: 3.344 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.1109, allocations: 0 / 496.8 MB, free: 3.344 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0007428/0.1117, allocations: 393.4 kB / 497.2 MB, free: 2.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.1117, allocations: 12.03 kB / 497.2 MB, free: 2.918 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.627e-05/0.1118, allocations: 20.8 kB / 497.2 MB, free: 2.898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003619/0.1121, allocations: 162.3 kB / 497.4 MB, free: 2.715 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.1121, allocations: 8.375 kB / 497.4 MB, free: 2.707 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.408e-05/0.1122, allocations: 16.38 kB / 497.4 MB, free: 2.691 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002845/0.1125, allocations: 127.7 kB / 497.5 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.1125, allocations: 0 / 497.5 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.1125, allocations: 4 kB / 497.5 MB, free: 2.551 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.1125, allocations: 4 kB / 497.5 MB, free: 2.547 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001669/0.1127, allocations: 63.89 kB / 497.6 MB, free: 2.484 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008643/0.1135, allocations: 460.2 kB / 498 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002038/0.1137, allocations: 82.48 kB / 498.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.209e-05/0.1138, allocations: 44.78 kB / 498.1 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.1138, allocations: 3.984 kB / 498.1 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.1139, allocations: 38.55 kB / 498.2 MB, free: 1.812 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.1139, allocations: 0 / 498.2 MB, free: 1.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003344/0.1142, allocations: 129.6 kB / 498.3 MB, free: 1.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.1143, allocations: 55.41 kB / 498.4 MB, free: 1.613 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.1144, allocations: 176.4 kB / 498.5 MB, free: 1.426 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.1145, allocations: 29.7 kB / 498.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.687e-05/0.1146, allocations: 136.3 kB / 498.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.37e-05/0.1146, allocations: 35.69 kB / 498.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.909e-05/0.1146, allocations: 37.72 kB / 498.8 MB, free: 1.176 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.1148, allocations: 326.8 kB / 499.1 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.439e-05/0.1149, allocations: 35.98 kB / 499.1 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.431e-05/0.115, allocations: 54.56 kB / 499.2 MB, free: 0.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/0.1152, allocations: 106.4 kB / 499.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1152, allocations: 0 / 499.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002459/0.1154, allocations: 138.6 kB / 499.4 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.1155, allocations: 11.94 kB / 499.4 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1155, allocations: 0 / 499.4 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.1155, allocations: 0 / 499.4 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/0.1157, allocations: 43.97 kB / 499.5 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.1157, allocations: 0 / 499.5 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.531e-05/0.1157, allocations: 15.95 kB / 499.5 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.1157, allocations: 8 kB / 499.5 MB, free: 428 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (18): * Single equations (assignments): 18 * 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.0001083/0.1159, allocations: 125.8 kB / 499.6 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.421e-05/0.1159, allocations: 15.84 kB / 499.6 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.016e-05/0.1159, allocations: 21.39 kB / 499.7 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.1159, allocations: 0 / 499.7 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1159, allocations: 0 / 499.7 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.1159, allocations: 4 kB / 499.7 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005195/0.1165, allocations: 350.9 kB / 0.4883 GB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1165, allocations: 4.031 kB / 0.4883 GB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002363/0.1167, allocations: 35.98 kB / 0.4883 GB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.1167, allocations: 384 / 0.4883 GB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.1167, allocations: 0 / 0.4883 GB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001169/0.1179, allocations: 1.274 MB / 0.4896 GB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1179, allocations: 4.062 kB / 0.4896 GB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000344/0.1182, allocations: 252.1 kB / 0.4898 GB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.514e-05/0.1183, allocations: 15.92 kB / 0.4898 GB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.1183, allocations: 4 kB / 0.4898 GB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.149e-05/0.1184, allocations: 7.984 kB / 0.4898 GB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.966e-05/0.1184, allocations: 11.92 kB / 0.4898 GB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.1184, allocations: 7.938 kB / 0.4899 GB, free: 14.13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001463/0.1186, allocations: 124.1 kB / 0.49 GB, free: 14.01 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1186, allocations: 0 / 0.49 GB, free: 14.01 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002693/0.1189, allocations: 36.02 kB / 0.49 GB, free: 13.98 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (tank.l,PI.x) * 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 (9): * Single equations (assignments): 8 * 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.0001166/0.119, allocations: 99.19 kB / 0.4901 GB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002333/0.1192, allocations: 87.83 kB / 0.4902 GB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1192, allocations: 0 / 0.4902 GB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001697/0.1194, allocations: 43.92 kB / 0.4902 GB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004468/0.1198, allocations: 57.75 kB / 0.4903 GB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007773/0.1206, allocations: 385.5 kB / 0.4907 GB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.1207, allocations: 104 kB / 0.4908 GB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.981e-05/0.1208, allocations: 13.17 kB / 0.4908 GB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.829e-05/0.1208, allocations: 23.38 kB / 0.4908 GB, free: 13.13 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1208, allocations: 0 / 0.4908 GB, free: 13.13 MB / 366.1 MB Notification: Performance of Templates: time 0.005403/0.1262, allocations: 1.819 MB / 0.4926 GB, free: 11.38 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.makefile [Timeout 660] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=480 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.945773612707853] Failed to read output from testmodel.py, exit status != 0: 0.13389261066913605 0.38961502800000003 0.27538149700000003 Calling exit ...