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.00142/0.00142, allocations: 72.45 kB / 19.17 MB, free: 0.7344 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.001545/0.001545, allocations: 173.9 kB / 22.45 MB, free: 2.094 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.8961/0.8961, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.004183/0.004183, allocations: 1.027 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.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: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 386.7 MB, free: 11.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.111e-05/2.313e-05, allocations: 6.219 kB / 386.7 MB, free: 11.31 MB / 362.7 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD): time 0.002589/0.002612, allocations: 1.669 MB / 388.3 MB, free: 9.629 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.000747/0.003359, allocations: 0.5455 MB / 388.9 MB, free: 9.078 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.751e-05/0.003426, allocations: 0 / 388.9 MB, free: 9.078 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001383/0.003565, allocations: 19.8 kB / 388.9 MB, free: 9.059 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 4.581e-05/0.003611, allocations: 31.72 kB / 388.9 MB, free: 9.027 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002012/0.003812, allocations: 83.81 kB / 389 MB, free: 8.945 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.003992, allocations: 155.4 kB / 389.2 MB, free: 8.793 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.004128, allocations: 40.92 kB / 389.2 MB, free: 8.746 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.423e-05/0.004202, allocations: 71.81 kB / 389.3 MB, free: 8.676 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.875e-05/0.004281, allocations: 39.83 kB / 389.3 MB, free: 8.637 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.908e-05/0.00431, allocations: 8 kB / 389.3 MB, free: 8.629 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.449e-05/0.004324, allocations: 12 kB / 389.3 MB, free: 8.617 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.696e-05/0.004351, allocations: 19.92 kB / 389.4 MB, free: 8.598 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.592e-05/0.004387, allocations: 39.84 kB / 389.4 MB, free: 8.559 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.004524, allocations: 123.5 kB / 389.5 MB, free: 8.438 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.004526, allocations: 0 / 389.5 MB, free: 8.438 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.004527, allocations: 0 / 389.5 MB, free: 8.438 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.107e-06/0.004531, allocations: 0 / 389.5 MB, free: 8.438 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.0004459/0.004977, allocations: 365.7 kB / 389.9 MB, free: 8.051 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.005017, allocations: 8.031 kB / 389.9 MB, free: 8.043 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.74e-05/0.005084, allocations: 46.92 kB / 389.9 MB, free: 7.988 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.219e-05/0.005116, allocations: 16.84 kB / 390 MB, free: 7.973 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.005284, allocations: 146.1 kB / 390.1 MB, free: 7.805 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.005296, allocations: 8.562 kB / 390.1 MB, free: 7.797 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.005319, allocations: 12.38 kB / 390.1 MB, free: 7.785 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.00547, allocations: 110.9 kB / 390.2 MB, free: 7.668 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.005481, allocations: 3.938 kB / 390.2 MB, free: 7.664 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.005492, allocations: 7.922 kB / 390.2 MB, free: 7.656 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.0055, allocations: 11.98 kB / 390.2 MB, free: 7.645 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.459e-05/0.005574, allocations: 43.98 kB / 390.3 MB, free: 7.602 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005081/0.006082, allocations: 447.7 kB / 390.7 MB, free: 7.117 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.006188, allocations: 62.44 kB / 390.8 MB, free: 7.047 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.4e-05/0.006222, allocations: 24.97 kB / 390.8 MB, free: 7.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.006232, allocations: 0 / 390.8 MB, free: 7.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.006253, allocations: 38.56 kB / 390.8 MB, free: 6.973 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.006254, allocations: 0 / 390.8 MB, free: 6.973 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001876/0.006441, allocations: 89.75 kB / 390.9 MB, free: 6.879 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.006473, allocations: 51.41 kB / 391 MB, free: 6.816 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.006588, allocations: 171.2 kB / 391.2 MB, free: 6.633 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.006601, allocations: 29.7 kB / 391.2 MB, free: 6.598 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.957e-05/0.006661, allocations: 116 kB / 391.3 MB, free: 6.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.006679, allocations: 27.75 kB / 391.3 MB, free: 6.453 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.871e-05/0.006718, allocations: 29.7 kB / 391.4 MB, free: 6.418 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.1e-05/0.006809, allocations: 322.8 kB / 391.7 MB, free: 6.094 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.072e-05/0.006849, allocations: 20 kB / 391.7 MB, free: 6.074 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.331e-05/0.006893, allocations: 47.67 kB / 391.7 MB, free: 6.016 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.384e-05/0.006976, allocations: 71.38 kB / 391.8 MB, free: 5.934 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.006981, allocations: 7.938 kB / 391.8 MB, free: 5.926 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001196/0.007101, allocations: 109.5 kB / 391.9 MB, free: 5.812 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.007112, allocations: 4 kB / 391.9 MB, free: 5.809 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.007118, allocations: 0 / 391.9 MB, free: 5.809 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.007133, allocations: 4 kB / 391.9 MB, free: 5.805 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.007307, allocations: 36.08 kB / 392 MB, free: 5.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007169/0.008024, allocations: 1.305 MB / 393.3 MB, free: 4.355 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.346e-05/0.008058, allocations: 3.938 kB / 393.3 MB, free: 4.352 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.008065, allocations: 4 kB / 393.3 MB, free: 4.348 MB / 362.7 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 7.493e-05/0.00814, allocations: 133.9 kB / 393.4 MB, free: 4.207 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.737e-05/0.008157, allocations: 11.91 kB / 393.4 MB, free: 4.195 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.37e-05/0.008171, allocations: 13.41 kB / 393.4 MB, free: 4.18 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.01e-07/0.008172, allocations: 4 kB / 393.4 MB, free: 4.176 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.008174, allocations: 3.938 kB / 393.4 MB, free: 4.172 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.008178, allocations: 3.984 kB / 393.4 MB, free: 4.168 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002731/0.008452, allocations: 330.4 kB / 393.8 MB, free: 3.793 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.008453, allocations: 0 / 393.8 MB, free: 3.793 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.008569, allocations: 36.02 kB / 393.8 MB, free: 3.758 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.008574, allocations: 11.91 kB / 393.8 MB, free: 3.746 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.008582, allocations: 4 kB / 393.8 MB, free: 3.742 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006139/0.009196, allocations: 1.297 MB / 395.1 MB, free: 2.336 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.009197, allocations: 0 / 395.1 MB, free: 2.336 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.009344, allocations: 196.5 kB / 395.3 MB, free: 2.125 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.696e-05/0.009371, allocations: 23.98 kB / 395.3 MB, free: 2.102 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.544e-06/0.009379, allocations: 0 / 395.3 MB, free: 2.102 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.899e-05/0.009418, allocations: 0 / 395.3 MB, free: 2.102 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.149e-05/0.009439, allocations: 11.92 kB / 395.3 MB, free: 2.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.009445, allocations: 7.938 kB / 395.3 MB, free: 2.082 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.846e-05/0.009513, allocations: 124.9 kB / 395.5 MB, free: 1.961 MB / 362.7 MB Notification: Performance of sort global known variables: time 3e-08/0.009513, allocations: 0 / 395.5 MB, free: 1.961 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001857/0.009699, allocations: 16 kB / 395.5 MB, free: 1.945 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.0003568/0.01006, allocations: 0.7378 MB / 396.2 MB, free: 1.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001878/0.01024, allocations: 59.86 kB / 396.3 MB, free: 1.121 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01025, allocations: 0 / 396.3 MB, free: 1.121 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.442e-05/0.0103, allocations: 31.97 kB / 396.3 MB, free: 1.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.0106, allocations: 39.53 kB / 396.4 MB, free: 1.055 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.0121, allocations: 1.718 MB / 398.1 MB, free: 15.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.354e-05/0.01217, allocations: 97.56 kB / 398.2 MB, free: 15.12 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.544e-05/0.01223, allocations: 12.48 kB / 398.2 MB, free: 15.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.184e-05/0.01229, allocations: 36.48 kB / 398.2 MB, free: 15.07 MB / 378.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01229, allocations: 4 kB / 398.2 MB, free: 15.07 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01664/0.02893, allocations: 3.734 MB / 402 MB, free: 11.5 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.9/6.929, allocations: 18.47 kB / 402 MB, free: 11.49 MB / 378.7 MB " [Timeout remaining time 653] (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: 8.797814780846238] Failed to read output from testmodel.py, exit status != 0: 7.013899710029364 7.021911084 7.01562152 Calling exit ...