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.001187/0.001187, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008979/0.0008979, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.888/0.888, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.004132/0.004132, allocations: 1.023 MB / 260.2 MB, free: 12.3 MB / 250.7 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: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 385.9 MB, free: 10.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.014e-05/2.16e-05, allocations: 2.281 kB / 385.9 MB, free: 10.9 MB / 314.7 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD): time 0.002134/0.002156, allocations: 1.777 MB / 387.7 MB, free: 9.113 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007758/0.002932, allocations: 0.5572 MB / 388.2 MB, free: 8.551 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.419e-05/0.002996, allocations: 4 kB / 388.2 MB, free: 8.547 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.003121, allocations: 15.8 kB / 388.2 MB, free: 8.531 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 4.936e-05/0.003171, allocations: 35.66 kB / 388.3 MB, free: 8.496 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002368/0.003407, allocations: 95.81 kB / 388.4 MB, free: 8.402 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000171/0.003578, allocations: 183.3 kB / 388.6 MB, free: 8.223 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.003695, allocations: 29.78 kB / 388.6 MB, free: 8.191 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.539e-05/0.003791, allocations: 75.81 kB / 388.7 MB, free: 8.117 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.881e-05/0.003849, allocations: 43.83 kB / 388.7 MB, free: 8.074 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.003873, allocations: 8 kB / 388.7 MB, free: 8.066 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.242e-05/0.003885, allocations: 12 kB / 388.7 MB, free: 8.055 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.173e-05/0.003907, allocations: 23.86 kB / 388.7 MB, free: 8.031 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.7e-05/0.003974, allocations: 47.83 kB / 388.8 MB, free: 7.984 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.004113, allocations: 131.5 kB / 388.9 MB, free: 7.855 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.004115, allocations: 4 kB / 388.9 MB, free: 7.852 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.004115, allocations: 0 / 388.9 MB, free: 7.852 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.004119, allocations: 0 / 388.9 MB, free: 7.852 MB / 314.7 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.0004364/0.004555, allocations: 369.7 kB / 389.3 MB, free: 7.461 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.00459, allocations: 8.031 kB / 389.3 MB, free: 7.453 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.187e-05/0.004622, allocations: 50.61 kB / 389.3 MB, free: 7.395 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.688e-05/0.004649, allocations: 16.84 kB / 389.4 MB, free: 7.379 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.00481, allocations: 139.7 kB / 389.5 MB, free: 7.215 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.004821, allocations: 8.375 kB / 389.5 MB, free: 7.207 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.004842, allocations: 20.36 kB / 389.5 MB, free: 7.188 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002414/0.005084, allocations: 130.9 kB / 389.6 MB, free: 7.051 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.005092, allocations: 192 / 389.6 MB, free: 7.051 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.005102, allocations: 4.125 kB / 389.6 MB, free: 7.047 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.005107, allocations: 0 / 389.6 MB, free: 7.047 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.005224, allocations: 67.94 kB / 389.7 MB, free: 6.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005008/0.005725, allocations: 455.7 kB / 390.2 MB, free: 6.488 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.005843, allocations: 70.48 kB / 390.2 MB, free: 6.41 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.745e-05/0.005901, allocations: 40.95 kB / 390.3 MB, free: 6.367 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.005915, allocations: 0 / 390.3 MB, free: 6.367 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.632e-05/0.005931, allocations: 30.56 kB / 390.3 MB, free: 6.328 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.005932, allocations: 0 / 390.3 MB, free: 6.328 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002411/0.006173, allocations: 129.7 kB / 390.4 MB, free: 6.195 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.006201, allocations: 63.33 kB / 390.5 MB, free: 6.121 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.006301, allocations: 166.9 kB / 390.7 MB, free: 5.949 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.006313, allocations: 29.7 kB / 390.7 MB, free: 5.914 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.115e-05/0.006364, allocations: 120 kB / 390.8 MB, free: 5.793 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.384e-05/0.006378, allocations: 15.86 kB / 390.8 MB, free: 5.777 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/0.006414, allocations: 37.66 kB / 390.8 MB, free: 5.734 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.14e-05/0.006485, allocations: 322.8 kB / 391.2 MB, free: 5.41 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.05e-05/0.006546, allocations: 32.05 kB / 391.2 MB, free: 5.379 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.13e-05/0.006617, allocations: 76.2 kB / 391.3 MB, free: 5.289 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000247/0.006864, allocations: 100.2 kB / 391.4 MB, free: 5.176 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.006866, allocations: 0 / 391.4 MB, free: 5.176 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001645/0.00703, allocations: 145.4 kB / 391.5 MB, free: 5.027 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.007042, allocations: 11.94 kB / 391.5 MB, free: 5.016 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.007046, allocations: 0 / 391.5 MB, free: 5.016 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.007057, allocations: 0 / 391.5 MB, free: 5.016 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.007212, allocations: 43.91 kB / 391.6 MB, free: 4.973 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006218/0.007834, allocations: 1.301 MB / 392.9 MB, free: 3.562 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.976e-05/0.007883, allocations: 15.92 kB / 392.9 MB, free: 3.547 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.007889, allocations: 4 kB / 392.9 MB, free: 3.543 MB / 314.7 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 6.722e-05/0.007957, allocations: 127.9 kB / 393 MB, free: 3.41 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.678e-05/0.007973, allocations: 11.91 kB / 393 MB, free: 3.398 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.372e-05/0.007987, allocations: 13.62 kB / 393 MB, free: 3.387 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-06/0.007988, allocations: 4 kB / 393 MB, free: 3.383 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.41e-07/0.007989, allocations: 3.938 kB / 393 MB, free: 3.379 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.007992, allocations: 3.984 kB / 393 MB, free: 3.375 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002962/0.008288, allocations: 362.4 kB / 393.4 MB, free: 2.969 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.008289, allocations: 0 / 393.4 MB, free: 2.969 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.008396, allocations: 35.91 kB / 393.4 MB, free: 2.934 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.008398, allocations: 0 / 393.4 MB, free: 2.934 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.575e-06/0.008406, allocations: 4.031 kB / 393.4 MB, free: 2.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004882/0.008894, allocations: 1.305 MB / 394.7 MB, free: 1.516 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.008895, allocations: 0 / 394.7 MB, free: 1.516 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004411/0.009336, allocations: 240.4 kB / 395 MB, free: 1.262 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.556e-05/0.009362, allocations: 15.91 kB / 395 MB, free: 1.246 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.406e-06/0.00937, allocations: 4 kB / 395 MB, free: 1.242 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.822e-05/0.009418, allocations: 4 kB / 395 MB, free: 1.238 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.009453, allocations: 7.984 kB / 395 MB, free: 1.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.009457, allocations: 0 / 395 MB, free: 1.23 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.516e-05/0.009522, allocations: 139.2 kB / 395.1 MB, free: 1.094 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009522, allocations: 0 / 395.1 MB, free: 1.094 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001696/0.009692, allocations: 23.95 kB / 395.2 MB, free: 1.07 MB / 314.7 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.0003547/0.01005, allocations: 0.7718 MB / 395.9 MB, free: 272 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002041/0.01025, allocations: 87.88 kB / 396 MB, free: 184 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01025, allocations: 0 / 396 MB, free: 184 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.848e-05/0.01033, allocations: 56.22 kB / 396.1 MB, free: 128 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.0106, allocations: 42.38 kB / 396.1 MB, free: 92 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.01194, allocations: 1.819 MB / 397.9 MB, free: 14.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.966e-05/0.012, allocations: 101.9 kB / 398 MB, free: 14.04 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.735e-05/0.01205, allocations: 16.95 kB / 398.1 MB, free: 14.02 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.71e-05/0.01211, allocations: 40.48 kB / 398.1 MB, free: 13.98 MB / 330.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01211, allocations: 0 / 398.1 MB, free: 13.98 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01572/0.02783, allocations: 3.965 MB / 402.1 MB, free: 10.21 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.986/7.013, allocations: 15.97 kB / 402.1 MB, free: 10.19 MB / 330.7 MB " [Timeout remaining time 653] (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: 8.854259410873055] Failed to read output from testmodel.py, exit status != 0: 7.100064504891634 7.260134418 7.254207887 Calling exit ...