Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_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.0009339/0.0009339, 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.0009755/0.0009755, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.9147/0.9147, allocations: 177.2 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.004356/0.004356, 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.NonInvertibleConfig.SteadyState_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SteadyState_ON_BWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SteadyState_ON_BWD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.444e-06/2.444e-06, allocations: 0 / 385.9 MB, free: 12.12 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.24e-05/2.485e-05, allocations: 2.281 kB / 385.9 MB, free: 12.12 MB / 362.7 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD): time 0.003047/0.003072, allocations: 1.637 MB / 387.5 MB, free: 10.47 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.004079, allocations: 0.5143 MB / 388 MB, free: 9.953 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.685e-05/0.004176, allocations: 0 / 388 MB, free: 9.953 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001746/0.004351, allocations: 27.8 kB / 388.1 MB, free: 9.926 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 6.03e-05/0.004411, allocations: 23.78 kB / 388.1 MB, free: 9.902 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003014/0.004712, allocations: 75.84 kB / 388.1 MB, free: 9.828 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001972/0.00491, allocations: 123.5 kB / 388.3 MB, free: 9.707 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.00506, allocations: 37.5 kB / 388.3 MB, free: 9.664 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.959e-05/0.00514, allocations: 51.83 kB / 388.4 MB, free: 9.613 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.781e-05/0.005207, allocations: 31.89 kB / 388.4 MB, free: 9.582 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.792e-05/0.005235, allocations: 4 kB / 388.4 MB, free: 9.578 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.211e-05/0.005247, allocations: 8 kB / 388.4 MB, free: 9.57 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.636e-05/0.005274, allocations: 11.94 kB / 388.4 MB, free: 9.559 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.98e-05/0.005314, allocations: 39.84 kB / 388.4 MB, free: 9.52 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.005439, allocations: 83.69 kB / 388.5 MB, free: 9.438 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.005441, allocations: 4 kB / 388.5 MB, free: 9.434 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.005442, allocations: 0 / 388.5 MB, free: 9.434 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.005447, allocations: 3.938 kB / 388.5 MB, free: 9.43 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004025/0.00585, allocations: 329.9 kB / 388.9 MB, free: 9.078 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.005887, allocations: 8.031 kB / 388.9 MB, free: 9.07 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.114e-05/0.005918, allocations: 38.75 kB / 388.9 MB, free: 9.023 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.725e-05/0.005945, allocations: 12.84 kB / 388.9 MB, free: 9.012 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.006105, allocations: 142.1 kB / 389.1 MB, free: 8.848 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.006116, allocations: 12.38 kB / 389.1 MB, free: 8.836 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.006138, allocations: 12.38 kB / 389.1 MB, free: 8.824 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.00626, allocations: 96.55 kB / 389.2 MB, free: 8.715 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.006268, allocations: 0 / 389.2 MB, free: 8.715 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.006277, allocations: 0 / 389.2 MB, free: 8.715 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.006282, allocations: 0 / 389.2 MB, free: 8.715 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.769e-05/0.006339, allocations: 31.92 kB / 389.2 MB, free: 8.684 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004932/0.006833, allocations: 491.9 kB / 389.7 MB, free: 8.152 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.798e-05/0.006911, allocations: 30.58 kB / 389.7 MB, free: 8.113 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.225e-05/0.006943, allocations: 24.94 kB / 389.7 MB, free: 8.086 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.006954, allocations: 3.938 kB / 389.7 MB, free: 8.082 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.006974, allocations: 34.5 kB / 389.8 MB, free: 8.039 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.006976, allocations: 4 kB / 389.8 MB, free: 8.035 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001718/0.007148, allocations: 61.77 kB / 389.8 MB, free: 7.969 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.00718, allocations: 51.41 kB / 389.9 MB, free: 7.906 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.007295, allocations: 174.2 kB / 390.1 MB, free: 7.727 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.007308, allocations: 29.7 kB / 390.1 MB, free: 7.691 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.801e-05/0.007376, allocations: 115.9 kB / 390.2 MB, free: 7.574 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.286e-05/0.007389, allocations: 11.95 kB / 390.2 MB, free: 7.562 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.751e-05/0.007437, allocations: 45.59 kB / 390.3 MB, free: 7.512 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.381e-05/0.00753, allocations: 318.8 kB / 390.6 MB, free: 7.191 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.413e-05/0.007565, allocations: 19.98 kB / 390.6 MB, free: 7.172 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.255e-05/0.007627, allocations: 79.66 kB / 390.7 MB, free: 7.066 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.007734, allocations: 107.6 kB / 390.8 MB, free: 6.934 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.007737, allocations: 4 kB / 390.8 MB, free: 6.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001318/0.007868, allocations: 125.4 kB / 390.9 MB, free: 6.801 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.007884, allocations: 8 kB / 390.9 MB, free: 6.793 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.007889, allocations: 0 / 390.9 MB, free: 6.793 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.007902, allocations: 7.938 kB / 390.9 MB, free: 6.785 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.208e-05/0.007994, allocations: 31.92 kB / 390.9 MB, free: 6.754 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.008, allocations: 224 / 390.9 MB, free: 6.754 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.081e-05/0.008041, allocations: 23.89 kB / 391 MB, free: 6.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-06/0.008048, allocations: 4 kB / 391 MB, free: 6.727 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (16): * Single equations (assignments): 16 * 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 7.364e-05/0.008122, allocations: 122.5 kB / 391.1 MB, free: 6.598 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.807e-05/0.00814, allocations: 15.89 kB / 391.1 MB, free: 6.582 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.332e-05/0.008163, allocations: 9.031 kB / 391.1 MB, free: 6.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.008166, allocations: 7.875 kB / 391.1 MB, free: 6.562 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.443e-06/0.008173, allocations: 4 kB / 391.1 MB, free: 6.559 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.008176, allocations: 0 / 391.1 MB, free: 6.559 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002424/0.008418, allocations: 286.5 kB / 391.4 MB, free: 6.227 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.008421, allocations: 8 kB / 391.4 MB, free: 6.219 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.231e-05/0.008473, allocations: 11.94 kB / 391.4 MB, free: 6.207 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.008476, allocations: 4 kB / 391.4 MB, free: 6.203 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.008483, allocations: 0 / 391.4 MB, free: 6.203 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.008484, allocations: 64 / 391.4 MB, free: 6.203 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.008487, allocations: 7.984 kB / 391.4 MB, free: 6.195 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.00861, allocations: 164.4 kB / 391.6 MB, free: 6.016 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.297e-05/0.008633, allocations: 23.78 kB / 391.6 MB, free: 5.992 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.008645, allocations: 3.938 kB / 391.6 MB, free: 5.988 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.326e-05/0.008679, allocations: 0 / 391.6 MB, free: 5.988 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.558e-05/0.008694, allocations: 8.047 kB / 391.6 MB, free: 5.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.008696, allocations: 7.938 kB / 391.6 MB, free: 5.973 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.613e-05/0.008763, allocations: 119.2 kB / 391.8 MB, free: 5.855 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008763, allocations: 0 / 391.8 MB, free: 5.855 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000183/0.008946, allocations: 23.94 kB / 391.8 MB, free: 5.832 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 (3): * Single equations (assignments): 3 * 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.0002759/0.009222, allocations: 0.6966 MB / 392.5 MB, free: 5.109 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001037/0.009325, allocations: 52.3 kB / 392.5 MB, free: 5.059 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.009327, allocations: 0 / 392.5 MB, free: 5.059 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.15e-05/0.009338, allocations: 16.06 kB / 392.6 MB, free: 5.043 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.009626, allocations: 43.22 kB / 392.6 MB, free: 5.008 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.01083, allocations: 1.711 MB / 394.3 MB, free: 3.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.358e-05/0.01089, allocations: 80.31 kB / 394.4 MB, free: 3.059 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.396e-05/0.01093, allocations: 12.98 kB / 394.4 MB, free: 3.047 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.493e-05/0.01098, allocations: 36.42 kB / 394.4 MB, free: 3.012 MB / 362.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01098, allocations: 0 / 394.4 MB, free: 3.012 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01877/0.02975, allocations: 3.286 MB / 397.7 MB, free: 15.91 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.941/6.971, allocations: 15.86 kB / 397.7 MB, free: 15.9 MB / 378.7 MB " [Timeout remaining time 653] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.sim & python3 -m fmpy simulate --output-file BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_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_SteadyState_ON_BWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.861750879324973] Failed to read output from testmodel.py, exit status != 0: 7.053835578262806 7.063089429 7.055995212 Calling exit ...