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.00134/0.00134, 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.001492/0.001492, allocations: 211 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.475/1.475, allocations: 230.6 MB / 256 MB, free: 7.797 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.008699/0.008699, allocations: 1.35 MB / 313.8 MB, free: 1.738 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: "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_BWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_BWD",fmuType="me",version="2.0",platforms={"static"}) [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.003082/0.003082, allocations: 72.17 kB / 439.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1067, allocations: 53.68 MB / 493 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD): time 0.003132/0.1098, allocations: 1.761 MB / 494.8 MB, free: 5.367 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.1108, allocations: 0.5533 MB / 495.3 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.473e-05/0.1109, allocations: 0 / 495.3 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001412/0.1111, allocations: 23.8 kB / 495.4 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.1112, allocations: 35.7 kB / 495.4 MB, free: 4.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002429/0.1114, allocations: 83.84 kB / 495.5 MB, free: 4.668 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002575/0.1117, allocations: 179.3 kB / 495.7 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.1118, allocations: 41.94 kB / 495.7 MB, free: 4.449 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.532e-05/0.1119, allocations: 51.73 kB / 495.7 MB, free: 4.398 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.658e-05/0.112, allocations: 51.7 kB / 495.8 MB, free: 4.348 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.112, allocations: 8 kB / 495.8 MB, free: 4.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.489e-05/0.112, allocations: 12 kB / 495.8 MB, free: 4.328 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.984e-05/0.1121, allocations: 27.92 kB / 495.8 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.079e-05/0.1121, allocations: 51.72 kB / 495.9 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.1123, allocations: 131.4 kB / 496 MB, free: 4.121 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1123, allocations: 0 / 496 MB, free: 4.121 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1123, allocations: 0 / 496 MB, free: 4.121 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1123, allocations: 0 / 496 MB, free: 4.121 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.0006456/0.113, allocations: 373.6 kB / 496.4 MB, free: 3.727 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.113, allocations: 8.031 kB / 496.4 MB, free: 3.719 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.309e-05/0.113, allocations: 42.73 kB / 496.4 MB, free: 3.668 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.614e-05/0.1131, allocations: 28.78 kB / 496.5 MB, free: 3.641 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/0.1133, allocations: 151 kB / 496.6 MB, free: 3.465 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.1133, allocations: 8.375 kB / 496.6 MB, free: 3.457 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.1133, allocations: 12.36 kB / 496.6 MB, free: 3.445 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002736/0.1136, allocations: 126 kB / 496.8 MB, free: 3.312 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1136, allocations: 3.938 kB / 496.8 MB, free: 3.309 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1136, allocations: 3.938 kB / 496.8 MB, free: 3.305 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.1136, allocations: 4 kB / 496.8 MB, free: 3.301 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000236/0.1139, allocations: 74.75 kB / 496.8 MB, free: 3.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000775/0.1147, allocations: 443.8 kB / 497.3 MB, free: 2.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.1149, allocations: 70.48 kB / 497.3 MB, free: 2.672 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.115, allocations: 36.95 kB / 497.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.115, allocations: 4 kB / 497.4 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.115, allocations: 30.56 kB / 497.4 MB, free: 2.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.115, allocations: 4 kB / 497.4 MB, free: 2.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.00043/0.1155, allocations: 125.5 kB / 497.5 MB, free: 2.457 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.1155, allocations: 59.33 kB / 497.6 MB, free: 2.387 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.1157, allocations: 171 kB / 497.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.1157, allocations: 25.7 kB / 497.8 MB, free: 2.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.12e-05/0.1158, allocations: 124 kB / 497.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.1158, allocations: 27.78 kB / 497.9 MB, free: 2.027 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.449e-05/0.1159, allocations: 33.66 kB / 498 MB, free: 1.988 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.116, allocations: 326.8 kB / 498.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.1161, allocations: 27.98 kB / 498.3 MB, free: 1.633 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.1163, allocations: 64.27 kB / 498.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002631/0.1165, allocations: 104.2 kB / 498.5 MB, free: 1.438 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1165, allocations: 0 / 498.5 MB, free: 1.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003267/0.1169, allocations: 137.5 kB / 498.6 MB, free: 1.297 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.1169, allocations: 11.94 kB / 498.6 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.1169, allocations: 0 / 498.6 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.1169, allocations: 7.938 kB / 498.6 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/0.1172, allocations: 40.09 kB / 498.7 MB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001168/0.1183, allocations: 1.305 MB / 500 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.793e-05/0.1184, allocations: 20.11 kB / 500 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.1185, allocations: 8 kB / 0.4883 GB, free: 15.8 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.0001078/0.1186, allocations: 134.9 kB / 0.4884 GB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.518e-05/0.1186, allocations: 11.91 kB / 0.4884 GB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.715e-05/0.1186, allocations: 13.41 kB / 0.4884 GB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.1186, allocations: 0 / 0.4884 GB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.1186, allocations: 0 / 0.4884 GB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1186, allocations: 3.984 kB / 0.4884 GB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005687/0.1192, allocations: 358.4 kB / 0.4888 GB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1192, allocations: 0 / 0.4888 GB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002197/0.1194, allocations: 39.94 kB / 0.4888 GB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1194, allocations: 0 / 0.4888 GB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.1194, allocations: 0 / 0.4888 GB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001037/0.1205, allocations: 1.301 MB / 0.4901 GB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1205, allocations: 4.094 kB / 0.4901 GB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004195/0.1209, allocations: 244.2 kB / 0.4903 GB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.942e-05/0.121, allocations: 15.97 kB / 0.4903 GB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.121, allocations: 4 kB / 0.4903 GB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.1211, allocations: 7.984 kB / 0.4904 GB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.1211, allocations: 4 kB / 0.4904 GB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.1211, allocations: 8.125 kB / 0.4904 GB, free: 13.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001057/0.1212, allocations: 127.2 kB / 0.4905 GB, free: 13.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1212, allocations: 4.062 kB / 0.4905 GB, free: 13.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002827/0.1215, allocations: 35.89 kB / 0.4905 GB, free: 13.31 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.0007328/0.1223, allocations: 0.7639 MB / 0.4913 GB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003842/0.1226, allocations: 92 kB / 0.4914 GB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1226, allocations: 0 / 0.4914 GB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001899/0.1228, allocations: 47.91 kB / 0.4914 GB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004392/0.1233, allocations: 36.58 kB / 0.4914 GB, free: 12.35 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002404/0.1257, allocations: 1.85 MB / 0.4932 GB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.663e-05/0.1258, allocations: 101.8 kB / 0.4933 GB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.658e-05/0.1258, allocations: 8.984 kB / 0.4934 GB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.352e-05/0.1259, allocations: 43.41 kB / 0.4934 GB, free: 10.21 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1259, allocations: 0 / 0.4934 GB, free: 10.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03079/0.1567, allocations: 3.833 MB / 0.4971 GB, free: 6.559 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.39, allocations: 3.984 kB / 0.4971 GB, free: 6.555 MB / 366.1 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_BWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.156236818991601] Failed to read output from testmodel.py, exit status != 0: 11.499008386861533 11.705013509 11.590110288 Calling exit ...