Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_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.001809/0.001809, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001608/0.001608, allocations: 213.5 kB / 22.24 MB, free: 5.242 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.439/1.439, allocations: 230.6 MB / 256 MB, free: 7.793 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.01751/0.01751, allocations: 1.343 MB / 313.8 MB, free: 1.633 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.SteadyState_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SteadyState_ON_FWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SteadyState_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.002067/0.002067, allocations: 67.91 kB / 439.3 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1062, allocations: 53.67 MB / 493 MB, free: 7.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD): time 0.003152/0.1094, allocations: 1.637 MB / 494.6 MB, free: 5.477 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.1104, allocations: 0.5533 MB / 495.2 MB, free: 4.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.48e-05/0.1105, allocations: 7.938 kB / 495.2 MB, free: 4.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000125/0.1106, allocations: 15.8 kB / 495.2 MB, free: 4.895 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.32e-05/0.1107, allocations: 31.78 kB / 495.2 MB, free: 4.863 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000237/0.1109, allocations: 79.84 kB / 495.3 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.1111, allocations: 123.5 kB / 495.4 MB, free: 4.664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.1112, allocations: 37.5 kB / 495.5 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.273e-05/0.1113, allocations: 47.78 kB / 495.5 MB, free: 4.578 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.211e-05/0.1114, allocations: 35.78 kB / 495.6 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.1114, allocations: 11.94 kB / 495.6 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.048e-05/0.1114, allocations: 8 kB / 495.6 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.593e-05/0.1115, allocations: 15.94 kB / 495.6 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.869e-05/0.1115, allocations: 51.72 kB / 495.6 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.1117, allocations: 115.5 kB / 495.8 MB, free: 4.344 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.1117, allocations: 3.984 kB / 495.8 MB, free: 4.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1117, allocations: 0 / 495.8 MB, free: 4.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.1117, allocations: 0 / 495.8 MB, free: 4.34 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005778/0.1123, allocations: 345.8 kB / 496.1 MB, free: 3.973 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.1123, allocations: 12.03 kB / 496.1 MB, free: 3.961 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.549e-05/0.1124, allocations: 38.73 kB / 496.1 MB, free: 3.914 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.524e-05/0.1124, allocations: 16.84 kB / 496.2 MB, free: 3.898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.1126, allocations: 148.5 kB / 496.3 MB, free: 3.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.1127, allocations: 12.38 kB / 496.3 MB, free: 3.719 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.02e-05/0.1127, allocations: 12.31 kB / 496.3 MB, free: 3.707 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.1129, allocations: 100.4 kB / 496.4 MB, free: 3.594 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.1129, allocations: 0 / 496.4 MB, free: 3.594 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.1129, allocations: 7.984 kB / 496.4 MB, free: 3.586 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.1129, allocations: 4 kB / 496.4 MB, free: 3.582 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.021e-05/0.113, allocations: 31.92 kB / 496.5 MB, free: 3.551 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007244/0.1137, allocations: 0.5077 MB / 497 MB, free: 2.992 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.1138, allocations: 58.5 kB / 497 MB, free: 2.926 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.763e-05/0.1139, allocations: 16.89 kB / 497.1 MB, free: 2.906 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.1139, allocations: 0 / 497.1 MB, free: 2.906 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.1139, allocations: 34.5 kB / 497.1 MB, free: 2.863 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.1139, allocations: 0 / 497.1 MB, free: 2.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.000195/0.1141, allocations: 73.62 kB / 497.2 MB, free: 2.785 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.1141, allocations: 55.41 kB / 497.2 MB, free: 2.719 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.1143, allocations: 183.3 kB / 497.4 MB, free: 2.527 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.1144, allocations: 25.7 kB / 497.4 MB, free: 2.496 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.549e-05/0.1144, allocations: 108 kB / 497.5 MB, free: 2.387 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.1145, allocations: 27.83 kB / 497.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-05/0.1145, allocations: 33.7 kB / 497.6 MB, free: 2.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.1147, allocations: 326.8 kB / 497.9 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.859e-05/0.1147, allocations: 20 kB / 497.9 MB, free: 1.973 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.897e-05/0.1148, allocations: 51.36 kB / 498 MB, free: 1.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.1149, allocations: 83.23 kB / 498.1 MB, free: 1.816 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1149, allocations: 0 / 498.1 MB, free: 1.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003015/0.1152, allocations: 121.6 kB / 498.2 MB, free: 1.691 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.1152, allocations: 7.938 kB / 498.2 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.1152, allocations: 0 / 498.2 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.1153, allocations: 7.984 kB / 498.2 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.1154, allocations: 20 kB / 498.2 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.1154, allocations: 11.92 kB / 498.2 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.696e-05/0.1155, allocations: 11.89 kB / 498.2 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.1155, allocations: 8 kB / 498.2 MB, free: 1.625 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (15): * Single equations (assignments): 15 * 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.0001001/0.1156, allocations: 114.9 kB / 498.4 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.344e-05/0.1156, allocations: 15.84 kB / 498.4 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.429e-05/0.1157, allocations: 25.03 kB / 498.4 MB, free: 1.461 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.1157, allocations: 0 / 498.4 MB, free: 1.461 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1157, allocations: 0 / 498.4 MB, free: 1.461 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.1157, allocations: 0 / 498.4 MB, free: 1.461 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003761/0.116, allocations: 310.4 kB / 498.7 MB, free: 1.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.116, allocations: 0 / 498.7 MB, free: 1.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000193/0.1162, allocations: 19.98 kB / 498.7 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.012e-06/0.1162, allocations: 4 kB / 498.7 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.1163, allocations: 4 kB / 498.7 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001156/0.1174, allocations: 1.305 MB / 0.4883 GB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1174, allocations: 4.031 kB / 0.4883 GB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/0.1176, allocations: 184.2 kB / 0.4885 GB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.902e-05/0.1176, allocations: 11.94 kB / 0.4885 GB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.1177, allocations: 7.984 kB / 0.4885 GB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.474e-05/0.1177, allocations: 8.156 kB / 0.4885 GB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.932e-05/0.1178, allocations: 7.938 kB / 0.4885 GB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.1178, allocations: 0 / 0.4885 GB, free: 15.42 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001272/0.1179, allocations: 143.2 kB / 0.4887 GB, free: 15.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1179, allocations: 0 / 0.4887 GB, free: 15.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002557/0.1181, allocations: 19.94 kB / 0.4887 GB, free: 15.26 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 (4): * Single equations (assignments): 3 * 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.000516/0.1187, allocations: 0.7132 MB / 0.4894 GB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001465/0.1188, allocations: 55.91 kB / 0.4894 GB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1188, allocations: 256 / 0.4894 GB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.1189, allocations: 31.97 kB / 0.4895 GB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004398/0.1194, allocations: 35.91 kB / 0.4895 GB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001985/0.1214, allocations: 1.74 MB / 0.4912 GB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.818e-05/0.1215, allocations: 85.19 kB / 0.4913 GB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.36e-05/0.1215, allocations: 20.95 kB / 0.4913 GB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.269e-05/0.1216, allocations: 31.42 kB / 0.4913 GB, free: 12.41 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1216, allocations: 3.938 kB / 0.4913 GB, free: 12.4 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03001/0.1516, allocations: 3.492 MB / 0.4947 GB, free: 9.094 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.2, allocations: 4.062 kB / 0.4947 GB, free: 9.09 MB / 366.1 MB " [Timeout remaining time 649] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.sim & python3 -m fmpy simulate --output-file BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SteadyState_ON_FWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.030770529061556] Failed to read output from testmodel.py, exit status != 0: 11.31554151000455 11.532526785 11.415974572 Calling exit ...