Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_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.001746/0.001746, 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.002604/0.002604, allocations: 210.9 kB / 22.24 MB, free: 5.258 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.48/1.48, 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.008231/0.008231, allocations: 1.349 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.SmallSignal_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SmallSignal_ON_BWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SmallSignal_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.002174/0.002174, allocations: 71.89 kB / 440.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09459/0.09676, allocations: 53.68 MB / 493.8 MB, free: 6.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD): time 0.003254/0.1, allocations: 1.662 MB / 495.5 MB, free: 4.672 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.1012, allocations: 0.5533 MB / 496 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.1013, allocations: 4 kB / 496 MB, free: 4.109 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001488/0.1014, allocations: 15.8 kB / 496 MB, free: 4.094 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.037e-05/0.1015, allocations: 31.72 kB / 496.1 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000269/0.1018, allocations: 79.89 kB / 496.1 MB, free: 3.984 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002403/0.102, allocations: 155.5 kB / 496.3 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.1022, allocations: 30 kB / 496.3 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.618e-05/0.1023, allocations: 55.72 kB / 496.4 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001/0.1024, allocations: 47.7 kB / 496.4 MB, free: 3.691 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.691e-05/0.1024, allocations: 12 kB / 496.4 MB, free: 3.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.112e-05/0.1024, allocations: 8 kB / 496.4 MB, free: 3.672 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.096e-05/0.1024, allocations: 19.92 kB / 496.5 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.948e-05/0.1025, allocations: 51.67 kB / 496.5 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.1027, allocations: 115.5 kB / 496.6 MB, free: 3.488 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1027, allocations: 0 / 496.6 MB, free: 3.488 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1027, allocations: 4 kB / 496.6 MB, free: 3.484 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.1027, allocations: 4 kB / 496.6 MB, free: 3.48 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.0006064/0.1033, allocations: 365.6 kB / 497 MB, free: 3.094 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.1033, allocations: 8.031 kB / 497 MB, free: 3.086 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.686e-05/0.1034, allocations: 38.94 kB / 497 MB, free: 3.039 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.048e-05/0.1034, allocations: 16.84 kB / 497.1 MB, free: 3.023 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.1037, allocations: 150.3 kB / 497.2 MB, free: 2.852 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.1037, allocations: 8.562 kB / 497.2 MB, free: 2.844 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.457e-05/0.1037, allocations: 16.12 kB / 497.2 MB, free: 2.828 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.1039, allocations: 109.4 kB / 497.3 MB, free: 2.711 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.1039, allocations: 0 / 497.3 MB, free: 2.711 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.1039, allocations: 4 kB / 497.3 MB, free: 2.707 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.1039, allocations: 4 kB / 497.3 MB, free: 2.703 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.1041, allocations: 43.97 kB / 497.4 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007795/0.1048, allocations: 451.8 kB / 497.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.105, allocations: 58.5 kB / 497.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.976e-05/0.105, allocations: 24.98 kB / 497.9 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.105, allocations: 0 / 497.9 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.1051, allocations: 38.55 kB / 497.9 MB, free: 2.031 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.1051, allocations: 0 / 497.9 MB, free: 2.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002543/0.1053, allocations: 89.58 kB / 498 MB, free: 1.938 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.1054, allocations: 51.41 kB / 498.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.1055, allocations: 167.2 kB / 498.2 MB, free: 1.695 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.1056, allocations: 25.7 kB / 498.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.317e-05/0.1057, allocations: 123.9 kB / 498.4 MB, free: 1.539 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.1057, allocations: 27.78 kB / 498.4 MB, free: 1.512 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.89e-05/0.1057, allocations: 29.72 kB / 498.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1059, allocations: 326.8 kB / 498.8 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.966e-05/0.1059, allocations: 19.98 kB / 498.8 MB, free: 1.129 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.479e-05/0.106, allocations: 51.36 kB / 498.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.1061, allocations: 71.38 kB / 498.9 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1061, allocations: 0 / 498.9 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001992/0.1063, allocations: 105.5 kB / 499 MB, free: 0.875 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.1063, allocations: 16.08 kB / 499 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1063, allocations: 0 / 499 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.1064, allocations: 4 kB / 499 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002644/0.1066, allocations: 35.92 kB / 499.1 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001193/0.1078, allocations: 1.305 MB / 0.4886 GB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.412e-05/0.1079, allocations: 11.95 kB / 0.4887 GB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.1079, allocations: 4 kB / 0.4887 GB, free: 15.39 MB / 366.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 (12): * Single equations (assignments): 11 * 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.0001131/0.108, allocations: 125.8 kB / 0.4888 GB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.108, allocations: 15.84 kB / 0.4888 GB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.061e-05/0.1081, allocations: 13.41 kB / 0.4888 GB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.1081, allocations: 7.938 kB / 0.4888 GB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.1081, allocations: 0 / 0.4888 GB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1081, allocations: 0 / 0.4888 GB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004378/0.1085, allocations: 334.4 kB / 0.4891 GB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1085, allocations: 4.031 kB / 0.4891 GB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002243/0.1087, allocations: 31.98 kB / 0.4892 GB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.1087, allocations: 0 / 0.4892 GB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.1087, allocations: 96 / 0.4892 GB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001003/0.1098, allocations: 1.309 MB / 0.4904 GB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1098, allocations: 3.984 kB / 0.4904 GB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000213/0.11, allocations: 200.4 kB / 0.4906 GB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.604e-05/0.11, allocations: 19.92 kB / 0.4907 GB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.11, allocations: 4 kB / 0.4907 GB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.66e-05/0.1101, allocations: 3.938 kB / 0.4907 GB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.787e-05/0.1101, allocations: 4 kB / 0.4907 GB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.1101, allocations: 7.984 kB / 0.4907 GB, free: 13.13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001006/0.1102, allocations: 120 kB / 0.4908 GB, free: 13.01 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1102, allocations: 4 kB / 0.4908 GB, free: 13.01 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002731/0.1105, allocations: 23.92 kB / 0.4908 GB, free: 12.98 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.0005423/0.1111, allocations: 0.7368 MB / 0.4915 GB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002559/0.1113, allocations: 59.91 kB / 0.4916 GB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/0.1113, allocations: 0 / 0.4916 GB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.1114, allocations: 31.98 kB / 0.4916 GB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004462/0.1119, allocations: 43.81 kB / 0.4917 GB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/0.1138, allocations: 1.724 MB / 0.4933 GB, free: 10.26 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.338e-05/0.1139, allocations: 101.6 kB / 0.4934 GB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.392e-05/0.114, allocations: 12.8 kB / 0.4935 GB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.039e-05/0.1141, allocations: 43.42 kB / 0.4935 GB, free: 10.09 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1141, allocations: 4 kB / 0.4935 GB, free: 10.08 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03114/0.1452, allocations: 3.585 MB / 0.497 GB, free: 6.676 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.4, allocations: 14.34 kB / 0.497 GB, free: 6.668 MB / 366.1 MB " [Timeout remaining time 648] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.sim & python3 -m fmpy simulate --output-file BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD_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_SmallSignal_ON_BWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.275667807087302] Failed to read output from testmodel.py, exit status != 0: 11.510979699902236 11.689154480000001 11.583851351 Calling exit ...