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.001294/0.001294, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001531/0.001531, allocations: 211.2 kB / 22.24 MB, free: 5.262 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.451/1.451, allocations: 230.6 MB / 256 MB, free: 7.805 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.008359/0.008359, allocations: 1.343 MB / 313.8 MB, free: 1.645 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) 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.002203/0.002203, allocations: 67.89 kB / 439.3 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09874/0.1009, allocations: 53.68 MB / 493 MB, free: 7.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD): time 0.003581/0.1045, allocations: 1.631 MB / 494.6 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.1058, allocations: 0.5184 MB / 495.1 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.1059, allocations: 7.938 kB / 495.2 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001542/0.106, allocations: 11.86 kB / 495.2 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.1061, allocations: 27.78 kB / 495.2 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000313/0.1064, allocations: 79.83 kB / 495.3 MB, free: 4.855 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000266/0.1067, allocations: 119.6 kB / 495.4 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.1069, allocations: 29.7 kB / 495.4 MB, free: 4.703 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.383e-05/0.1069, allocations: 39.8 kB / 495.5 MB, free: 4.664 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.811e-05/0.107, allocations: 31.78 kB / 495.5 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.107, allocations: 4 kB / 495.5 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.68e-05/0.107, allocations: 8 kB / 495.5 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.729e-05/0.1071, allocations: 23.91 kB / 495.5 MB, free: 4.598 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.637e-05/0.1071, allocations: 31.81 kB / 495.6 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.1073, allocations: 99.5 kB / 495.6 MB, free: 4.469 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1073, allocations: 3.938 kB / 495.7 MB, free: 4.465 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1073, allocations: 4 kB / 495.7 MB, free: 4.461 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.1073, allocations: 0 / 495.7 MB, free: 4.461 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.0005647/0.1079, allocations: 329.9 kB / 496 MB, free: 4.109 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.108, allocations: 12.03 kB / 496 MB, free: 4.098 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.493e-05/0.108, allocations: 34.75 kB / 496 MB, free: 4.055 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.207e-05/0.1081, allocations: 12.89 kB / 496 MB, free: 4.043 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.1083, allocations: 144.5 kB / 496.2 MB, free: 3.879 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.1083, allocations: 8.375 kB / 496.2 MB, free: 3.871 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.434e-05/0.1083, allocations: 11.94 kB / 496.2 MB, free: 3.859 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.1085, allocations: 89.52 kB / 496.3 MB, free: 3.758 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1085, allocations: 4 kB / 496.3 MB, free: 3.754 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.1085, allocations: 0 / 496.3 MB, free: 3.754 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.1085, allocations: 4 kB / 496.3 MB, free: 3.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.755e-05/0.1086, allocations: 31.92 kB / 496.3 MB, free: 3.719 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007444/0.1094, allocations: 488 kB / 496.8 MB, free: 3.191 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.1095, allocations: 38.5 kB / 496.8 MB, free: 3.145 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.528e-05/0.1095, allocations: 12.86 kB / 496.9 MB, free: 3.129 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.1095, allocations: 7.938 kB / 496.9 MB, free: 3.121 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.1096, allocations: 42.5 kB / 496.9 MB, free: 3.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.1096, allocations: 0 / 496.9 MB, free: 3.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001845/0.1097, allocations: 61.69 kB / 497 MB, free: 3.004 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.1098, allocations: 51.41 kB / 497 MB, free: 2.941 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.11, allocations: 186.7 kB / 497.2 MB, free: 2.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.11, allocations: 25.7 kB / 497.2 MB, free: 2.719 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.097e-05/0.1101, allocations: 115.9 kB / 497.3 MB, free: 2.602 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.714e-05/0.1101, allocations: 11.91 kB / 497.3 MB, free: 2.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.305e-05/0.1102, allocations: 37.7 kB / 497.4 MB, free: 2.547 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.1103, allocations: 318.8 kB / 497.7 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.529e-05/0.1104, allocations: 23.98 kB / 497.7 MB, free: 2.203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.599e-05/0.1105, allocations: 79.72 kB / 497.8 MB, free: 2.098 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.1106, allocations: 99.61 kB / 497.9 MB, free: 1.973 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1106, allocations: 0 / 497.9 MB, free: 1.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002027/0.1108, allocations: 141.3 kB / 498 MB, free: 1.828 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.1108, allocations: 4 kB / 498 MB, free: 1.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.1108, allocations: 7.938 kB / 498 MB, free: 1.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.1108, allocations: 4 kB / 498 MB, free: 1.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.111, allocations: 27.94 kB / 498.1 MB, free: 1.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.111, allocations: 7.984 kB / 498.1 MB, free: 1.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.335e-05/0.111, allocations: 11.89 kB / 498.1 MB, free: 1.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.111, allocations: 8 kB / 498.1 MB, free: 1.758 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 0.0001082/0.1111, allocations: 129.9 kB / 498.2 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.076e-05/0.1112, allocations: 12.12 kB / 498.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.04e-05/0.1112, allocations: 13.03 kB / 498.2 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.1112, allocations: 3.984 kB / 498.3 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.1112, allocations: 0 / 498.3 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1112, allocations: 3.984 kB / 498.3 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003363/0.1116, allocations: 294.4 kB / 498.5 MB, free: 1.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.1116, allocations: 0 / 498.5 MB, free: 1.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.664e-05/0.1116, allocations: 11.98 kB / 498.6 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1116, allocations: 0 / 498.6 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.1116, allocations: 4.062 kB / 498.6 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.682e-06/0.1117, allocations: 4 kB / 498.6 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1117, allocations: 64 / 498.6 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001757/0.1118, allocations: 168.3 kB / 498.7 MB, free: 1.043 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.051e-05/0.1119, allocations: 19.86 kB / 498.7 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.1119, allocations: 0 / 498.7 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.962e-05/0.112, allocations: 4 kB / 498.8 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.77e-05/0.112, allocations: 4 kB / 498.8 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.112, allocations: 3.938 kB / 498.8 MB, free: 1.012 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001052/0.1121, allocations: 127.2 kB / 498.9 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1121, allocations: 0 / 498.9 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002525/0.1123, allocations: 24.06 kB / 498.9 MB, free: 0.8633 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.0004571/0.1128, allocations: 0.6937 MB / 499.6 MB, free: 144 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001485/0.1129, allocations: 51.86 kB / 499.7 MB, free: 92 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1129, allocations: 0 / 499.7 MB, free: 92 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.587e-05/0.113, allocations: 11.94 kB / 499.7 MB, free: 80 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004509/0.1134, allocations: 32.52 kB / 499.7 MB, free: 52 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001924/0.1153, allocations: 1.744 MB / 0.4897 GB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.117e-05/0.1154, allocations: 88.11 kB / 0.4898 GB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.396e-05/0.1155, allocations: 8.984 kB / 0.4898 GB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.833e-05/0.1155, allocations: 31.42 kB / 0.4898 GB, free: 14.02 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1155, allocations: 4 kB / 0.4898 GB, free: 14.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03158/0.1471, allocations: 3.15 MB / 0.4929 GB, free: 11.05 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.48, allocations: 7.922 kB / 0.4929 GB, free: 11.05 MB / 366.1 MB " [Timeout remaining time 648] (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.259296966716647] Failed to read output from testmodel.py, exit status != 0: 11.592503775842488 11.77571403 11.665148874 Calling exit ...