Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_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.0007905/0.0007905, allocations: 76.44 kB / 19.17 MB, free: 0.7383 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.0008275/0.0008275, allocations: 173.2 kB / 22.46 MB, free: 2.098 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.939/0.939, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.004342/0.004342, allocations: 1.025 MB / 260.2 MB, free: 12.32 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_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_FWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_FWD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 385.9 MB, free: 12.12 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.092e-05/2.281e-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_FWD): time 0.002204/0.002227, allocations: 1.759 MB / 387.6 MB, free: 10.35 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008034/0.003031, allocations: 0.5455 MB / 388.2 MB, free: 9.801 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.952e-05/0.00311, allocations: 4 kB / 388.2 MB, free: 9.797 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001353/0.003245, allocations: 15.8 kB / 388.2 MB, free: 9.781 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 5.293e-05/0.003298, allocations: 39.64 kB / 388.2 MB, free: 9.742 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002247/0.003523, allocations: 95.81 kB / 388.3 MB, free: 9.648 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.00369, allocations: 171.3 kB / 388.5 MB, free: 9.48 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.003813, allocations: 33.77 kB / 388.5 MB, free: 9.445 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.05e-05/0.003904, allocations: 79.8 kB / 388.6 MB, free: 9.367 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.073e-05/0.003964, allocations: 43.83 kB / 388.7 MB, free: 9.324 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.469e-05/0.003989, allocations: 8 kB / 388.7 MB, free: 9.316 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.368e-05/0.004003, allocations: 15.94 kB / 388.7 MB, free: 9.301 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.351e-05/0.004036, allocations: 23.91 kB / 388.7 MB, free: 9.277 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.691e-05/0.004073, allocations: 39.86 kB / 388.7 MB, free: 9.238 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.004218, allocations: 131.5 kB / 388.9 MB, free: 9.109 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.00422, allocations: 4 kB / 388.9 MB, free: 9.105 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.004221, allocations: 0 / 388.9 MB, free: 9.105 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.004225, allocations: 0 / 388.9 MB, free: 9.105 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.000441/0.004666, allocations: 365.7 kB / 389.2 MB, free: 8.719 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.004701, allocations: 12.03 kB / 389.2 MB, free: 8.707 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.24e-05/0.004733, allocations: 46.67 kB / 389.3 MB, free: 8.652 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.734e-05/0.00476, allocations: 12.84 kB / 389.3 MB, free: 8.641 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.004919, allocations: 154.3 kB / 389.5 MB, free: 8.461 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.004932, allocations: 12.33 kB / 389.5 MB, free: 8.449 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.004957, allocations: 16.38 kB / 389.5 MB, free: 8.434 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.005138, allocations: 115.9 kB / 389.6 MB, free: 8.309 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.005146, allocations: 192 / 389.6 MB, free: 8.309 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.005158, allocations: 8.125 kB / 389.6 MB, free: 8.301 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/0.005163, allocations: 0 / 389.6 MB, free: 8.301 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.005287, allocations: 67.94 kB / 389.7 MB, free: 8.234 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005224/0.005809, allocations: 455.8 kB / 390.1 MB, free: 7.742 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.005937, allocations: 78.47 kB / 390.2 MB, free: 7.656 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.702e-05/0.006004, allocations: 32.97 kB / 390.2 MB, free: 7.621 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.006024, allocations: 4 kB / 390.2 MB, free: 7.617 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.006047, allocations: 30.56 kB / 390.3 MB, free: 7.578 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.006049, allocations: 0 / 390.3 MB, free: 7.578 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003519/0.006401, allocations: 133.5 kB / 390.4 MB, free: 7.441 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.006437, allocations: 59.28 kB / 390.4 MB, free: 7.371 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.00658, allocations: 174.9 kB / 390.6 MB, free: 7.191 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.006595, allocations: 29.7 kB / 390.6 MB, free: 7.156 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.863e-05/0.006664, allocations: 112 kB / 390.8 MB, free: 7.043 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/0.006689, allocations: 27.8 kB / 390.8 MB, free: 7.016 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.903e-05/0.006738, allocations: 29.7 kB / 390.8 MB, free: 6.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.006838, allocations: 322.8 kB / 391.1 MB, free: 6.656 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.122e-05/0.00693, allocations: 39.97 kB / 391.2 MB, free: 6.617 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.686e-05/0.007016, allocations: 58.55 kB / 391.2 MB, free: 6.551 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.007138, allocations: 86.42 kB / 391.3 MB, free: 6.457 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.00714, allocations: 256 / 391.3 MB, free: 6.457 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001637/0.007304, allocations: 141.5 kB / 391.4 MB, free: 6.312 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.007316, allocations: 4 kB / 391.5 MB, free: 6.309 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.007321, allocations: 8 kB / 391.5 MB, free: 6.301 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.007331, allocations: 0 / 391.5 MB, free: 6.301 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.007434, allocations: 31.92 kB / 391.5 MB, free: 6.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.00744, allocations: 3.984 kB / 391.5 MB, free: 6.266 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.275e-05/0.007483, allocations: 15.89 kB / 391.5 MB, free: 6.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.932e-06/0.007489, allocations: 4 kB / 391.5 MB, free: 6.246 MB / 362.7 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 (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 6.817e-05/0.007557, allocations: 127.5 kB / 391.6 MB, free: 6.113 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.725e-05/0.007574, allocations: 11.91 kB / 391.6 MB, free: 6.102 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.584e-05/0.0076, allocations: 25.39 kB / 391.7 MB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.007603, allocations: 0 / 391.7 MB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.007608, allocations: 3.938 kB / 391.7 MB, free: 6.074 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.00761, allocations: 0 / 391.7 MB, free: 6.074 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003439/0.007954, allocations: 354.4 kB / 392 MB, free: 5.676 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.007956, allocations: 0 / 392 MB, free: 5.676 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.008093, allocations: 40 kB / 392.1 MB, free: 5.637 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.008097, allocations: 3.938 kB / 392.1 MB, free: 5.633 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.008105, allocations: 0 / 392.1 MB, free: 5.633 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006279/0.008733, allocations: 1.293 MB / 393.4 MB, free: 4.227 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.008734, allocations: 0 / 393.4 MB, free: 4.227 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.008951, allocations: 244.5 kB / 393.6 MB, free: 3.969 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.877e-05/0.00898, allocations: 23.81 kB / 393.6 MB, free: 3.945 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.806e-06/0.008989, allocations: 4 kB / 393.6 MB, free: 3.941 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.103e-05/0.00904, allocations: 7.984 kB / 393.6 MB, free: 3.934 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.789e-05/0.009078, allocations: 11.97 kB / 393.6 MB, free: 3.922 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.009084, allocations: 7.938 kB / 393.7 MB, free: 3.914 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.169e-05/0.009146, allocations: 123.2 kB / 393.8 MB, free: 3.793 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009146, allocations: 0 / 393.8 MB, free: 3.793 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000169/0.009315, allocations: 28.06 kB / 393.8 MB, free: 3.766 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.0003731/0.009688, allocations: 0.7679 MB / 394.6 MB, free: 2.969 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000162/0.00985, allocations: 79.88 kB / 394.6 MB, free: 2.891 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.009851, allocations: 3.938 kB / 394.7 MB, free: 2.887 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.00996, allocations: 44.16 kB / 394.7 MB, free: 2.844 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.01023, allocations: 49.83 kB / 394.7 MB, free: 2.805 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.0116, allocations: 1.79 MB / 396.5 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.014e-05/0.01167, allocations: 105.4 kB / 396.6 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.04e-05/0.01172, allocations: 8.969 kB / 396.6 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.133e-05/0.01179, allocations: 40.48 kB / 396.7 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of SimCode: time 5.92e-07/0.01179, allocations: 0 / 396.7 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01661/0.02841, allocations: 3.935 MB / 400.6 MB, free: 12.99 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.974/7.003, allocations: 3.859 kB / 400.6 MB, free: 12.99 MB / 378.7 MB " [Timeout remaining time 653] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.sim & python3 -m fmpy simulate --output-file BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD_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_FWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.892476593144238] Failed to read output from testmodel.py, exit status != 0: 7.082114223390818 7.090272883 7.084398559 Calling exit ...