Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_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.0008919/0.0008919, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008949/0.0008949, allocations: 169.9 kB / 22.46 MB, free: 2.102 MB / 18.57 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 0.8933/0.8933, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.004206/0.004206, allocations: 1.025 MB / 260.2 MB, free: 12.31 MB / 250.7 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.OL_Simulation_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_BWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_BWD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 385.9 MB, free: 12.12 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.047e-05/2.241e-05, allocations: 2.281 kB / 385.9 MB, free: 12.12 MB / 362.7 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD): time 0.003141/0.003163, allocations: 1.773 MB / 387.7 MB, free: 10.34 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009722/0.004135, allocations: 0.5455 MB / 388.2 MB, free: 9.789 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.151e-05/0.004207, allocations: 7.875 kB / 388.2 MB, free: 9.781 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000139/0.004346, allocations: 19.8 kB / 388.2 MB, free: 9.762 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 5.241e-05/0.004398, allocations: 35.7 kB / 388.3 MB, free: 9.727 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002181/0.004616, allocations: 87.81 kB / 388.4 MB, free: 9.641 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.004795, allocations: 183.3 kB / 388.5 MB, free: 9.461 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.004926, allocations: 41.77 kB / 388.6 MB, free: 9.418 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.532e-05/0.005021, allocations: 79.73 kB / 388.7 MB, free: 9.34 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.283e-05/0.005084, allocations: 35.89 kB / 388.7 MB, free: 9.305 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.71e-05/0.005111, allocations: 12 kB / 388.7 MB, free: 9.293 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.225e-05/0.005123, allocations: 8 kB / 388.7 MB, free: 9.285 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.413e-05/0.005147, allocations: 27.84 kB / 388.7 MB, free: 9.258 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.509e-05/0.005182, allocations: 35.92 kB / 388.8 MB, free: 9.223 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.005329, allocations: 139.4 kB / 388.9 MB, free: 9.086 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.005331, allocations: 0 / 388.9 MB, free: 9.086 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.005332, allocations: 0 / 388.9 MB, free: 9.086 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.005336, allocations: 4 kB / 388.9 MB, free: 9.082 MB / 362.7 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.0004471/0.005783, allocations: 369.7 kB / 389.3 MB, free: 8.691 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.00582, allocations: 12.03 kB / 389.3 MB, free: 8.68 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.152e-05/0.005851, allocations: 34.75 kB / 389.3 MB, free: 8.637 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.065e-05/0.005882, allocations: 20.84 kB / 389.3 MB, free: 8.617 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.006042, allocations: 158.2 kB / 389.5 MB, free: 8.434 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.006053, allocations: 8.328 kB / 389.5 MB, free: 8.426 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.006074, allocations: 12.38 kB / 389.5 MB, free: 8.414 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.006247, allocations: 123.9 kB / 389.6 MB, free: 8.281 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.006254, allocations: 192 / 389.6 MB, free: 8.281 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.006265, allocations: 8.062 kB / 389.6 MB, free: 8.273 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.006271, allocations: 4 kB / 389.6 MB, free: 8.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.006396, allocations: 67.89 kB / 389.7 MB, free: 8.203 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005256/0.006922, allocations: 463.8 kB / 390.2 MB, free: 7.703 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.007047, allocations: 66.48 kB / 390.2 MB, free: 7.629 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.119e-05/0.007108, allocations: 32.97 kB / 390.3 MB, free: 7.594 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.007122, allocations: 0 / 390.3 MB, free: 7.594 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.007142, allocations: 38.55 kB / 390.3 MB, free: 7.547 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.007144, allocations: 0 / 390.3 MB, free: 7.547 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002531/0.007397, allocations: 125.5 kB / 390.4 MB, free: 7.418 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.007427, allocations: 55.34 kB / 390.5 MB, free: 7.352 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.007537, allocations: 178.9 kB / 390.7 MB, free: 7.168 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.00755, allocations: 29.7 kB / 390.7 MB, free: 7.133 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.241e-05/0.007602, allocations: 116 kB / 390.8 MB, free: 7.016 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/0.007619, allocations: 27.8 kB / 390.8 MB, free: 6.988 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.007653, allocations: 29.66 kB / 390.9 MB, free: 6.953 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.191e-05/0.007735, allocations: 326.8 kB / 391.2 MB, free: 6.625 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.043e-05/0.007795, allocations: 31.97 kB / 391.2 MB, free: 6.594 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.28e-05/0.007868, allocations: 71.27 kB / 391.3 MB, free: 6.512 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.007999, allocations: 100.4 kB / 391.4 MB, free: 6.398 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.008002, allocations: 4 kB / 391.4 MB, free: 6.395 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000169/0.008171, allocations: 141.5 kB / 391.5 MB, free: 6.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.008183, allocations: 4 kB / 391.5 MB, free: 6.246 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.008187, allocations: 0 / 391.5 MB, free: 6.246 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.0082, allocations: 7.984 kB / 391.5 MB, free: 6.238 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.00836, allocations: 39.86 kB / 391.6 MB, free: 6.199 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006261/0.008986, allocations: 1.305 MB / 392.9 MB, free: 4.785 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.062e-05/0.009036, allocations: 19.86 kB / 392.9 MB, free: 4.766 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.009043, allocations: 4 kB / 392.9 MB, free: 4.762 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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): 12 * 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 6.913e-05/0.009112, allocations: 123.5 kB / 393 MB, free: 4.633 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.186e-05/0.009134, allocations: 7.953 kB / 393 MB, free: 4.625 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.82e-05/0.009152, allocations: 21.45 kB / 393 MB, free: 4.602 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.009154, allocations: 0 / 393 MB, free: 4.602 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.009155, allocations: 8.125 kB / 393 MB, free: 4.594 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.009158, allocations: 0 / 393 MB, free: 4.594 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004042/0.009562, allocations: 362.2 kB / 393.4 MB, free: 4.188 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-06/0.009564, allocations: 0 / 393.4 MB, free: 4.188 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/0.00974, allocations: 31.97 kB / 393.4 MB, free: 4.156 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.009742, allocations: 0 / 393.4 MB, free: 4.156 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.009754, allocations: 8 kB / 393.4 MB, free: 4.148 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007509/0.0105, allocations: 1.301 MB / 394.7 MB, free: 2.738 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01051, allocations: 0 / 394.7 MB, free: 2.738 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003184/0.01082, allocations: 240.2 kB / 395 MB, free: 2.484 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.985e-05/0.01086, allocations: 16.14 kB / 395 MB, free: 2.469 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.01088, allocations: 8 kB / 395 MB, free: 2.461 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.028e-05/0.01097, allocations: 7.984 kB / 395 MB, free: 2.453 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.01101, allocations: 3.984 kB / 395 MB, free: 2.449 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.01102, allocations: 11.94 kB / 395 MB, free: 2.438 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.36e-05/0.01111, allocations: 123.2 kB / 395.1 MB, free: 2.316 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01111, allocations: 0 / 395.1 MB, free: 2.316 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003236/0.01144, allocations: 31.95 kB / 395.2 MB, free: 2.285 MB / 362.7 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.0005482/0.01198, allocations: 0.7717 MB / 395.9 MB, free: 1.484 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003036/0.01229, allocations: 87.88 kB / 396 MB, free: 1.398 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.01229, allocations: 4 kB / 396 MB, free: 1.395 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.01242, allocations: 44.27 kB / 396.1 MB, free: 1.352 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004566/0.01287, allocations: 46.56 kB / 396.1 MB, free: 1.309 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.01484, allocations: 1.814 MB / 397.9 MB, free: 15.38 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.222e-05/0.01492, allocations: 105.9 kB / 398 MB, free: 15.25 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.289e-05/0.01499, allocations: 8.984 kB / 398.1 MB, free: 15.24 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.578e-05/0.01506, allocations: 40.47 kB / 398.1 MB, free: 15.2 MB / 378.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01506, allocations: 0 / 398.1 MB, free: 15.2 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02176/0.03682, allocations: 3.983 MB / 402.1 MB, free: 11.42 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.931/6.967, allocations: 3.938 kB / 402.1 MB, free: 11.41 MB / 378.7 MB " [Timeout remaining time 653] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.sim & python3 -m fmpy simulate --output-file BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_BWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.782842556014657] Failed to read output from testmodel.py, exit status != 0: 7.049981649965048 7.058317838 7.051280959 Calling exit ...