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.001365/0.001365, allocations: 113 kB / 18.94 MB, free: 2.934 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.001471/0.001471, allocations: 209.8 kB / 22.25 MB, free: 5.086 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.438/1.438, allocations: 230.6 MB / 256 MB, free: 8.016 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.00837/0.00837, allocations: 1.346 MB / 313.8 MB, free: 1.852 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) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_CL_Simulation_ON_FWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_CL_Simulation_ON_FWD",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.002111/0.002111, allocations: 63.91 kB / 439.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09459/0.0967, allocations: 53.67 MB / 493.1 MB, free: 7.324 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD): time 0.003557/0.1003, allocations: 2.005 MB / 495.1 MB, free: 5.312 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.1015, allocations: 0.6078 MB / 495.7 MB, free: 4.699 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.735e-05/0.1016, allocations: 4 kB / 495.7 MB, free: 4.695 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001622/0.1017, allocations: 19.73 kB / 495.7 MB, free: 4.676 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.096e-05/0.1018, allocations: 35.66 kB / 495.8 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.1021, allocations: 103.8 kB / 495.9 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002483/0.1023, allocations: 175.4 kB / 496 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.1025, allocations: 56.8 kB / 496.1 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.35e-05/0.1026, allocations: 63.67 kB / 496.2 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.1027, allocations: 71.62 kB / 496.2 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.1027, allocations: 15.94 kB / 496.2 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.326e-05/0.1028, allocations: 12 kB / 496.3 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.438e-05/0.1028, allocations: 31.84 kB / 496.3 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.422e-05/0.1029, allocations: 71.61 kB / 496.4 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.1031, allocations: 147.3 kB / 496.5 MB, free: 3.906 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1031, allocations: 0 / 496.5 MB, free: 3.906 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1031, allocations: 0 / 496.5 MB, free: 3.906 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1031, allocations: 3.938 kB / 496.5 MB, free: 3.902 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.0006547/0.1038, allocations: 397.5 kB / 496.9 MB, free: 3.484 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1038, allocations: 11.97 kB / 496.9 MB, free: 3.473 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.053e-05/0.1039, allocations: 46.73 kB / 496.9 MB, free: 3.418 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.566e-05/0.1039, allocations: 20.8 kB / 497 MB, free: 3.398 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002783/0.1042, allocations: 158.3 kB / 497.1 MB, free: 3.219 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.1042, allocations: 8.375 kB / 497.1 MB, free: 3.211 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.899e-05/0.1043, allocations: 16.31 kB / 497.1 MB, free: 3.195 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002585/0.1045, allocations: 143.4 kB / 497.3 MB, free: 3.043 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1045, allocations: 3.938 kB / 497.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.1045, allocations: 0 / 497.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1045, allocations: 4 kB / 497.3 MB, free: 3.035 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.1047, allocations: 59.97 kB / 497.4 MB, free: 2.977 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008297/0.1055, allocations: 0.5112 MB / 497.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.1057, allocations: 82.55 kB / 497.9 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.14e-05/0.1058, allocations: 36.84 kB / 498 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.1058, allocations: 7.938 kB / 498 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.1059, allocations: 34.56 kB / 498 MB, free: 2.238 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.1059, allocations: 0 / 498 MB, free: 2.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003259/0.1062, allocations: 129.7 kB / 498.1 MB, free: 2.105 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/0.1063, allocations: 51.41 kB / 498.2 MB, free: 2.043 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.1064, allocations: 184.2 kB / 498.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.1065, allocations: 29.7 kB / 498.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.1066, allocations: 128.3 kB / 498.5 MB, free: 1.691 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.664e-05/0.1066, allocations: 35.69 kB / 498.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.196e-05/0.1067, allocations: 41.7 kB / 498.6 MB, free: 1.609 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.1068, allocations: 322.8 kB / 498.9 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.145e-05/0.1069, allocations: 31.98 kB / 499 MB, free: 1.254 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.107, allocations: 58.55 kB / 499 MB, free: 1.188 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/0.1072, allocations: 94.5 kB / 499.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.1072, allocations: 8 kB / 499.1 MB, free: 1.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002611/0.1075, allocations: 154.6 kB / 499.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.1075, allocations: 4 kB / 499.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1075, allocations: 4 kB / 499.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.1075, allocations: 0 / 499.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002229/0.1077, allocations: 39.97 kB / 499.3 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.1077, allocations: 4.062 kB / 499.3 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.475e-05/0.1078, allocations: 19.89 kB / 499.3 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.1078, allocations: 8.312 kB / 499.3 MB, free: 0.8438 MB / 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.0001029/0.1079, allocations: 125.8 kB / 499.5 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.792e-05/0.1079, allocations: 15.84 kB / 499.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.194e-05/0.108, allocations: 21.39 kB / 499.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.108, allocations: 3.938 kB / 499.5 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.108, allocations: 0 / 499.5 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.108, allocations: 0 / 499.5 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000532/0.1085, allocations: 398.3 kB / 499.9 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1085, allocations: 0 / 499.9 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002425/0.1088, allocations: 31.97 kB / 499.9 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1088, allocations: 4 kB / 499.9 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.1088, allocations: 0 / 499.9 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001143/0.1099, allocations: 1.301 MB / 0.4895 GB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1099, allocations: 4.156 kB / 0.4895 GB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000335/0.1103, allocations: 240.3 kB / 0.4897 GB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.017e-05/0.1103, allocations: 27.81 kB / 0.4897 GB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.1103, allocations: 3.938 kB / 0.4897 GB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.421e-05/0.1104, allocations: 7.984 kB / 0.4898 GB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.1105, allocations: 12.06 kB / 0.4898 GB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-06/0.1105, allocations: 4 kB / 0.4898 GB, free: 14.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001178/0.1106, allocations: 139.3 kB / 0.4899 GB, free: 14.33 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1106, allocations: 0 / 0.4899 GB, free: 14.33 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.1109, allocations: 24 kB / 0.4899 GB, free: 14.31 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.0007265/0.1116, allocations: 0.7834 MB / 0.4907 GB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002291/0.1118, allocations: 79.91 kB / 0.4908 GB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1118, allocations: 0 / 0.4908 GB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001739/0.112, allocations: 47.91 kB / 0.4908 GB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004353/0.1124, allocations: 51.56 kB / 0.4909 GB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002353/0.1148, allocations: 1.932 MB / 0.4927 GB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.1151, allocations: 0.7279 MB / 0.4935 GB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.817e-05/0.1152, allocations: 17.02 kB / 0.4935 GB, free: 10.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.287e-05/0.1153, allocations: 43.42 kB / 0.4935 GB, free: 10.48 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1153, allocations: 0 / 0.4935 GB, free: 10.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.042/0.1573, allocations: 3.674 MB / 0.4971 GB, free: 6.984 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.37, allocations: 3.938 kB / 0.4971 GB, free: 6.98 MB / 366.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD_res.csv --start-time 0 --stop-time 300 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.6 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_CL_Simulation_ON_FWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.180882910004584] Failed to read output from testmodel.py, exit status != 0: 11.50894663699728 11.708787196 11.602515801000001 Calling exit ...