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.00134/0.00134, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.001574/0.001574, allocations: 220 kB / 22.24 MB, free: 5.109 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.472/1.472, allocations: 230.6 MB / 256 MB, free: 7.816 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.008318/0.008318, allocations: 1.341 MB / 313.8 MB, free: 1.695 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.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.002868/0.002868, allocations: 68.19 kB / 439.3 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1033, allocations: 53.67 MB / 493 MB, free: 7.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD): time 0.003095/0.1064, allocations: 1.752 MB / 494.8 MB, free: 5.402 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.1075, allocations: 0.5611 MB / 495.3 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.796e-05/0.1076, allocations: 0 / 495.3 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001369/0.1077, allocations: 19.8 kB / 495.4 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.371e-05/0.1078, allocations: 35.66 kB / 495.4 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002395/0.108, allocations: 83.89 kB / 495.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002571/0.1083, allocations: 179.3 kB / 495.6 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.1084, allocations: 41.89 kB / 495.7 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.608e-05/0.1085, allocations: 51.78 kB / 495.7 MB, free: 4.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.061e-05/0.1086, allocations: 51.7 kB / 495.8 MB, free: 4.379 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.1086, allocations: 8 kB / 495.8 MB, free: 4.371 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.735e-05/0.1086, allocations: 12 kB / 495.8 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.547e-05/0.1087, allocations: 27.86 kB / 495.8 MB, free: 4.332 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.882e-05/0.1087, allocations: 47.73 kB / 495.9 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.1089, allocations: 135.4 kB / 496 MB, free: 4.152 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1089, allocations: 0 / 496 MB, free: 4.152 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1089, allocations: 0 / 496 MB, free: 4.152 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.1089, allocations: 4 kB / 496 MB, free: 4.148 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.0006371/0.1096, allocations: 377.5 kB / 496.4 MB, free: 3.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.1096, allocations: 8.031 kB / 496.4 MB, free: 3.742 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.119e-05/0.1097, allocations: 46.73 kB / 496.4 MB, free: 3.688 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.1097, allocations: 16.84 kB / 496.5 MB, free: 3.672 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.1099, allocations: 147 kB / 496.6 MB, free: 3.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.11, allocations: 12.36 kB / 496.6 MB, free: 3.488 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.11, allocations: 4.375 kB / 496.6 MB, free: 3.484 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002787/0.1103, allocations: 135.3 kB / 496.7 MB, free: 3.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1103, allocations: 4 kB / 496.7 MB, free: 3.336 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.1103, allocations: 4 kB / 496.8 MB, free: 3.332 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.1103, allocations: 4 kB / 496.8 MB, free: 3.328 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002569/0.1105, allocations: 63.94 kB / 496.8 MB, free: 3.266 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000819/0.1114, allocations: 459.7 kB / 497.3 MB, free: 2.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.1116, allocations: 70.55 kB / 497.3 MB, free: 2.691 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.1117, allocations: 32.95 kB / 497.4 MB, free: 2.656 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.1117, allocations: 4 kB / 497.4 MB, free: 2.652 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.1117, allocations: 30.56 kB / 497.4 MB, free: 2.613 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.1117, allocations: 4 kB / 497.4 MB, free: 2.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004508/0.1122, allocations: 137.4 kB / 497.5 MB, free: 2.469 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.1122, allocations: 51.41 kB / 497.6 MB, free: 2.406 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.1124, allocations: 167 kB / 497.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.1124, allocations: 25.7 kB / 497.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.481e-05/0.1125, allocations: 124 kB / 497.9 MB, free: 2.078 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.1125, allocations: 23.8 kB / 497.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.005e-05/0.1126, allocations: 33.66 kB / 498 MB, free: 2.016 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.1128, allocations: 322.8 kB / 498.3 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.1129, allocations: 27.98 kB / 498.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.113, allocations: 76.27 kB / 498.4 MB, free: 1.574 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002528/0.1133, allocations: 104.1 kB / 498.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1133, allocations: 0 / 498.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000345/0.1136, allocations: 137.5 kB / 498.6 MB, free: 1.316 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.1137, allocations: 15.06 kB / 498.6 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1137, allocations: 0 / 498.6 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.1137, allocations: 4.094 kB / 498.6 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000281/0.114, allocations: 43.91 kB / 498.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00122/0.1152, allocations: 1.301 MB / 500 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.1153, allocations: 11.92 kB / 500 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.1153, allocations: 4 kB / 500 MB, free: 15.83 MB / 366.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.0001255/0.1154, allocations: 130.8 kB / 0.4884 GB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.641e-05/0.1155, allocations: 15.84 kB / 0.4884 GB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.435e-05/0.1155, allocations: 17.41 kB / 0.4884 GB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1155, allocations: 4.406 kB / 0.4884 GB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.1155, allocations: 0 / 0.4884 GB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.1155, allocations: 7.984 kB / 0.4884 GB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006059/0.1161, allocations: 358.4 kB / 0.4888 GB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1161, allocations: 0 / 0.4888 GB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.1163, allocations: 31.97 kB / 0.4888 GB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1163, allocations: 0 / 0.4888 GB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.1164, allocations: 4 kB / 0.4888 GB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001097/0.1174, allocations: 1.312 MB / 0.4901 GB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1174, allocations: 0 / 0.4901 GB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004395/0.1179, allocations: 240.4 kB / 0.4903 GB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.615e-05/0.1179, allocations: 16.03 kB / 0.4903 GB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.118, allocations: 8 kB / 0.4903 GB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.1181, allocations: 7.984 kB / 0.4904 GB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/0.1181, allocations: 3.938 kB / 0.4904 GB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.1181, allocations: 4 kB / 0.4904 GB, free: 13.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001307/0.1182, allocations: 131.2 kB / 0.4905 GB, free: 13.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1182, allocations: 0 / 0.4905 GB, free: 13.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002952/0.1185, allocations: 31.89 kB / 0.4905 GB, free: 13.33 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.00076/0.1193, allocations: 0.7719 MB / 0.4913 GB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000381/0.1197, allocations: 91.81 kB / 0.4914 GB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1197, allocations: 0 / 0.4914 GB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.1199, allocations: 40.34 kB / 0.4914 GB, free: 12.4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004524/0.1203, allocations: 46.22 kB / 0.4914 GB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/0.1228, allocations: 1.845 MB / 0.4932 GB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.1229, allocations: 105.8 kB / 0.4933 GB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.809e-05/0.123, allocations: 8.969 kB / 0.4934 GB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.781e-05/0.1231, allocations: 47.41 kB / 0.4934 GB, free: 10.23 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1231, allocations: 0 / 0.4934 GB, free: 10.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03162/0.1547, allocations: 3.828 MB / 0.4971 GB, free: 6.582 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.33, allocations: 11.94 kB / 0.4971 GB, free: 6.57 MB / 366.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_BWD_fmu --startTime=0 --stopTime=1000 --stepSize=2 --timeout=50 --tolerance=1e-06 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: 14.00891326693818] Failed to read output from testmodel.py, exit status != 0: 11.440979643724859 11.636412896 11.524916705 Calling exit ...