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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 105.7 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 225.6 MB / 249.3 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.007069/0.007069, allocations: 1.345 MB / 305.8 MB, free: 3.52 MB / 238.1 MB " [Timeout remaining time 180] Using package BoundaryInitBlocks with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld 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 0.001836/0.001836, allocations: 59.89 kB / 428.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.2044, allocations: 52.44 MB / 480.7 MB, free: 29.48 MB / 366.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD): time 0.001979/0.2064, allocations: 1.665 MB / 482.4 MB, free: 28.34 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.000613/0.207, allocations: 0.5242 MB / 482.9 MB, free: 27.97 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.802e-05/0.2071, allocations: 2.469 kB / 482.9 MB, free: 27.97 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001031/0.2072, allocations: 15.3 kB / 482.9 MB, free: 27.96 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.538e-05/0.2072, allocations: 25.44 kB / 483 MB, free: 27.94 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001758/0.2074, allocations: 82.27 kB / 483 MB, free: 27.9 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000131/0.2075, allocations: 122.5 kB / 483.2 MB, free: 27.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.491e-05/0.2076, allocations: 27.69 kB / 483.2 MB, free: 27.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.807e-05/0.2077, allocations: 42.8 kB / 483.2 MB, free: 27.8 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.307e-05/0.2077, allocations: 32.86 kB / 483.3 MB, free: 27.78 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.2077, allocations: 6.469 kB / 483.3 MB, free: 27.78 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.268e-05/0.2077, allocations: 8.75 kB / 483.3 MB, free: 27.78 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.67e-05/0.2078, allocations: 22.5 kB / 483.3 MB, free: 27.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.196e-05/0.2078, allocations: 41.25 kB / 483.3 MB, free: 27.73 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001022/0.2079, allocations: 91.05 kB / 483.4 MB, free: 27.7 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2079, allocations: 3.938 kB / 483.4 MB, free: 27.69 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2079, allocations: 4 kB / 483.4 MB, free: 27.69 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.2079, allocations: 0 / 483.4 MB, free: 27.69 MB / 366.1 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.0003269/0.2082, allocations: 404.7 kB / 483.8 MB, free: 27.29 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.892e-05/0.2083, allocations: 12.98 kB / 483.8 MB, free: 27.29 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.188e-05/0.2083, allocations: 45.03 kB / 483.9 MB, free: 27.24 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.621e-05/0.2083, allocations: 18.75 kB / 483.9 MB, free: 27.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.2084, allocations: 196.1 kB / 484.1 MB, free: 27.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.2084, allocations: 10.69 kB / 484.1 MB, free: 27.01 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.2085, allocations: 14.77 kB / 484.1 MB, free: 27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.2086, allocations: 99.52 kB / 484.2 MB, free: 26.92 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.2086, allocations: 0 / 484.2 MB, free: 26.92 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.2086, allocations: 0 / 484.2 MB, free: 26.92 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.748e-06/0.2086, allocations: 3.062 kB / 484.2 MB, free: 26.92 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.515e-05/0.2087, allocations: 30.34 kB / 484.2 MB, free: 26.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004088/0.2091, allocations: 0.5252 MB / 484.8 MB, free: 26.42 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.575e-05/0.2091, allocations: 31.73 kB / 484.8 MB, free: 26.39 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.29e-05/0.2092, allocations: 18.39 kB / 484.8 MB, free: 26.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.217e-06/0.2092, allocations: 0 / 484.8 MB, free: 26.38 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.091e-05/0.2092, allocations: 45.77 kB / 484.9 MB, free: 26.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.2092, allocations: 0 / 484.9 MB, free: 26.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001286/0.2093, allocations: 56.36 kB / 484.9 MB, free: 26.28 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.539e-05/0.2093, allocations: 51.41 kB / 485 MB, free: 26.22 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.4e-05/0.2094, allocations: 168.3 kB / 485.1 MB, free: 26.1 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.693e-06/0.2094, allocations: 29.7 kB / 485.2 MB, free: 26.06 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.753e-05/0.2095, allocations: 116.8 kB / 485.3 MB, free: 25.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.075e-06/0.2095, allocations: 10.92 kB / 485.3 MB, free: 25.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-05/0.2095, allocations: 42.48 kB / 485.3 MB, free: 25.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 3.39e-05/0.2095, allocations: 325.3 kB / 485.6 MB, free: 25.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.252e-05/0.2096, allocations: 19.56 kB / 485.7 MB, free: 25.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.261e-05/0.2096, allocations: 83.42 kB / 485.7 MB, free: 25.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.637e-05/0.2097, allocations: 103.6 kB / 485.8 MB, free: 25.4 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2097, allocations: 3.062 kB / 485.8 MB, free: 25.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001385/0.2098, allocations: 134.4 kB / 486 MB, free: 25.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/0.2098, allocations: 5.938 kB / 486 MB, free: 25.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2098, allocations: 3 kB / 486 MB, free: 25.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.2099, allocations: 6.484 kB / 486 MB, free: 25.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.523e-05/0.2099, allocations: 24.88 kB / 486 MB, free: 25.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.21, allocations: 6.391 kB / 486 MB, free: 25.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.216e-05/0.21, allocations: 18.14 kB / 486 MB, free: 25.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.21, allocations: 10.91 kB / 486.1 MB, free: 25.3 MB / 366.1 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 4.79e-05/0.2101, allocations: 127.8 kB / 486.2 MB, free: 25.17 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.2101, allocations: 17.78 kB / 486.2 MB, free: 25.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.018e-05/0.2101, allocations: 11.94 kB / 486.2 MB, free: 25.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.2101, allocations: 3.422 kB / 486.2 MB, free: 25.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.2101, allocations: 0 / 486.2 MB, free: 25.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-06/0.2101, allocations: 0 / 486.2 MB, free: 25.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.2103, allocations: 330 kB / 486.5 MB, free: 24.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2103, allocations: 0 / 486.5 MB, free: 24.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.289e-05/0.2104, allocations: 12.55 kB / 486.5 MB, free: 24.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.2104, allocations: 0 / 486.5 MB, free: 24.81 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.2104, allocations: 0 / 486.5 MB, free: 24.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2104, allocations: 3 kB / 486.5 MB, free: 24.81 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2104, allocations: 0 / 486.5 MB, free: 24.81 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.188e-05/0.2105, allocations: 172.8 kB / 486.7 MB, free: 24.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.839e-05/0.2105, allocations: 87.39 kB / 486.8 MB, free: 24.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.2105, allocations: 0 / 486.8 MB, free: 24.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.733e-05/0.2106, allocations: 0 / 486.8 MB, free: 24.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.453e-05/0.2106, allocations: 10.41 kB / 486.8 MB, free: 24.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-06/0.2106, allocations: 0 / 486.8 MB, free: 24.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.64e-05/0.2107, allocations: 131.1 kB / 486.9 MB, free: 24.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2107, allocations: 0 / 486.9 MB, free: 24.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002312/0.2109, allocations: 14.94 kB / 487 MB, free: 24.45 MB / 366.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 (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.0002/0.2111, allocations: 0.7076 MB / 487.7 MB, free: 23.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001003/0.2112, allocations: 57.67 kB / 487.7 MB, free: 23.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2112, allocations: 64 / 487.7 MB, free: 23.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.373e-05/0.2112, allocations: 17.41 kB / 487.7 MB, free: 23.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.2115, allocations: 40.05 kB / 487.8 MB, free: 23.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.2126, allocations: 1.723 MB / 489.5 MB, free: 22.19 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.807e-05/0.2127, allocations: 0.6947 MB / 490.2 MB, free: 21.49 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.119e-05/0.2127, allocations: 22.52 kB / 490.2 MB, free: 21.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.87e-05/0.2128, allocations: 32.94 kB / 490.2 MB, free: 21.46 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2128, allocations: 4 kB / 490.3 MB, free: 21.45 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02315/0.2359, allocations: 2.491 MB / 492.7 MB, free: 21.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.019/7.255, allocations: 12.47 kB / 492.8 MB, free: 21.01 MB / 366.1 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: 9.464000474996283]