Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_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.001345/0.001345, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001441/0.001441, allocations: 157.5 kB / 23.01 MB, free: 4.602 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.406/1.406, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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.00792/0.00792, allocations: 1.026 MB / 260.8 MB, free: 15.76 MB / 254.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_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_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.002969/0.002969, allocations: 71.84 kB / 386.9 MB, free: 1.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1096, allocations: 53.63 MB / 440.5 MB, free: 11.79 MB / 414.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD): time 0.003055/0.1126, allocations: 1.766 MB / 442.3 MB, free: 10.01 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.1137, allocations: 0.5533 MB / 442.8 MB, free: 9.453 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.918e-05/0.1137, allocations: 8 kB / 442.8 MB, free: 9.445 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001346/0.1139, allocations: 15.8 kB / 442.8 MB, free: 9.43 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 7.297e-05/0.1139, allocations: 31.72 kB / 442.9 MB, free: 9.398 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002527/0.1142, allocations: 91.83 kB / 443 MB, free: 9.309 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002463/0.1144, allocations: 163.4 kB / 443.1 MB, free: 9.148 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.1146, allocations: 33.73 kB / 443.2 MB, free: 9.113 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.382e-05/0.1147, allocations: 51.73 kB / 443.2 MB, free: 9.062 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.218e-05/0.1148, allocations: 51.7 kB / 443.3 MB, free: 9.012 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.02e-05/0.1148, allocations: 8 kB / 443.3 MB, free: 9.004 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.52e-05/0.1148, allocations: 16 kB / 443.3 MB, free: 8.988 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.961e-05/0.1149, allocations: 31.84 kB / 443.3 MB, free: 8.957 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.363e-05/0.1149, allocations: 47.73 kB / 443.4 MB, free: 8.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001948/0.1151, allocations: 131.4 kB / 443.5 MB, free: 8.781 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1151, allocations: 0 / 443.5 MB, free: 8.781 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1151, allocations: 0 / 443.5 MB, free: 8.781 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.1151, allocations: 0 / 443.5 MB, free: 8.781 MB / 414.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.000725/0.1158, allocations: 375.8 kB / 443.8 MB, free: 8.387 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.1159, allocations: 8.031 kB / 443.9 MB, free: 8.379 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.44e-05/0.1159, allocations: 24.8 kB / 443.9 MB, free: 8.355 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002686/0.1162, allocations: 159 kB / 444 MB, free: 8.172 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.1162, allocations: 4.375 kB / 444 MB, free: 8.168 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.388e-05/0.1163, allocations: 12.38 kB / 444.1 MB, free: 8.156 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002682/0.1165, allocations: 115.7 kB / 444.2 MB, free: 8.031 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.1165, allocations: 3.984 kB / 444.2 MB, free: 8.027 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.1166, allocations: 0 / 444.2 MB, free: 8.027 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1166, allocations: 4 kB / 444.2 MB, free: 8.023 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002364/0.1168, allocations: 75.88 kB / 444.2 MB, free: 7.949 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007226/0.1175, allocations: 424.3 kB / 444.7 MB, free: 7.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.1177, allocations: 70.48 kB / 444.7 MB, free: 7.422 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.1178, allocations: 32.95 kB / 444.8 MB, free: 7.387 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.1179, allocations: 4 kB / 444.8 MB, free: 7.383 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.1179, allocations: 38.56 kB / 444.8 MB, free: 7.336 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.1179, allocations: 0 / 444.8 MB, free: 7.336 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004462/0.1183, allocations: 125.5 kB / 444.9 MB, free: 7.207 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.1184, allocations: 59.39 kB / 445 MB, free: 7.137 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.1186, allocations: 166.2 kB / 445.1 MB, free: 6.961 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.1186, allocations: 29.7 kB / 445.2 MB, free: 6.926 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.902e-05/0.1187, allocations: 115.9 kB / 445.3 MB, free: 6.809 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.327e-05/0.1187, allocations: 31.78 kB / 445.3 MB, free: 6.777 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.583e-05/0.1188, allocations: 37.66 kB / 445.4 MB, free: 6.734 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.1189, allocations: 318.8 kB / 445.7 MB, free: 6.414 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.119, allocations: 35.97 kB / 445.7 MB, free: 6.379 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.1192, allocations: 58.55 kB / 445.8 MB, free: 6.312 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002313/0.1194, allocations: 82.53 kB / 445.8 MB, free: 6.223 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1194, allocations: 4 kB / 445.8 MB, free: 6.219 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003102/0.1197, allocations: 125.5 kB / 446 MB, free: 6.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.1197, allocations: 11.88 kB / 446 MB, free: 6.078 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.1197, allocations: 11.92 kB / 446 MB, free: 6.066 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.1197, allocations: 3.938 kB / 446 MB, free: 6.062 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.1199, allocations: 31.98 kB / 446 MB, free: 6.031 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.1199, allocations: 3.984 kB / 446 MB, free: 6.027 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.54e-05/0.12, allocations: 23.94 kB / 446.1 MB, free: 6.004 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.12, allocations: 0 / 446.1 MB, free: 6.004 MB / 414.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 (13): * Single equations (assignments): 13 * 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 9.594e-05/0.1201, allocations: 125.8 kB / 446.2 MB, free: 5.871 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.383e-05/0.1201, allocations: 11.91 kB / 446.2 MB, free: 5.859 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.819e-05/0.1202, allocations: 13.47 kB / 446.2 MB, free: 5.848 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.1202, allocations: 3.938 kB / 446.2 MB, free: 5.844 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1202, allocations: 0 / 446.2 MB, free: 5.844 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.1202, allocations: 3.984 kB / 446.2 MB, free: 5.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005153/0.1207, allocations: 335 kB / 446.5 MB, free: 5.473 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1207, allocations: 0 / 446.5 MB, free: 5.473 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000238/0.1209, allocations: 31.97 kB / 446.6 MB, free: 5.441 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.121, allocations: 3.938 kB / 446.6 MB, free: 5.438 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.121, allocations: 0 / 446.6 MB, free: 5.438 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001091/0.1221, allocations: 1.278 MB / 447.8 MB, free: 4.059 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1221, allocations: 0 / 447.8 MB, free: 4.059 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004124/0.1225, allocations: 244.2 kB / 448.1 MB, free: 3.801 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.058e-05/0.1225, allocations: 15.94 kB / 448.1 MB, free: 3.785 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.1225, allocations: 0 / 448.1 MB, free: 3.785 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.1226, allocations: 7.984 kB / 448.1 MB, free: 3.777 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.1227, allocations: 8.141 kB / 448.1 MB, free: 3.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-06/0.1227, allocations: 8 kB / 448.1 MB, free: 3.762 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001029/0.1228, allocations: 124.2 kB / 448.2 MB, free: 3.641 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1228, allocations: 4 kB / 448.3 MB, free: 3.637 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002562/0.123, allocations: 27.88 kB / 448.3 MB, free: 3.609 MB / 414.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 9.641e-05/0.1231, allocations: 98.62 kB / 448.4 MB, free: 3.508 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002808/0.1234, allocations: 75.89 kB / 448.4 MB, free: 3.434 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.1234, allocations: 4.125 kB / 448.5 MB, free: 3.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002021/0.1236, allocations: 47.95 kB / 448.5 MB, free: 3.383 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004182/0.124, allocations: 39.78 kB / 448.5 MB, free: 3.348 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006109/0.1246, allocations: 324.7 kB / 448.9 MB, free: 3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.415e-05/0.1247, allocations: 101.6 kB / 449 MB, free: 2.883 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.626e-05/0.1248, allocations: 16.91 kB / 449 MB, free: 2.863 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.204e-05/0.1248, allocations: 16.5 kB / 449 MB, free: 2.848 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1248, allocations: 0 / 449 MB, free: 2.848 MB / 414.1 MB Notification: Performance of Templates: time 0.004572/0.1294, allocations: 1.563 MB / 450.6 MB, free: 1.34 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.makefile [Timeout 660] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.156196674099192] Failed to read output from testmodel.py, exit status != 0: 0.13955496798735112 0.151652635 0.033632629000000004 Calling exit ...