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.001771/0.001771, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00153/0.00153, allocations: 216.6 kB / 22.25 MB, free: 4.852 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.455/1.455, allocations: 230.6 MB / 256 MB, free: 7.789 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.008634/0.008634, allocations: 1.327 MB / 313.8 MB, free: 1.766 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.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.002186/0.002186, allocations: 67.91 kB / 439.3 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09424/0.09643, allocations: 53.67 MB / 493 MB, free: 7.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD): time 0.003878/0.1003, allocations: 1.928 MB / 494.9 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.1016, allocations: 0.5611 MB / 495.5 MB, free: 4.668 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.1017, allocations: 11.94 kB / 495.5 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001656/0.1019, allocations: 23.73 kB / 495.5 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.765e-05/0.102, allocations: 35.66 kB / 495.6 MB, free: 4.598 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002789/0.1023, allocations: 95.86 kB / 495.7 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002801/0.1025, allocations: 187.3 kB / 495.8 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001621/0.1027, allocations: 49.66 kB / 495.9 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.1028, allocations: 63.67 kB / 495.9 MB, free: 4.207 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.1029, allocations: 59.64 kB / 496 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.98e-05/0.1029, allocations: 12 kB / 496 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.671e-05/0.103, allocations: 16 kB / 496 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.54e-05/0.103, allocations: 27.91 kB / 496.1 MB, free: 4.094 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.734e-05/0.1031, allocations: 59.67 kB / 496.1 MB, free: 4.035 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002293/0.1033, allocations: 155.2 kB / 496.3 MB, free: 3.883 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.1033, allocations: 0 / 496.3 MB, free: 3.883 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1033, allocations: 0 / 496.3 MB, free: 3.883 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.318e-05/0.1033, allocations: 0 / 496.3 MB, free: 3.883 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.0007009/0.104, allocations: 393.4 kB / 496.7 MB, free: 3.469 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.1041, allocations: 12.03 kB / 496.7 MB, free: 3.457 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.313e-05/0.1041, allocations: 50.73 kB / 496.7 MB, free: 3.398 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.89e-05/0.1042, allocations: 24.73 kB / 496.7 MB, free: 3.375 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003182/0.1045, allocations: 158.3 kB / 496.9 MB, free: 3.195 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.1045, allocations: 12.38 kB / 496.9 MB, free: 3.184 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.984e-05/0.1046, allocations: 12.38 kB / 496.9 MB, free: 3.172 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002723/0.1048, allocations: 139.3 kB / 497.1 MB, free: 3.023 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.1048, allocations: 0 / 497.1 MB, free: 3.023 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.1049, allocations: 4 kB / 497.1 MB, free: 3.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.1049, allocations: 4 kB / 497.1 MB, free: 3.016 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000172/0.105, allocations: 59.97 kB / 497.1 MB, free: 2.957 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008909/0.1059, allocations: 499.5 kB / 497.6 MB, free: 2.422 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.1061, allocations: 82.55 kB / 497.7 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.352e-05/0.1062, allocations: 37.03 kB / 497.7 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.1062, allocations: 7.875 kB / 497.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.1063, allocations: 34.56 kB / 497.8 MB, free: 2.242 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.1063, allocations: 4 kB / 497.8 MB, free: 2.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003498/0.1066, allocations: 129.5 kB / 497.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.1067, allocations: 51.41 kB / 497.9 MB, free: 2.043 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.1069, allocations: 184.2 kB / 498.1 MB, free: 1.855 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.1069, allocations: 29.7 kB / 498.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.473e-05/0.107, allocations: 116.4 kB / 498.3 MB, free: 1.703 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/0.107, allocations: 39.69 kB / 498.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.289e-05/0.1071, allocations: 37.7 kB / 498.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.1072, allocations: 326.8 kB / 498.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.807e-05/0.1073, allocations: 31.98 kB / 498.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.1074, allocations: 59.64 kB / 498.8 MB, free: 1.195 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.1076, allocations: 101.4 kB / 498.9 MB, free: 1.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1076, allocations: 0 / 498.9 MB, free: 1.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002849/0.1079, allocations: 149.4 kB / 499 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1079, allocations: 8 kB / 499 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1079, allocations: 4.062 kB / 499 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.1079, allocations: 0 / 499 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.1081, allocations: 39.92 kB / 499.1 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1081, allocations: 0 / 499.1 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.558e-05/0.1082, allocations: 19.88 kB / 499.1 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-06/0.1082, allocations: 4 kB / 499.1 MB, free: 0.8633 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.000119/0.1083, allocations: 130.2 kB / 499.2 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.1e-05/0.1084, allocations: 19.84 kB / 499.2 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.048e-05/0.1084, allocations: 13.41 kB / 499.2 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1084, allocations: 8 kB / 499.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.1084, allocations: 3.938 kB / 499.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1084, allocations: 3.984 kB / 499.3 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005418/0.109, allocations: 378.4 kB / 499.6 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.109, allocations: 0 / 499.6 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002439/0.1092, allocations: 31.92 kB / 499.7 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1092, allocations: 0 / 499.7 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.1092, allocations: 11.98 kB / 499.7 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001188/0.1104, allocations: 1.301 MB / 0.4892 GB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1104, allocations: 0 / 0.4892 GB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003998/0.1108, allocations: 240.2 kB / 0.4895 GB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.53e-05/0.1109, allocations: 27.86 kB / 0.4895 GB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.1109, allocations: 7.922 kB / 0.4895 GB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.056e-05/0.111, allocations: 224 / 0.4895 GB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.685e-05/0.111, allocations: 15.98 kB / 0.4895 GB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.655e-06/0.111, allocations: 4 kB / 0.4895 GB, free: 14.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001302/0.1112, allocations: 131.4 kB / 0.4896 GB, free: 14.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1112, allocations: 0 / 0.4896 GB, free: 14.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002706/0.1114, allocations: 28 kB / 0.4897 GB, free: 14.34 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.0006926/0.1121, allocations: 0.7756 MB / 0.4904 GB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002482/0.1124, allocations: 87.97 kB / 0.4905 GB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1124, allocations: 0 / 0.4905 GB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.1126, allocations: 47.91 kB / 0.4905 GB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004372/0.113, allocations: 52.52 kB / 0.4906 GB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002379/0.1154, allocations: 1.933 MB / 0.4925 GB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.1155, allocations: 115.9 kB / 0.4926 GB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.569e-05/0.1156, allocations: 17.66 kB / 0.4926 GB, free: 11.17 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.003e-05/0.1157, allocations: 51.36 kB / 0.4927 GB, free: 11.12 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1157, allocations: 0 / 0.4927 GB, free: 11.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04464/0.1603, allocations: 4.166 MB / 0.4967 GB, free: 7.145 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.47, allocations: 4 kB / 0.4967 GB, free: 7.141 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.23912247410044] Failed to read output from testmodel.py, exit status != 0: 11.580489627085626 11.776842426 11.670763612 Calling exit ...