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.001331/0.001331, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.00145/0.00145, allocations: 214.8 kB / 22.25 MB, free: 5.125 MB / 14.72 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 1.538/1.538, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] 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.008295/0.008295, allocations: 1.344 MB / 313.8 MB, free: 1.875 MB / 238.1 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) 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: BoundaryInitBlocks requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003184/0.003184, allocations: 71.91 kB / 439.4 MB, free: 13.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1271, allocations: 53.67 MB / 493.1 MB, free: 7.359 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD): time 0.003129/0.1303, allocations: 1.663 MB / 494.7 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.1313, allocations: 0.5728 MB / 495.3 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.238e-05/0.1314, allocations: 7.938 kB / 495.3 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000136/0.1316, allocations: 7.875 kB / 495.3 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.432e-05/0.1316, allocations: 27.78 kB / 495.4 MB, free: 5.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.1319, allocations: 75.84 kB / 495.4 MB, free: 4.996 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002164/0.1321, allocations: 115.6 kB / 495.5 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.1322, allocations: 37.73 kB / 495.6 MB, free: 4.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.316e-05/0.1323, allocations: 35.8 kB / 495.6 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.074e-05/0.1324, allocations: 35.8 kB / 495.7 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.1324, allocations: 8 kB / 495.7 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.874e-05/0.1324, allocations: 8 kB / 495.7 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.821e-05/0.1324, allocations: 23.86 kB / 495.7 MB, free: 4.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.589e-05/0.1325, allocations: 47.73 kB / 495.7 MB, free: 4.684 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.1327, allocations: 91.5 kB / 495.8 MB, free: 4.594 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1327, allocations: 0 / 495.8 MB, free: 4.594 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1327, allocations: 0 / 495.8 MB, free: 4.594 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.1327, allocations: 4 kB / 495.8 MB, free: 4.59 MB / 350.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.0005472/0.1332, allocations: 325.9 kB / 496.2 MB, free: 4.242 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/0.1333, allocations: 12.03 kB / 496.2 MB, free: 4.23 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.669e-05/0.1333, allocations: 42.73 kB / 496.2 MB, free: 4.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.544e-05/0.1334, allocations: 12.89 kB / 496.2 MB, free: 4.168 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002352/0.1336, allocations: 150.8 kB / 496.4 MB, free: 3.996 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.1336, allocations: 4.375 kB / 496.4 MB, free: 3.992 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.569e-05/0.1337, allocations: 15.94 kB / 496.4 MB, free: 3.977 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.1338, allocations: 88.19 kB / 496.5 MB, free: 3.875 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1338, allocations: 0 / 496.5 MB, free: 3.875 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.1339, allocations: 12 kB / 496.5 MB, free: 3.863 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.1339, allocations: 0 / 496.5 MB, free: 3.863 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.481e-05/0.1339, allocations: 31.92 kB / 496.5 MB, free: 3.832 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007187/0.1347, allocations: 500 kB / 497 MB, free: 3.293 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.198e-05/0.1347, allocations: 38.52 kB / 497 MB, free: 3.246 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.623e-05/0.1348, allocations: 20.94 kB / 497.1 MB, free: 3.223 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.745e-06/0.1348, allocations: 3.938 kB / 497.1 MB, free: 3.219 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.1348, allocations: 34.5 kB / 497.1 MB, free: 3.176 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1348, allocations: 0 / 497.1 MB, free: 3.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001808/0.135, allocations: 57.59 kB / 497.2 MB, free: 3.113 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.1351, allocations: 55.41 kB / 497.2 MB, free: 3.047 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.1352, allocations: 178.7 kB / 497.4 MB, free: 2.863 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.1352, allocations: 29.7 kB / 497.4 MB, free: 2.828 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.1354, allocations: 119.9 kB / 497.5 MB, free: 2.707 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.521e-05/0.1354, allocations: 7.906 kB / 497.5 MB, free: 2.699 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.686e-05/0.1355, allocations: 41.64 kB / 497.6 MB, free: 2.652 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1356, allocations: 322.8 kB / 497.9 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.373e-05/0.1357, allocations: 20 kB / 497.9 MB, free: 2.309 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.479e-05/0.1357, allocations: 75.72 kB / 498 MB, free: 2.207 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001966/0.1359, allocations: 107.6 kB / 498.1 MB, free: 2.074 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1359, allocations: 0 / 498.1 MB, free: 2.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001944/0.1361, allocations: 137.3 kB / 498.2 MB, free: 1.934 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.1362, allocations: 8.219 kB / 498.2 MB, free: 1.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.1362, allocations: 4 kB / 498.2 MB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.1362, allocations: 4 kB / 498.2 MB, free: 1.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.1363, allocations: 27.92 kB / 498.3 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.1363, allocations: 7.984 kB / 498.3 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.221e-05/0.1364, allocations: 11.89 kB / 498.3 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.1364, allocations: 12 kB / 498.3 MB, free: 1.859 MB / 350.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 9.392e-05/0.1365, allocations: 121.8 kB / 498.4 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.213e-05/0.1365, allocations: 11.89 kB / 498.4 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.142e-05/0.1366, allocations: 17.03 kB / 498.4 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1366, allocations: 240 / 498.4 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1366, allocations: 0 / 498.4 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.1366, allocations: 3.984 kB / 498.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003412/0.1369, allocations: 306.4 kB / 498.7 MB, free: 1.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.1369, allocations: 8 kB / 498.8 MB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.825e-05/0.137, allocations: 8 kB / 498.8 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.137, allocations: 0 / 498.8 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.137, allocations: 8 kB / 498.8 MB, free: 1.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.267e-06/0.137, allocations: 3.984 kB / 498.8 MB, free: 1.316 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.137, allocations: 0 / 498.8 MB, free: 1.316 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000178/0.1372, allocations: 168.3 kB / 498.9 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.205e-05/0.1372, allocations: 11.95 kB / 499 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.1372, allocations: 0 / 499 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.02e-05/0.1373, allocations: 3.938 kB / 499 MB, free: 1.117 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.639e-05/0.1373, allocations: 8.047 kB / 499 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.1373, allocations: 4 kB / 499 MB, free: 1.105 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001042/0.1374, allocations: 127.2 kB / 499.1 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1374, allocations: 0 / 499.1 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.1377, allocations: 19.95 kB / 499.1 MB, free: 0.9609 MB / 350.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.0004681/0.1382, allocations: 0.6976 MB / 499.8 MB, free: 240 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000138/0.1383, allocations: 55.86 kB / 499.9 MB, free: 184 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1383, allocations: 0 / 499.9 MB, free: 184 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.925e-05/0.1383, allocations: 7.938 kB / 499.9 MB, free: 176 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004424/0.1388, allocations: 46.73 kB / 499.9 MB, free: 136 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001921/0.1407, allocations: 1.735 MB / 0.4899 GB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/0.1411, allocations: 0.704 MB / 0.4906 GB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.669e-05/0.1411, allocations: 12.97 kB / 0.4906 GB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.105e-05/0.1412, allocations: 27.42 kB / 0.4906 GB, free: 13.49 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1412, allocations: 0 / 0.4906 GB, free: 13.49 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03173/0.173, allocations: 2.684 MB / 0.4932 GB, free: 10.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.18, allocations: 11.3 kB / 0.4933 GB, free: 10.98 MB / 366.1 MB " [Timeout remaining time 649] (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: 14.099426351000147] Failed to read output from testmodel.py, exit status != 0: 11.287476983998204 11.499578249 11.363429087 Calling exit ...