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.001336/0.001336, allocations: 104.1 kB / 16.45 MB, free: 6.5 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.00152/0.00152, allocations: 216 kB / 19.43 MB, free: 3.656 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.469/1.469, allocations: 230.6 MB / 252.8 MB, free: 8.977 MB / 206.1 MB " [Timeout remaining time 178] 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.009058/0.009058, allocations: 1.333 MB / 310.2 MB, free: 3.031 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.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.002292/0.002292, allocations: 63.91 kB / 433.9 MB, free: 14.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1201, allocations: 53.64 MB / 487.6 MB, free: 9.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD): time 0.004456/0.1246, allocations: 1.809 MB / 489.4 MB, free: 7.352 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001488/0.1261, allocations: 0.5767 MB / 489.9 MB, free: 6.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001424/0.1262, allocations: 11.94 kB / 490 MB, free: 6.758 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001711/0.1264, allocations: 15.8 kB / 490 MB, free: 6.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.688e-05/0.1265, allocations: 35.7 kB / 490 MB, free: 6.707 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002996/0.1268, allocations: 87.81 kB / 490.1 MB, free: 6.621 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002815/0.1271, allocations: 175.3 kB / 490.3 MB, free: 6.449 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001818/0.1273, allocations: 45.75 kB / 490.3 MB, free: 6.402 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.1274, allocations: 47.8 kB / 490.4 MB, free: 6.355 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.1275, allocations: 63.64 kB / 490.4 MB, free: 6.293 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.077e-05/0.1275, allocations: 8 kB / 490.4 MB, free: 6.285 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.949e-05/0.1276, allocations: 12 kB / 490.4 MB, free: 6.273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.037e-05/0.1276, allocations: 27.92 kB / 490.5 MB, free: 6.246 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.157e-05/0.1277, allocations: 67.59 kB / 490.5 MB, free: 6.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.1279, allocations: 127.4 kB / 490.7 MB, free: 6.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1279, allocations: 0 / 490.7 MB, free: 6.055 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.1279, allocations: 3.938 kB / 490.7 MB, free: 6.051 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.128, allocations: 0 / 490.7 MB, free: 6.051 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.0009419/0.1289, allocations: 450.7 kB / 491.1 MB, free: 5.562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.1289, allocations: 16.03 kB / 491.1 MB, free: 5.547 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.124e-05/0.129, allocations: 38.73 kB / 491.2 MB, free: 5.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.795e-05/0.1291, allocations: 16.84 kB / 491.2 MB, free: 5.484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003163/0.1294, allocations: 212.8 kB / 491.4 MB, free: 5.234 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.1294, allocations: 12.36 kB / 491.4 MB, free: 5.223 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.915e-05/0.1294, allocations: 12.38 kB / 491.4 MB, free: 5.211 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003304/0.1298, allocations: 119.4 kB / 491.5 MB, free: 5.082 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.1298, allocations: 0 / 491.5 MB, free: 5.082 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.1298, allocations: 8 kB / 491.5 MB, free: 5.074 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.1298, allocations: 4 kB / 491.5 MB, free: 5.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002464/0.1301, allocations: 67.89 kB / 491.6 MB, free: 5.004 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009669/0.131, allocations: 0.4967 MB / 492.1 MB, free: 4.453 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000221/0.1312, allocations: 62.55 kB / 492.2 MB, free: 4.383 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.1314, allocations: 40.89 kB / 492.2 MB, free: 4.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.1314, allocations: 4 kB / 492.2 MB, free: 4.336 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.1314, allocations: 34.56 kB / 492.2 MB, free: 4.293 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.1314, allocations: 0 / 492.2 MB, free: 4.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005004/0.1319, allocations: 129.5 kB / 492.4 MB, free: 4.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.132, allocations: 55.34 kB / 492.4 MB, free: 4.094 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.1322, allocations: 174.9 kB / 492.6 MB, free: 3.914 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.1322, allocations: 33.69 kB / 492.6 MB, free: 3.875 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.1323, allocations: 116 kB / 492.7 MB, free: 3.758 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.1324, allocations: 23.8 kB / 492.8 MB, free: 3.734 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.265e-05/0.1324, allocations: 33.66 kB / 492.8 MB, free: 3.695 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.1326, allocations: 326.8 kB / 493.1 MB, free: 3.367 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.1328, allocations: 39.91 kB / 493.1 MB, free: 3.328 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.1329, allocations: 60.27 kB / 493.2 MB, free: 3.254 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002581/0.1332, allocations: 100.2 kB / 493.3 MB, free: 3.141 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1332, allocations: 0 / 493.3 MB, free: 3.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003582/0.1335, allocations: 145.4 kB / 493.4 MB, free: 2.992 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.1336, allocations: 11.94 kB / 493.5 MB, free: 2.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.1336, allocations: 0 / 493.5 MB, free: 2.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.1336, allocations: 0 / 493.5 MB, free: 2.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002964/0.1339, allocations: 43.91 kB / 493.5 MB, free: 2.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/0.1352, allocations: 1.409 MB / 494.9 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.1353, allocations: 16.09 kB / 494.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.1354, allocations: 4 kB / 494.9 MB, free: 1.371 MB / 350.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.0001283/0.1355, allocations: 125.8 kB / 495 MB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.113e-05/0.1355, allocations: 15.89 kB / 495.1 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.01e-05/0.1356, allocations: 13.41 kB / 495.1 MB, free: 1.211 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.1356, allocations: 3.984 kB / 495.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.1356, allocations: 0 / 495.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.1356, allocations: 0 / 495.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006455/0.1362, allocations: 407.2 kB / 495.5 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.1362, allocations: 4 kB / 495.5 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002252/0.1364, allocations: 27.97 kB / 495.5 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.1364, allocations: 4 kB / 495.5 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.917e-05/0.1365, allocations: 0 / 495.5 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001293/0.1378, allocations: 1.404 MB / 496.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1378, allocations: 0 / 496.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004741/0.1382, allocations: 240.1 kB / 497.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.686e-05/0.1383, allocations: 93.2 kB / 497.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.1384, allocations: 12.12 kB / 497.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.1385, allocations: 4 kB / 497.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.907e-05/0.1385, allocations: 11.92 kB / 497.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.1385, allocations: 4 kB / 497.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001222/0.1387, allocations: 120.3 kB / 497.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1387, allocations: 0 / 497.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002996/0.139, allocations: 35.89 kB / 497.4 MB, free: 14.62 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.0008278/0.1398, allocations: 0.7733 MB / 498.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004375/0.1402, allocations: 100 kB / 498.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1402, allocations: 192 / 498.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002145/0.1404, allocations: 47.91 kB / 498.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004795/0.1409, allocations: 42.22 kB / 498.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002746/0.1437, allocations: 1.833 MB / 0.4885 GB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004721/0.1441, allocations: 0.7041 MB / 0.4892 GB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.007e-05/0.1442, allocations: 20.86 kB / 0.4892 GB, free: 10.94 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.1443, allocations: 43.42 kB / 0.4892 GB, free: 10.9 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1443, allocations: 0 / 0.4892 GB, free: 10.9 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03092/0.1753, allocations: 3.194 MB / 0.4924 GB, free: 7.902 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.191/8.367, allocations: 0 / 0.4924 GB, free: 7.902 MB / 366.1 MB " [Timeout remaining time 652] (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: 10.993870787788182] Failed to read output from testmodel.py, exit status != 0: 8.435782811138779 8.449368188 8.318499785 Calling exit ...