Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_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.001298/0.001298, 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.001529/0.001529, allocations: 220.3 kB / 22.26 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.532/1.532, allocations: 230.6 MB / 256 MB, free: 7.988 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.008325/0.008325, allocations: 1.338 MB / 313.8 MB, free: 1.848 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.InvertibleConfig.OL_Simulation_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_BWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_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.003357/0.003357, allocations: 63.91 kB / 439.4 MB, free: 13.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1206, allocations: 53.68 MB / 493.1 MB, free: 7.305 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD): time 0.003268/0.1238, allocations: 1.818 MB / 494.9 MB, free: 5.477 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.125, allocations: 0.5961 MB / 495.5 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.041e-05/0.1251, allocations: 4 kB / 495.5 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001821/0.1252, allocations: 23.73 kB / 495.6 MB, free: 4.848 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.467e-05/0.1253, allocations: 31.72 kB / 495.6 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002995/0.1256, allocations: 87.88 kB / 495.7 MB, free: 4.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002737/0.1259, allocations: 175.3 kB / 495.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.1261, allocations: 45.95 kB / 495.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.1262, allocations: 55.77 kB / 495.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.1263, allocations: 55.72 kB / 496 MB, free: 4.402 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.709e-05/0.1263, allocations: 8 kB / 496 MB, free: 4.395 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.237e-05/0.1263, allocations: 12 kB / 496 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.228e-05/0.1264, allocations: 27.86 kB / 496 MB, free: 4.355 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.77e-05/0.1264, allocations: 59.61 kB / 496.1 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.1266, allocations: 131.4 kB / 496.2 MB, free: 4.168 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1266, allocations: 0 / 496.2 MB, free: 4.168 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1266, allocations: 0 / 496.2 MB, free: 4.168 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1266, allocations: 0 / 496.2 MB, free: 4.168 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008347/0.1275, allocations: 377.5 kB / 496.6 MB, free: 3.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.1275, allocations: 12.03 kB / 496.6 MB, free: 3.758 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.373e-05/0.1276, allocations: 38.73 kB / 496.6 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.969e-05/0.1276, allocations: 16.84 kB / 496.7 MB, free: 3.695 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.1278, allocations: 151 kB / 496.8 MB, free: 3.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.1278, allocations: 8.375 kB / 496.8 MB, free: 3.512 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.1279, allocations: 16.31 kB / 496.8 MB, free: 3.496 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002609/0.1281, allocations: 122 kB / 497 MB, free: 3.367 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.1281, allocations: 0 / 497 MB, free: 3.367 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.1281, allocations: 4 kB / 497 MB, free: 3.363 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.1282, allocations: 4 kB / 497 MB, free: 3.359 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002295/0.1284, allocations: 71.88 kB / 497 MB, free: 3.289 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007797/0.1292, allocations: 483.6 kB / 497.5 MB, free: 2.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.1294, allocations: 66.55 kB / 497.6 MB, free: 2.695 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.1295, allocations: 40.95 kB / 497.6 MB, free: 2.652 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.1295, allocations: 0 / 497.6 MB, free: 2.652 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.1295, allocations: 34.56 kB / 497.6 MB, free: 2.609 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 8.81e-07/0.1295, allocations: 3.938 kB / 497.6 MB, free: 2.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004122/0.1299, allocations: 129.4 kB / 497.8 MB, free: 2.473 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.13, allocations: 55.41 kB / 497.8 MB, free: 2.406 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.1301, allocations: 179 kB / 498 MB, free: 2.223 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.1302, allocations: 25.7 kB / 498 MB, free: 2.191 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.026e-05/0.1302, allocations: 120 kB / 498.1 MB, free: 2.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.1303, allocations: 23.78 kB / 498.2 MB, free: 2.047 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.357e-05/0.1303, allocations: 29.67 kB / 498.2 MB, free: 2.012 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.1305, allocations: 326.8 kB / 498.5 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.1306, allocations: 35.97 kB / 498.5 MB, free: 1.648 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.1308, allocations: 64.27 kB / 498.6 MB, free: 1.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002413/0.131, allocations: 108.1 kB / 498.7 MB, free: 1.449 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.131, allocations: 0 / 498.7 MB, free: 1.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003027/0.1313, allocations: 137.5 kB / 498.9 MB, free: 1.309 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.1313, allocations: 7.938 kB / 498.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1313, allocations: 4 kB / 498.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.1313, allocations: 4.125 kB / 498.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002717/0.1316, allocations: 35.97 kB / 498.9 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001147/0.1328, allocations: 1.305 MB / 0.4885 GB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.383e-05/0.1329, allocations: 15.92 kB / 0.4885 GB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.1329, allocations: 4.094 kB / 0.4885 GB, free: 15.82 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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): 12 * 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 0.0001136/0.133, allocations: 133.7 kB / 0.4886 GB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.557e-05/0.133, allocations: 16 kB / 0.4886 GB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.839e-05/0.133, allocations: 13.41 kB / 0.4887 GB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.133, allocations: 3.984 kB / 0.4887 GB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.133, allocations: 0 / 0.4887 GB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1331, allocations: 0 / 0.4887 GB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005546/0.1336, allocations: 374.5 kB / 0.489 GB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.1336, allocations: 4 kB / 0.489 GB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002123/0.1338, allocations: 32 kB / 0.4891 GB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.1338, allocations: 4 kB / 0.4891 GB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.1338, allocations: 0 / 0.4891 GB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001028/0.1349, allocations: 1.309 MB / 0.4903 GB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1349, allocations: 0 / 0.4903 GB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003951/0.1353, allocations: 244.3 kB / 0.4906 GB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.454e-05/0.1353, allocations: 15.94 kB / 0.4906 GB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.1353, allocations: 3.938 kB / 0.4906 GB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.1354, allocations: 11.92 kB / 0.4906 GB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.1355, allocations: 8 kB / 0.4906 GB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.718e-06/0.1355, allocations: 0 / 0.4906 GB, free: 13.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001155/0.1356, allocations: 131.3 kB / 0.4907 GB, free: 13.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1356, allocations: 0 / 0.4907 GB, free: 13.35 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002896/0.1359, allocations: 31.89 kB / 0.4908 GB, free: 13.32 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 (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.0007795/0.1367, allocations: 0.7679 MB / 0.4915 GB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003872/0.1371, allocations: 87.88 kB / 0.4916 GB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1371, allocations: 0 / 0.4916 GB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001857/0.1372, allocations: 44.53 kB / 0.4916 GB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004982/0.1377, allocations: 48.27 kB / 0.4917 GB, free: 12.35 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002618/0.1404, allocations: 1.848 MB / 0.4935 GB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000422/0.1408, allocations: 0.7119 MB / 0.4942 GB, free: 9.652 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.563e-05/0.1409, allocations: 12.97 kB / 0.4942 GB, free: 9.637 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.865e-05/0.141, allocations: 35.42 kB / 0.4942 GB, free: 9.602 MB / 366.1 MB Notification: Performance of SimCode: time 1.192e-06/0.141, allocations: 4 kB / 0.4942 GB, free: 9.598 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03128/0.1722, allocations: 3.317 MB / 0.4975 GB, free: 6.457 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.26, allocations: 10.73 kB / 0.4975 GB, free: 6.449 MB / 366.1 MB " [Timeout remaining time 649] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.sim & python3 -m fmpy simulate --output-file BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD_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_BWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.208917595002276] Failed to read output from testmodel.py, exit status != 0: 11.366765530998236 11.586506199 11.456692487 Calling exit ...