Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.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.002/0.002, allocations: 107 kB / 16.45 MB, free: 6.453 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.002223/0.002223, allocations: 215.2 kB / 19.43 MB, free: 3.625 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.518/1.518, allocations: 230.6 MB / 252.8 MB, free: 8.945 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.01985/0.01985, allocations: 1.337 MB / 310.2 MB, free: 3.023 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.SteadyState_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SteadyState_ON_FWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SteadyState_ON_FWD",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.0022/0.0022, allocations: 71.89 kB / 433.9 MB, free: 14.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1103, allocations: 53.63 MB / 487.5 MB, free: 9.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD): time 0.003782/0.1141, allocations: 1.692 MB / 489.2 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.1154, allocations: 0.5728 MB / 489.8 MB, free: 6.902 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.297e-05/0.1154, allocations: 0 / 489.8 MB, free: 6.902 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001666/0.1156, allocations: 19.8 kB / 489.8 MB, free: 6.883 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.64e-05/0.1157, allocations: 31.72 kB / 489.8 MB, free: 6.852 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002671/0.1159, allocations: 83.81 kB / 489.9 MB, free: 6.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000205/0.1161, allocations: 123.5 kB / 490.1 MB, free: 6.648 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.1163, allocations: 37.33 kB / 490.1 MB, free: 6.609 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.437e-05/0.1164, allocations: 47.8 kB / 490.1 MB, free: 6.562 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.1165, allocations: 47.77 kB / 490.2 MB, free: 6.516 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.431e-05/0.1165, allocations: 8 kB / 490.2 MB, free: 6.508 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.815e-05/0.1165, allocations: 11.94 kB / 490.2 MB, free: 6.496 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.231e-05/0.1165, allocations: 27.86 kB / 490.2 MB, free: 6.469 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.101e-05/0.1166, allocations: 47.73 kB / 490.3 MB, free: 6.422 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.1168, allocations: 111.5 kB / 490.4 MB, free: 6.312 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1168, allocations: 0 / 490.4 MB, free: 6.312 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1168, allocations: 0 / 490.4 MB, free: 6.312 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1168, allocations: 4 kB / 490.4 MB, free: 6.309 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006945/0.1175, allocations: 422.8 kB / 490.8 MB, free: 5.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.1175, allocations: 12.03 kB / 490.8 MB, free: 5.836 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.031e-05/0.1176, allocations: 38.75 kB / 490.8 MB, free: 5.789 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.824e-05/0.1176, allocations: 24.81 kB / 490.9 MB, free: 5.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.1179, allocations: 200.2 kB / 491.1 MB, free: 5.531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.1179, allocations: 8.375 kB / 491.1 MB, free: 5.523 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.881e-05/0.1179, allocations: 12.38 kB / 491.1 MB, free: 5.512 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002139/0.1182, allocations: 115 kB / 491.2 MB, free: 5.387 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.1182, allocations: 0 / 491.2 MB, free: 5.387 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.1182, allocations: 0 / 491.2 MB, free: 5.387 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.1182, allocations: 0 / 491.2 MB, free: 5.387 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.189e-05/0.1183, allocations: 39.92 kB / 491.2 MB, free: 5.348 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008869/0.1192, allocations: 0.5632 MB / 491.8 MB, free: 4.727 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.1193, allocations: 38.58 kB / 491.8 MB, free: 4.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.346e-05/0.1193, allocations: 20.92 kB / 491.9 MB, free: 4.656 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.887e-06/0.1193, allocations: 0 / 491.9 MB, free: 4.656 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/0.1194, allocations: 38.5 kB / 491.9 MB, free: 4.609 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.1194, allocations: 4 kB / 491.9 MB, free: 4.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002094/0.1196, allocations: 69.58 kB / 492 MB, free: 4.531 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.1196, allocations: 51.41 kB / 492 MB, free: 4.469 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.1198, allocations: 187.2 kB / 492.2 MB, free: 4.273 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.1198, allocations: 29.7 kB / 492.2 MB, free: 4.238 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.471e-05/0.1199, allocations: 112.1 kB / 492.3 MB, free: 4.125 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.12, allocations: 23.83 kB / 492.4 MB, free: 4.102 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-05/0.12, allocations: 25.72 kB / 492.4 MB, free: 4.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.1202, allocations: 330.8 kB / 492.7 MB, free: 3.738 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.905e-05/0.1202, allocations: 23.98 kB / 492.7 MB, free: 3.715 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.413e-05/0.1203, allocations: 55.36 kB / 492.8 MB, free: 3.648 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.1204, allocations: 71.44 kB / 492.9 MB, free: 3.566 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.1204, allocations: 3.984 kB / 492.9 MB, free: 3.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001849/0.1206, allocations: 121.4 kB / 493 MB, free: 3.438 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.1206, allocations: 7.938 kB / 493 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1206, allocations: 0 / 493 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.1206, allocations: 4 kB / 493 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.1208, allocations: 31.98 kB / 493 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.1208, allocations: 0 / 493 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.466e-05/0.1208, allocations: 11.89 kB / 493 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.1209, allocations: 8.094 kB / 493 MB, free: 3.375 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (15): * Single equations (assignments): 15 * 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 0.0001124/0.121, allocations: 125.8 kB / 493.2 MB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.569e-05/0.121, allocations: 19.83 kB / 493.2 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.246e-05/0.121, allocations: 12.94 kB / 493.2 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.121, allocations: 0 / 493.2 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1211, allocations: 0 / 493.2 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.1211, allocations: 0 / 493.2 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000394/0.1214, allocations: 359.5 kB / 493.6 MB, free: 2.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1215, allocations: 4.031 kB / 493.6 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001949/0.1216, allocations: 19.98 kB / 493.6 MB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1216, allocations: 0 / 493.6 MB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.1217, allocations: 7.984 kB / 493.6 MB, free: 2.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001231/0.1229, allocations: 1.4 MB / 495 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.1229, allocations: 4.031 kB / 495 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001914/0.1231, allocations: 184.4 kB / 495.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.386e-05/0.1232, allocations: 97 kB / 495.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.1232, allocations: 0 / 495.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.254e-05/0.1233, allocations: 3.938 kB / 495.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.352e-05/0.1233, allocations: 7.984 kB / 495.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.1233, allocations: 0 / 495.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001197/0.1234, allocations: 132.3 kB / 495.4 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1234, allocations: 3.938 kB / 495.4 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000271/0.1237, allocations: 32 kB / 495.4 MB, free: 0.7344 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 (4): * Single equations (assignments): 3 * 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.000526/0.1242, allocations: 0.7093 MB / 496.1 MB, free: 16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001536/0.1244, allocations: 52.11 kB / 496.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1244, allocations: 4.062 kB / 496.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.1245, allocations: 23.98 kB / 496.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004875/0.125, allocations: 48.58 kB / 496.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002078/0.1271, allocations: 1.739 MB / 498 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.1274, allocations: 0.708 MB / 498.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.32e-05/0.1274, allocations: 4.891 kB / 498.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.222e-05/0.1275, allocations: 39.42 kB / 498.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1275, allocations: 0 / 498.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02671/0.1542, allocations: 2.892 MB / 0.4899 GB, free: 10.56 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.093/8.247, allocations: 15.81 kB / 0.4899 GB, free: 10.55 MB / 366.1 MB " [Timeout remaining time 652] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.sim & python3 -m fmpy simulate --output-file BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD_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_InvertibleConfig_SteadyState_ON_FWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.96463874494657] Failed to read output from testmodel.py, exit status != 0: 8.31953727407381 8.346188079 8.224576839 Calling exit ...