Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.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.001448/0.001448, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001457/0.001457, allocations: 216 kB / 22.25 MB, free: 4.855 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.419/1.419, 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.00839/0.00839, allocations: 1.341 MB / 313.8 MB, free: 1.648 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.InvertibleConfig.SmallSignal_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SmallSignal_ON_BWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_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.002029/0.002029, allocations: 71.89 kB / 440.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09554/0.09756, allocations: 53.67 MB / 493.8 MB, free: 6.348 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD): time 0.003041/0.1006, allocations: 1.665 MB / 495.5 MB, free: 4.676 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.1017, allocations: 0.5416 MB / 496 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.806e-05/0.1017, allocations: 4 kB / 496 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001354/0.1019, allocations: 19.8 kB / 496 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.462e-05/0.1019, allocations: 31.72 kB / 496.1 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.1022, allocations: 91.81 kB / 496.1 MB, free: 3.984 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002187/0.1024, allocations: 151.4 kB / 496.3 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.1026, allocations: 37.97 kB / 496.3 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.533e-05/0.1026, allocations: 43.86 kB / 496.4 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.91e-05/0.1027, allocations: 43.72 kB / 496.4 MB, free: 3.703 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.1027, allocations: 8 kB / 496.4 MB, free: 3.695 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.688e-05/0.1028, allocations: 12 kB / 496.4 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.652e-05/0.1028, allocations: 23.86 kB / 496.5 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.642e-05/0.1029, allocations: 47.73 kB / 496.5 MB, free: 3.613 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.103, allocations: 123.5 kB / 496.6 MB, free: 3.492 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1031, allocations: 0 / 496.6 MB, free: 3.492 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1031, allocations: 0 / 496.6 MB, free: 3.492 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.1031, allocations: 0 / 496.6 MB, free: 3.492 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.0005657/0.1036, allocations: 361.6 kB / 497 MB, free: 3.109 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.1037, allocations: 12.03 kB / 497 MB, free: 3.098 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.445e-05/0.1037, allocations: 38.92 kB / 497 MB, free: 3.051 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.832e-05/0.1038, allocations: 20.84 kB / 497 MB, free: 3.031 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002158/0.104, allocations: 158.2 kB / 497.2 MB, free: 2.852 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.104, allocations: 8.562 kB / 497.2 MB, free: 2.844 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.104, allocations: 16.06 kB / 497.2 MB, free: 2.828 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.1042, allocations: 102.2 kB / 497.3 MB, free: 2.719 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.1042, allocations: 7.938 kB / 497.3 MB, free: 2.711 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.1042, allocations: 8 kB / 497.3 MB, free: 2.703 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1042, allocations: 0 / 497.3 MB, free: 2.703 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.415e-05/0.1043, allocations: 39.98 kB / 497.4 MB, free: 2.664 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006886/0.105, allocations: 467.7 kB / 497.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.1051, allocations: 54.56 kB / 497.9 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.496e-05/0.1052, allocations: 20.98 kB / 497.9 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.1052, allocations: 4 kB / 497.9 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.1052, allocations: 30.56 kB / 497.9 MB, free: 2.031 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.1052, allocations: 3.938 kB / 498 MB, free: 2.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.000215/0.1054, allocations: 81.64 kB / 498 MB, free: 1.941 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.1055, allocations: 55.41 kB / 498.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.1057, allocations: 178.5 kB / 498.3 MB, free: 1.688 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.1057, allocations: 25.7 kB / 498.3 MB, free: 1.656 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.409e-05/0.1058, allocations: 116 kB / 498.4 MB, free: 1.539 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.1058, allocations: 23.78 kB / 498.4 MB, free: 1.516 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.841e-05/0.1058, allocations: 29.72 kB / 498.4 MB, free: 1.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.106, allocations: 322.8 kB / 498.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.8e-05/0.106, allocations: 23.98 kB / 498.8 MB, free: 1.133 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.583e-05/0.1061, allocations: 51.31 kB / 498.8 MB, free: 1.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.1062, allocations: 75.36 kB / 498.9 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1062, allocations: 0 / 498.9 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001641/0.1064, allocations: 101.5 kB / 499 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.1064, allocations: 4 kB / 499 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.1064, allocations: 4 kB / 499 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.1064, allocations: 0 / 499 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/0.1067, allocations: 43.91 kB / 499.1 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001107/0.1078, allocations: 1.305 MB / 0.4886 GB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.71e-05/0.1078, allocations: 15.86 kB / 0.4887 GB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.1078, allocations: 4 kB / 0.4887 GB, free: 15.39 MB / 366.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 (12): * Single equations (assignments): 11 * 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 9.609e-05/0.1079, allocations: 117.9 kB / 0.4888 GB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.715e-05/0.108, allocations: 19.78 kB / 0.4888 GB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.161e-05/0.108, allocations: 17.39 kB / 0.4888 GB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.108, allocations: 4.156 kB / 0.4888 GB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.108, allocations: 256 / 0.4888 GB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.108, allocations: 0 / 0.4888 GB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004172/0.1084, allocations: 338.4 kB / 0.4891 GB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1084, allocations: 0 / 0.4891 GB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/0.1086, allocations: 35.97 kB / 0.4892 GB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.1086, allocations: 4 kB / 0.4892 GB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.1086, allocations: 0 / 0.4892 GB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009675/0.1096, allocations: 1.301 MB / 0.4904 GB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1096, allocations: 4.031 kB / 0.4904 GB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002088/0.1098, allocations: 196.3 kB / 0.4906 GB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.311e-05/0.1099, allocations: 15.94 kB / 0.4906 GB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.1099, allocations: 4 kB / 0.4907 GB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.526e-05/0.11, allocations: 3.938 kB / 0.4907 GB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.657e-05/0.11, allocations: 4.203 kB / 0.4907 GB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.11, allocations: 8 kB / 0.4907 GB, free: 13.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001031/0.1101, allocations: 124 kB / 0.4908 GB, free: 13.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1101, allocations: 0 / 0.4908 GB, free: 13.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.1103, allocations: 23.94 kB / 0.4908 GB, free: 13 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.0005304/0.1109, allocations: 0.7368 MB / 0.4915 GB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002513/0.1111, allocations: 67.89 kB / 0.4916 GB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1111, allocations: 256 / 0.4916 GB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.1112, allocations: 39.92 kB / 0.4916 GB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.1117, allocations: 41.53 kB / 0.4917 GB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002029/0.1137, allocations: 1.731 MB / 0.4934 GB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001037/0.1138, allocations: 89.62 kB / 0.4934 GB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.896e-05/0.1139, allocations: 20.42 kB / 0.4935 GB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.524e-05/0.114, allocations: 39.42 kB / 0.4935 GB, free: 10.09 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.114, allocations: 0 / 0.4935 GB, free: 10.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03029/0.1443, allocations: 3.591 MB / 0.497 GB, free: 6.676 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.21, allocations: 4 kB / 0.497 GB, free: 6.672 MB / 366.1 MB " [Timeout remaining time 649] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SmallSignal_ON_BWD_fmu --startTime=0 --stopTime=1 --stepSize=0.002 --timeout=50 --tolerance=1e-06 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SmallSignal_ON_BWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.922826307360083] Failed to read output from testmodel.py, exit status != 0: 11.323725065216422 11.575620897 11.468968248 Calling exit ...