Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.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.0007444/0.0007444, 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.000761/0.000761, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8723/0.8723, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.007148/0.007148, allocations: 1.033 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.SteadyState_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SteadyState_ON_FWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SteadyState_ON_FWD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 385.9 MB, free: 10.95 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.613e-05/1.783e-05, allocations: 9.094 kB / 385.9 MB, free: 10.95 MB / 314.7 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD): time 0.001845/0.001862, allocations: 1.657 MB / 387.5 MB, free: 9.273 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006867/0.002549, allocations: 0.5455 MB / 388.1 MB, free: 8.723 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.338e-05/0.002603, allocations: 0 / 388.1 MB, free: 8.723 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001196/0.002722, allocations: 19.81 kB / 388.1 MB, free: 8.703 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 4.361e-05/0.002766, allocations: 31.72 kB / 388.1 MB, free: 8.672 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002013/0.002967, allocations: 87.75 kB / 388.2 MB, free: 8.586 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.003106, allocations: 127.5 kB / 388.3 MB, free: 8.461 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.003212, allocations: 33.06 kB / 388.4 MB, free: 8.426 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.46e-05/0.003277, allocations: 67.81 kB / 388.4 MB, free: 8.359 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.387e-05/0.003341, allocations: 35.83 kB / 388.5 MB, free: 8.324 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.003363, allocations: 8 kB / 388.5 MB, free: 8.316 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.083e-05/0.003374, allocations: 8 kB / 388.5 MB, free: 8.309 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.047e-05/0.003394, allocations: 27.91 kB / 388.5 MB, free: 8.281 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.82e-05/0.003422, allocations: 27.94 kB / 388.5 MB, free: 8.254 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.003539, allocations: 111.6 kB / 388.6 MB, free: 8.145 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.003541, allocations: 0 / 388.6 MB, free: 8.145 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.003542, allocations: 0 / 388.6 MB, free: 8.145 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.666e-06/0.003545, allocations: 0 / 388.6 MB, free: 8.145 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003716/0.003917, allocations: 349.7 kB / 389 MB, free: 7.773 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.003951, allocations: 12.03 kB / 389 MB, free: 7.762 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.678e-05/0.003977, allocations: 34.75 kB / 389 MB, free: 7.719 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.659e-05/0.004004, allocations: 16.84 kB / 389 MB, free: 7.703 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.004146, allocations: 154.5 kB / 389.2 MB, free: 7.527 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.004157, allocations: 8.375 kB / 389.2 MB, free: 7.52 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.004177, allocations: 12.38 kB / 389.2 MB, free: 7.508 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.004298, allocations: 109.6 kB / 389.3 MB, free: 7.387 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.004305, allocations: 192 / 389.3 MB, free: 7.387 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.004314, allocations: 4.125 kB / 389.3 MB, free: 7.383 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.004319, allocations: 0 / 389.3 MB, free: 7.383 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.624e-05/0.004375, allocations: 39.92 kB / 389.4 MB, free: 7.344 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004536/0.004829, allocations: 0.5039 MB / 389.9 MB, free: 6.789 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.093e-05/0.00491, allocations: 50.56 kB / 389.9 MB, free: 6.73 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.57e-05/0.004935, allocations: 16.89 kB / 389.9 MB, free: 6.711 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.055e-06/0.004943, allocations: 0 / 389.9 MB, free: 6.711 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.756e-05/0.004961, allocations: 38.53 kB / 390 MB, free: 6.664 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.004962, allocations: 0 / 390 MB, free: 6.664 MB / 314.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001369/0.005099, allocations: 69.64 kB / 390 MB, free: 6.59 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.496e-05/0.005124, allocations: 55.34 kB / 390.1 MB, free: 6.523 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.005232, allocations: 179.3 kB / 390.3 MB, free: 6.336 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.005242, allocations: 29.7 kB / 390.3 MB, free: 6.301 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.043e-05/0.005293, allocations: 116 kB / 390.4 MB, free: 6.184 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.166e-05/0.005304, allocations: 19.84 kB / 390.4 MB, free: 6.164 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.511e-05/0.005339, allocations: 33.7 kB / 390.5 MB, free: 6.125 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.981e-05/0.005409, allocations: 322.8 kB / 390.8 MB, free: 5.801 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.131e-05/0.005441, allocations: 23.98 kB / 390.8 MB, free: 5.777 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.097e-05/0.005482, allocations: 55.36 kB / 390.9 MB, free: 5.711 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.922e-05/0.005551, allocations: 67.38 kB / 390.9 MB, free: 5.633 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.005553, allocations: 4 kB / 390.9 MB, free: 5.629 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000107/0.00566, allocations: 125.5 kB / 391.1 MB, free: 5.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.005673, allocations: 10.81 kB / 391.1 MB, free: 5.492 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.005678, allocations: 4 kB / 391.1 MB, free: 5.488 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.005688, allocations: 0 / 391.1 MB, free: 5.488 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.005788, allocations: 35.86 kB / 391.1 MB, free: 5.453 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.005794, allocations: 3.938 kB / 391.1 MB, free: 5.449 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.26e-05/0.005827, allocations: 15.89 kB / 391.1 MB, free: 5.434 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.005833, allocations: 4 kB / 391.1 MB, free: 5.43 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 (15): * Single equations (assignments): 15 * 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 6.155e-05/0.005894, allocations: 126.9 kB / 391.2 MB, free: 5.297 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.605e-05/0.00591, allocations: 11.91 kB / 391.3 MB, free: 5.285 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.122e-05/0.005932, allocations: 21.02 kB / 391.3 MB, free: 5.266 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.005933, allocations: 0 / 391.3 MB, free: 5.266 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.005939, allocations: 3.938 kB / 391.3 MB, free: 5.262 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.005941, allocations: 0 / 391.3 MB, free: 5.262 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.006165, allocations: 306.6 kB / 391.6 MB, free: 4.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.006167, allocations: 4 kB / 391.6 MB, free: 4.906 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.006277, allocations: 27.92 kB / 391.6 MB, free: 4.879 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.00628, allocations: 3.938 kB / 391.6 MB, free: 4.875 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-06/0.006287, allocations: 4.031 kB / 391.6 MB, free: 4.871 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008569/0.007144, allocations: 1.289 MB / 392.9 MB, free: 3.469 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.007145, allocations: 0 / 392.9 MB, free: 3.469 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.007252, allocations: 188.2 kB / 393.1 MB, free: 3.266 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.55e-05/0.007277, allocations: 23.92 kB / 393.1 MB, free: 3.242 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.614e-06/0.007285, allocations: 4.219 kB / 393.1 MB, free: 3.238 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.806e-05/0.007323, allocations: 0 / 393.1 MB, free: 3.238 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.576e-05/0.007339, allocations: 7.984 kB / 393.1 MB, free: 3.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.007343, allocations: 7.938 kB / 393.1 MB, free: 3.223 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.441e-05/0.007408, allocations: 131.2 kB / 393.3 MB, free: 3.094 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007408, allocations: 0 / 393.3 MB, free: 3.094 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001697/0.007577, allocations: 24 kB / 393.3 MB, free: 3.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 (4): * Single equations (assignments): 3 * 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.0002558/0.007833, allocations: 0.7132 MB / 394 MB, free: 2.328 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.467e-05/0.007928, allocations: 52.05 kB / 394.1 MB, free: 2.277 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.007929, allocations: 0 / 394.1 MB, free: 2.277 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.454e-05/0.008003, allocations: 23.98 kB / 394.1 MB, free: 2.254 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.008268, allocations: 47.27 kB / 394.1 MB, free: 2.219 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.009403, allocations: 1.729 MB / 395.9 MB, free: 392 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.291e-05/0.009456, allocations: 89.3 kB / 395.9 MB, free: 280 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.497e-05/0.009501, allocations: 16.97 kB / 396 MB, free: 264 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.993e-05/0.009551, allocations: 32.48 kB / 396 MB, free: 232 kB / 314.7 MB Notification: Performance of SimCode: time 7.62e-07/0.009551, allocations: 4 kB / 396 MB, free: 228 kB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0169/0.02645, allocations: 3.636 MB / 399.6 MB, free: 12.77 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.867/6.893, allocations: 2.625 kB / 399.6 MB, free: 12.77 MB / 330.7 MB " [Timeout remaining time 653] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.sim & python3 -m fmpy simulate --output-file BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD_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_InvertibleConfig_SteadyState_ON_FWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.753958872519433] Failed to read output from testmodel.py, exit status != 0: 6.97470469865948 7.12254317 6.979407479 Calling exit ...