Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.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.001321/0.001321, 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.001502/0.001502, allocations: 211.8 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.448/1.448, allocations: 230.6 MB / 256 MB, free: 7.816 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.008233/0.008233, allocations: 1.337 MB / 313.8 MB, free: 1.676 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.NonInvertibleConfig.SmallSignal_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SmallSignal_ON_BWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_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.00213/0.00213, allocations: 71.91 kB / 440.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1048, allocations: 53.68 MB / 493.8 MB, free: 6.375 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD): time 0.003214/0.108, allocations: 1.629 MB / 495.4 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.1092, allocations: 0.5416 MB / 496 MB, free: 4.191 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.42e-05/0.1092, allocations: 0 / 496 MB, free: 4.191 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001804/0.1094, allocations: 19.8 kB / 496 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.563e-05/0.1095, allocations: 23.78 kB / 496 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002923/0.1098, allocations: 83.84 kB / 496.1 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002291/0.11, allocations: 123.6 kB / 496.2 MB, free: 3.945 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.1102, allocations: 33.59 kB / 496.2 MB, free: 3.906 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.765e-05/0.1102, allocations: 43.8 kB / 496.3 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.42e-05/0.1103, allocations: 39.72 kB / 496.3 MB, free: 3.824 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.1104, allocations: 12 kB / 496.3 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.594e-05/0.1104, allocations: 4 kB / 496.3 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.557e-05/0.1104, allocations: 19.92 kB / 496.4 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.884e-05/0.1105, allocations: 39.8 kB / 496.4 MB, free: 3.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.1106, allocations: 99.44 kB / 496.5 MB, free: 3.652 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1106, allocations: 0 / 496.5 MB, free: 3.652 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.486e-06/0.1106, allocations: 4 kB / 496.5 MB, free: 3.648 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1106, allocations: 0 / 496.5 MB, free: 3.648 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.0005363/0.1112, allocations: 341.8 kB / 496.8 MB, free: 3.285 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.1112, allocations: 12.03 kB / 496.9 MB, free: 3.273 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.531e-05/0.1113, allocations: 42.73 kB / 496.9 MB, free: 3.223 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.688e-05/0.1113, allocations: 16.84 kB / 496.9 MB, free: 3.207 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.1115, allocations: 142.9 kB / 497 MB, free: 3.043 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.1116, allocations: 4.375 kB / 497.1 MB, free: 3.039 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.076e-05/0.1116, allocations: 19.89 kB / 497.1 MB, free: 3.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.1118, allocations: 99.36 kB / 497.2 MB, free: 2.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.1118, allocations: 3.938 kB / 497.2 MB, free: 2.906 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.1118, allocations: 4 kB / 497.2 MB, free: 2.902 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.1118, allocations: 4 kB / 497.2 MB, free: 2.898 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.365e-05/0.1119, allocations: 39.97 kB / 497.2 MB, free: 2.859 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007407/0.1126, allocations: 423.8 kB / 497.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002174/0.1129, allocations: 54.58 kB / 497.7 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.746e-05/0.1129, allocations: 16.98 kB / 497.7 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.1129, allocations: 3.938 kB / 497.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.113, allocations: 38.56 kB / 497.7 MB, free: 2.266 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.113, allocations: 3.938 kB / 497.7 MB, free: 2.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002212/0.1132, allocations: 73.59 kB / 497.8 MB, free: 2.184 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.743e-05/0.1132, allocations: 55.41 kB / 497.9 MB, free: 2.117 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.1134, allocations: 154.2 kB / 498 MB, free: 1.957 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.895e-05/0.1135, allocations: 37.58 kB / 498.1 MB, free: 1.914 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.022e-05/0.1135, allocations: 123.8 kB / 498.2 MB, free: 1.789 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/0.1136, allocations: 15.91 kB / 498.2 MB, free: 1.773 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.384e-05/0.1136, allocations: 29.7 kB / 498.2 MB, free: 1.738 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.1138, allocations: 318.8 kB / 498.5 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.483e-05/0.1138, allocations: 19.98 kB / 498.6 MB, free: 1.398 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.602e-05/0.1139, allocations: 69.25 kB / 498.6 MB, free: 1.312 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.1141, allocations: 85.94 kB / 498.7 MB, free: 1.207 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1141, allocations: 0 / 498.7 MB, free: 1.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001854/0.1143, allocations: 121.3 kB / 498.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.1143, allocations: 4 kB / 498.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.1143, allocations: 3.984 kB / 498.8 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.1143, allocations: 4.156 kB / 498.8 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.1144, allocations: 31.98 kB / 498.9 MB, free: 1.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.1144, allocations: 3.938 kB / 498.9 MB, free: 1.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.811e-05/0.1145, allocations: 15.89 kB / 498.9 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.1145, allocations: 4 kB / 498.9 MB, free: 1.016 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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): 13 * 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.0001082/0.1146, allocations: 117.8 kB / 499 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.097e-05/0.1146, allocations: 11.89 kB / 499 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.972e-05/0.1147, allocations: 12.41 kB / 499 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.1147, allocations: 4 kB / 499 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1147, allocations: 320 / 499 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.1147, allocations: 7.984 kB / 499 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004089/0.1151, allocations: 318.3 kB / 499.4 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1151, allocations: 0 / 499.4 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.1152, allocations: 16 kB / 499.4 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.1152, allocations: 4.094 kB / 499.4 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.1152, allocations: 11.97 kB / 499.4 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1152, allocations: 0 / 499.4 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1152, allocations: 3.938 kB / 499.4 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002663/0.1155, allocations: 184.2 kB / 499.6 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.608e-05/0.1155, allocations: 15.98 kB / 499.6 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.1155, allocations: 12.02 kB / 499.6 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.444e-05/0.1156, allocations: 0 / 499.6 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.502e-05/0.1156, allocations: 4 kB / 499.6 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.1156, allocations: 0 / 499.6 MB, free: 236 kB / 350.1 MB Notification: Performance of sorting global known variables: time 9.749e-05/0.1157, allocations: 120.1 kB / 499.7 MB, free: 116 kB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1157, allocations: 0 / 499.7 MB, free: 116 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002482/0.116, allocations: 15.95 kB / 499.7 MB, free: 100 kB / 350.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 (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.000526/0.1165, allocations: 0.721 MB / 0.4887 GB, free: 15.35 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00014/0.1166, allocations: 56.05 kB / 0.4888 GB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1166, allocations: 0 / 0.4888 GB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.687e-05/0.1167, allocations: 15.94 kB / 0.4888 GB, free: 15.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004343/0.1171, allocations: 45.59 kB / 0.4888 GB, free: 15.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/0.119, allocations: 1.695 MB / 0.4905 GB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.092e-05/0.1191, allocations: 93.05 kB / 0.4906 GB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.559e-05/0.1191, allocations: 12.48 kB / 0.4906 GB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.518e-05/0.1192, allocations: 31.42 kB / 0.4906 GB, free: 13.27 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1192, allocations: 4 kB / 0.4906 GB, free: 13.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0299/0.1491, allocations: 3.209 MB / 0.4938 GB, free: 10.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.4, allocations: 14.56 kB / 0.4938 GB, free: 10.21 MB / 366.1 MB " [Timeout remaining time 648] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.sim & python3 -m fmpy simulate --output-file BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.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_NonInvertibleConfig_SmallSignal_ON_BWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.274204107001424] Failed to read output from testmodel.py, exit status != 0: 11.505108898039907 11.722550856 11.608925722 Calling exit ...