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.0009964/0.0009964, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.00103/0.00103, 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.9385/0.9385, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.004592/0.004592, allocations: 1.023 MB / 260.2 MB, free: 12.31 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.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: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 386.7 MB, free: 10.14 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.036e-05/2.198e-05, allocations: 2.281 kB / 386.7 MB, free: 10.13 MB / 314.7 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD): time 0.002241/0.002263, allocations: 1.693 MB / 388.4 MB, free: 8.426 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001014/0.003278, allocations: 0.5455 MB / 388.9 MB, free: 7.875 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.509e-05/0.003373, allocations: 4 kB / 388.9 MB, free: 7.871 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000165/0.003538, allocations: 19.8 kB / 388.9 MB, free: 7.852 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 7.496e-05/0.003613, allocations: 35.66 kB / 389 MB, free: 7.816 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002849/0.003897, allocations: 75.89 kB / 389 MB, free: 7.742 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002338/0.004131, allocations: 163.3 kB / 389.2 MB, free: 7.582 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.00429, allocations: 34 kB / 389.2 MB, free: 7.539 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.621e-05/0.004386, allocations: 71.8 kB / 389.3 MB, free: 7.469 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.496e-05/0.004471, allocations: 27.91 kB / 389.3 MB, free: 7.441 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.077e-05/0.004502, allocations: 8 kB / 389.3 MB, free: 7.434 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.783e-05/0.00452, allocations: 12 kB / 389.3 MB, free: 7.422 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.117e-05/0.004551, allocations: 31.84 kB / 389.4 MB, free: 7.391 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.023e-05/0.004591, allocations: 31.92 kB / 389.4 MB, free: 7.359 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.004764, allocations: 123.5 kB / 389.5 MB, free: 7.238 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.004766, allocations: 0 / 389.5 MB, free: 7.238 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.004767, allocations: 0 / 389.5 MB, free: 7.238 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.004772, allocations: 0 / 389.5 MB, free: 7.238 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.0005284/0.0053, allocations: 361.6 kB / 389.9 MB, free: 6.855 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.005345, allocations: 12.02 kB / 389.9 MB, free: 6.844 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.248e-05/0.005417, allocations: 46.88 kB / 389.9 MB, free: 6.789 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.8e-05/0.005455, allocations: 16.84 kB / 390 MB, free: 6.773 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/0.005682, allocations: 145.6 kB / 390.1 MB, free: 6.605 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.005696, allocations: 4.562 kB / 390.1 MB, free: 6.602 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.00572, allocations: 16.31 kB / 390.1 MB, free: 6.586 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.005915, allocations: 107.9 kB / 390.2 MB, free: 6.469 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.005924, allocations: 0 / 390.2 MB, free: 6.469 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.005936, allocations: 8 kB / 390.2 MB, free: 6.461 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.00594, allocations: 0 / 390.2 MB, free: 6.461 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.673e-05/0.006017, allocations: 39.98 kB / 390.3 MB, free: 6.422 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005517/0.006569, allocations: 455.8 kB / 390.7 MB, free: 5.93 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.00669, allocations: 66.48 kB / 390.8 MB, free: 5.855 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.99e-05/0.00673, allocations: 16.98 kB / 390.8 MB, free: 5.836 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.006746, allocations: 0 / 390.8 MB, free: 5.836 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.006771, allocations: 34.56 kB / 390.8 MB, free: 5.793 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 8.32e-07/0.006772, allocations: 0 / 390.8 MB, free: 5.793 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001959/0.006968, allocations: 97.56 kB / 390.9 MB, free: 5.691 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.006998, allocations: 51.41 kB / 391 MB, free: 5.629 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.007117, allocations: 176.6 kB / 391.1 MB, free: 5.441 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.007128, allocations: 29.7 kB / 391.2 MB, free: 5.406 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.073e-05/0.007189, allocations: 112 kB / 391.3 MB, free: 5.293 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.987e-05/0.007209, allocations: 27.78 kB / 391.3 MB, free: 5.266 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.214e-05/0.007251, allocations: 33.61 kB / 391.3 MB, free: 5.227 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.96e-05/0.00734, allocations: 322.8 kB / 391.7 MB, free: 4.902 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.518e-05/0.007376, allocations: 23.98 kB / 391.7 MB, free: 4.879 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.09e-05/0.007416, allocations: 43.42 kB / 391.7 MB, free: 4.824 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.011e-05/0.007497, allocations: 75.31 kB / 391.8 MB, free: 4.738 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.0075, allocations: 7.938 kB / 391.8 MB, free: 4.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001149/0.007615, allocations: 105.5 kB / 391.9 MB, free: 4.621 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.007629, allocations: 4 kB / 391.9 MB, free: 4.617 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.007634, allocations: 0 / 391.9 MB, free: 4.617 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.007646, allocations: 4 kB / 391.9 MB, free: 4.613 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.007833, allocations: 39.91 kB / 392 MB, free: 4.574 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007241/0.008557, allocations: 1.305 MB / 393.3 MB, free: 3.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.619e-05/0.008594, allocations: 7.953 kB / 393.3 MB, free: 3.152 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.0086, allocations: 0 / 393.3 MB, free: 3.152 MB / 314.7 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 8.385e-05/0.008684, allocations: 128.3 kB / 393.4 MB, free: 3.02 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.821e-05/0.008702, allocations: 11.91 kB / 393.4 MB, free: 3.008 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.867e-05/0.008721, allocations: 17.45 kB / 393.4 MB, free: 2.992 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.72e-07/0.008721, allocations: 0 / 393.4 MB, free: 2.992 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.008723, allocations: 8.062 kB / 393.4 MB, free: 2.984 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.008727, allocations: 0 / 393.4 MB, free: 2.984 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002908/0.009017, allocations: 330.4 kB / 393.8 MB, free: 2.609 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.00902, allocations: 7.984 kB / 393.8 MB, free: 2.602 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.009142, allocations: 27.98 kB / 393.8 MB, free: 2.574 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.009146, allocations: 4.25 kB / 393.8 MB, free: 2.57 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.009157, allocations: 8 kB / 393.8 MB, free: 2.562 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006154/0.009772, allocations: 1.301 MB / 395.1 MB, free: 1.152 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.009774, allocations: 0 / 395.1 MB, free: 1.152 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001339/0.009908, allocations: 204.2 kB / 395.3 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.705e-05/0.009935, allocations: 15.94 kB / 395.3 MB, free: 0.918 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.254e-06/0.009942, allocations: 3.938 kB / 395.3 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.098e-05/0.009983, allocations: 7.984 kB / 395.3 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.581e-05/0.009999, allocations: 0 / 395.3 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.01001, allocations: 12.16 kB / 395.3 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.163e-05/0.01007, allocations: 124 kB / 395.5 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01007, allocations: 0 / 395.5 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001831/0.01025, allocations: 20 kB / 395.5 MB, free: 0.7539 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.0003227/0.01057, allocations: 0.7328 MB / 396.2 MB, free: 15.99 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001768/0.01075, allocations: 59.91 kB / 396.3 MB, free: 15.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01075, allocations: 0 / 396.3 MB, free: 15.93 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.144e-05/0.0108, allocations: 36.23 kB / 396.3 MB, free: 15.89 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.0111, allocations: 43.73 kB / 396.4 MB, free: 15.86 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.01244, allocations: 1.717 MB / 398.1 MB, free: 14.03 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.116e-05/0.01251, allocations: 93.61 kB / 398.2 MB, free: 13.92 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.802e-05/0.01257, allocations: 16.47 kB / 398.2 MB, free: 13.9 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.928e-05/0.01263, allocations: 44.48 kB / 398.2 MB, free: 13.86 MB / 330.7 MB Notification: Performance of SimCode: time 6.52e-07/0.01263, allocations: 3.938 kB / 398.2 MB, free: 13.86 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01637/0.029, allocations: 3.726 MB / 401.9 MB, free: 10.32 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.783/6.812, allocations: 8.047 kB / 402 MB, free: 10.32 MB / 330.7 MB " [Timeout remaining time 653] (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: 8.724414300173521] Failed to read output from testmodel.py, exit status != 0: 6.892618680372834 7.049354468 7.042251334 Calling exit ...