Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_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.0013/0.0013, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002541/0.002541, allocations: 211.3 kB / 22.25 MB, free: 5.086 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.515/1.515, allocations: 230.6 MB / 256 MB, free: 8.023 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.01024/0.01024, allocations: 1.34 MB / 313.8 MB, free: 1.883 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.SmallSignal_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SmallSignal_ON_BWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SmallSignal_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.001976/0.001976, allocations: 71.89 kB / 440.2 MB, free: 12.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09914/0.1011, allocations: 53.67 MB / 493.9 MB, free: 6.559 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD): time 0.003792/0.1049, allocations: 1.689 MB / 495.6 MB, free: 4.859 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.1062, allocations: 0.5727 MB / 496.1 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.617e-05/0.1062, allocations: 0 / 496.1 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002119/0.1065, allocations: 15.81 kB / 496.2 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.865e-05/0.1065, allocations: 23.78 kB / 496.2 MB, free: 4.242 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003202/0.1068, allocations: 83.83 kB / 496.3 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002423/0.1071, allocations: 127.6 kB / 496.4 MB, free: 4.035 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.1073, allocations: 33.61 kB / 496.4 MB, free: 3.996 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.742e-05/0.1074, allocations: 51.72 kB / 496.5 MB, free: 3.945 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.1075, allocations: 35.78 kB / 496.5 MB, free: 3.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.895e-05/0.1075, allocations: 12 kB / 496.5 MB, free: 3.898 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.749e-05/0.1075, allocations: 8 kB / 496.5 MB, free: 3.891 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.11e-05/0.1075, allocations: 19.92 kB / 496.6 MB, free: 3.871 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.691e-05/0.1076, allocations: 55.61 kB / 496.6 MB, free: 3.816 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.1078, allocations: 99.55 kB / 496.7 MB, free: 3.719 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1078, allocations: 0 / 496.7 MB, free: 3.719 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1078, allocations: 0 / 496.7 MB, free: 3.719 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.1079, allocations: 0 / 496.7 MB, free: 3.719 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.0006637/0.1085, allocations: 337.8 kB / 497 MB, free: 3.359 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.551e-05/0.1086, allocations: 16.03 kB / 497 MB, free: 3.344 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.857e-05/0.1087, allocations: 42.62 kB / 497.1 MB, free: 3.293 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/0.1087, allocations: 16.84 kB / 497.1 MB, free: 3.277 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.1089, allocations: 140.7 kB / 497.2 MB, free: 3.117 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.074e-05/0.109, allocations: 12.38 kB / 497.3 MB, free: 3.105 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.326e-05/0.109, allocations: 19.89 kB / 497.3 MB, free: 3.086 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.1092, allocations: 97.89 kB / 497.4 MB, free: 2.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.1092, allocations: 7.984 kB / 497.4 MB, free: 2.973 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.1092, allocations: 4 kB / 497.4 MB, free: 2.969 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1092, allocations: 0 / 497.4 MB, free: 2.969 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.916e-05/0.1093, allocations: 39.98 kB / 497.4 MB, free: 2.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007052/0.11, allocations: 431.8 kB / 497.8 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.1102, allocations: 62.58 kB / 497.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.5e-05/0.1103, allocations: 16.98 kB / 497.9 MB, free: 2.371 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.1103, allocations: 3.938 kB / 497.9 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.1103, allocations: 38.55 kB / 498 MB, free: 2.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.1103, allocations: 0 / 498 MB, free: 2.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000199/0.1105, allocations: 69.61 kB / 498 MB, free: 2.246 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.1106, allocations: 59.33 kB / 498.1 MB, free: 2.176 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.1107, allocations: 162.2 kB / 498.2 MB, free: 2.008 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.1107, allocations: 29.7 kB / 498.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.982e-05/0.1108, allocations: 119.9 kB / 498.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.1108, allocations: 23.8 kB / 498.4 MB, free: 1.828 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.637e-05/0.1109, allocations: 29.7 kB / 498.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.111, allocations: 322.8 kB / 498.8 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.154e-05/0.1111, allocations: 12 kB / 498.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.844e-05/0.1112, allocations: 68.25 kB / 498.8 MB, free: 1.371 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.1113, allocations: 89.88 kB / 498.9 MB, free: 1.262 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.1113, allocations: 0 / 498.9 MB, free: 1.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002288/0.1115, allocations: 125.4 kB / 499 MB, free: 1.133 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.1115, allocations: 4 kB / 499.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.1115, allocations: 0 / 499.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.1115, allocations: 4 kB / 499.1 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.1117, allocations: 31.92 kB / 499.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.1117, allocations: 0 / 499.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.559e-05/0.1117, allocations: 12.09 kB / 499.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.1117, allocations: 4.312 kB / 499.1 MB, free: 1.078 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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): 13 * 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.0001052/0.1118, allocations: 125.8 kB / 499.2 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.367e-05/0.1119, allocations: 15.84 kB / 499.2 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.841e-05/0.1119, allocations: 12.39 kB / 499.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.1119, allocations: 0 / 499.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1119, allocations: 4 kB / 499.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.1119, allocations: 4 kB / 499.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003965/0.1123, allocations: 326.4 kB / 499.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1123, allocations: 0 / 499.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/0.1124, allocations: 23.92 kB / 499.6 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1124, allocations: 96 / 499.6 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.1125, allocations: 8 kB / 499.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1125, allocations: 0 / 499.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/0.1125, allocations: 3.984 kB / 499.6 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002085/0.1127, allocations: 184.3 kB / 499.8 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.607e-05/0.1127, allocations: 19.91 kB / 499.8 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.1127, allocations: 8 kB / 499.8 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.438e-05/0.1128, allocations: 0 / 499.8 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.514e-05/0.1128, allocations: 0 / 499.8 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.1128, allocations: 4 kB / 499.8 MB, free: 284 kB / 350.1 MB Notification: Performance of sorting global known variables: time 9.25e-05/0.1129, allocations: 115.2 kB / 499.9 MB, free: 168 kB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1129, allocations: 0 / 499.9 MB, free: 168 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002498/0.1132, allocations: 19.94 kB / 500 MB, free: 148 kB / 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 (5): * Single equations (assignments): 5 * 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.0005483/0.1137, allocations: 0.7211 MB / 0.4889 GB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001607/0.1139, allocations: 51.86 kB / 0.489 GB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.1139, allocations: 4.375 kB / 0.489 GB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.888e-05/0.1139, allocations: 19.92 kB / 0.489 GB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004841/0.1144, allocations: 34.84 kB / 0.4891 GB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/0.1164, allocations: 1.695 MB / 0.4907 GB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003855/0.1168, allocations: 0.708 MB / 0.4914 GB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.047e-05/0.1169, allocations: 4.5 kB / 0.4914 GB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.835e-05/0.1169, allocations: 35.42 kB / 0.4914 GB, free: 12.7 MB / 366.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1169, allocations: 3.938 kB / 0.4914 GB, free: 12.7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0294/0.1463, allocations: 2.749 MB / 0.4941 GB, free: 10.11 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.16, allocations: 10.62 kB / 0.4941 GB, free: 10.11 MB / 366.1 MB " [Timeout remaining time 649] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.sim & python3 -m fmpy simulate --output-file BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_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_SmallSignal_ON_BWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.074453014996834] Failed to read output from testmodel.py, exit status != 0: 11.262088777999452 11.494051154 11.382723138 Calling exit ...