Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_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.001132/0.001132, 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.0008527/0.0008527, 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.906/0.906, allocations: 177.2 MB / 202.8 MB, free: 5.738 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.004186/0.004186, allocations: 1.028 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.CL_Simulation_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_CL_Simulation_ON_FWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_CL_Simulation_ON_FWD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 385.9 MB, free: 10.93 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.04e-05/2.23e-05, allocations: 2.281 kB / 385.9 MB, free: 10.93 MB / 314.7 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD): time 0.002391/0.002413, allocations: 1.927 MB / 387.8 MB, free: 8.988 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009241/0.003337, allocations: 0.5805 MB / 388.4 MB, free: 8.402 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.789e-05/0.003425, allocations: 0 / 388.4 MB, free: 8.402 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001341/0.003559, allocations: 27.73 kB / 388.4 MB, free: 8.375 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 5.843e-05/0.003618, allocations: 43.59 kB / 388.5 MB, free: 8.332 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002339/0.003852, allocations: 95.81 kB / 388.6 MB, free: 8.238 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001912/0.004043, allocations: 191.3 kB / 388.7 MB, free: 8.051 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.004183, allocations: 45.67 kB / 388.8 MB, free: 8.004 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.193e-05/0.004275, allocations: 87.8 kB / 388.9 MB, free: 7.918 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.98e-05/0.004354, allocations: 43.81 kB / 388.9 MB, free: 7.875 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.9e-05/0.004383, allocations: 12 kB / 388.9 MB, free: 7.863 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.391e-05/0.004397, allocations: 12 kB / 388.9 MB, free: 7.852 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.901e-05/0.004426, allocations: 31.84 kB / 389 MB, free: 7.82 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.018e-05/0.004467, allocations: 47.86 kB / 389 MB, free: 7.773 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.004642, allocations: 155.4 kB / 389.2 MB, free: 7.621 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.004644, allocations: 0 / 389.2 MB, free: 7.621 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.004645, allocations: 0 / 389.2 MB, free: 7.621 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.00465, allocations: 0 / 389.2 MB, free: 7.621 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005183/0.005168, allocations: 393.4 kB / 389.6 MB, free: 7.207 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.005205, allocations: 12.03 kB / 389.6 MB, free: 7.195 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.679e-05/0.005242, allocations: 50.67 kB / 389.6 MB, free: 7.137 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.14e-05/0.005273, allocations: 20.8 kB / 389.6 MB, free: 7.117 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.00548, allocations: 153.5 kB / 389.8 MB, free: 6.941 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.005491, allocations: 12.38 kB / 389.8 MB, free: 6.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.005513, allocations: 16.31 kB / 389.8 MB, free: 6.914 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.005686, allocations: 127.9 kB / 389.9 MB, free: 6.777 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.005693, allocations: 4.188 kB / 389.9 MB, free: 6.773 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.005705, allocations: 8.125 kB / 390 MB, free: 6.766 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.005711, allocations: 4 kB / 390 MB, free: 6.762 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.89e-05/0.00581, allocations: 66.27 kB / 390 MB, free: 6.699 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005318/0.006341, allocations: 491.6 kB / 390.5 MB, free: 6.172 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.006474, allocations: 74.56 kB / 390.6 MB, free: 6.09 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.361e-05/0.006528, allocations: 48.95 kB / 390.6 MB, free: 6.039 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.006542, allocations: 0 / 390.6 MB, free: 6.039 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.00656, allocations: 34.56 kB / 390.7 MB, free: 5.996 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 9.22e-07/0.006561, allocations: 0 / 390.7 MB, free: 5.996 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002114/0.006773, allocations: 133.4 kB / 390.8 MB, free: 5.859 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.0068, allocations: 59.39 kB / 390.8 MB, free: 5.789 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.006917, allocations: 196.4 kB / 391 MB, free: 5.59 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.006931, allocations: 29.7 kB / 391.1 MB, free: 5.555 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.361e-05/0.006984, allocations: 116.5 kB / 391.2 MB, free: 5.438 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.007007, allocations: 39.67 kB / 391.2 MB, free: 5.398 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.671e-05/0.007053, allocations: 41.7 kB / 391.3 MB, free: 5.352 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.707e-05/0.00713, allocations: 322.8 kB / 391.6 MB, free: 5.027 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.992e-05/0.00718, allocations: 31.98 kB / 391.6 MB, free: 4.996 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.737e-05/0.007238, allocations: 62.55 kB / 391.7 MB, free: 4.926 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.007346, allocations: 94.5 kB / 391.8 MB, free: 4.824 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.007348, allocations: 0 / 391.8 MB, free: 4.824 MB / 314.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001511/0.007499, allocations: 153.4 kB / 391.9 MB, free: 4.668 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.007511, allocations: 8 kB / 391.9 MB, free: 4.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.007515, allocations: 3.938 kB / 391.9 MB, free: 4.656 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.007526, allocations: 384 / 391.9 MB, free: 4.656 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.007636, allocations: 43.98 kB / 392 MB, free: 4.613 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.007641, allocations: 0 / 392 MB, free: 4.613 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.535e-05/0.007676, allocations: 11.95 kB / 392 MB, free: 4.602 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.007683, allocations: 7.938 kB / 392 MB, free: 4.594 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (18): * Single equations (assignments): 18 * 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 7.16e-05/0.007754, allocations: 130.4 kB / 392.1 MB, free: 4.457 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.83e-05/0.007773, allocations: 11.91 kB / 392.1 MB, free: 4.445 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.654e-05/0.007799, allocations: 21.41 kB / 392.1 MB, free: 4.43 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.007801, allocations: 4 kB / 392.1 MB, free: 4.426 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.007806, allocations: 0 / 392.1 MB, free: 4.426 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.007809, allocations: 0 / 392.1 MB, free: 4.426 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003173/0.008126, allocations: 378.4 kB / 392.5 MB, free: 4.004 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.008127, allocations: 4 kB / 392.5 MB, free: 4 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.008259, allocations: 31.92 kB / 392.5 MB, free: 3.969 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.008261, allocations: 0 / 392.5 MB, free: 3.969 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.008272, allocations: 8 kB / 392.6 MB, free: 3.961 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000613/0.008885, allocations: 1.297 MB / 393.9 MB, free: 2.551 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.008887, allocations: 3.938 kB / 393.9 MB, free: 2.547 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001833/0.00907, allocations: 244.2 kB / 394.1 MB, free: 2.289 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.775e-05/0.009098, allocations: 19.88 kB / 394.1 MB, free: 2.27 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.808e-06/0.009107, allocations: 4 kB / 394.1 MB, free: 2.266 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.652e-05/0.009154, allocations: 7.984 kB / 394.1 MB, free: 2.258 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.176e-05/0.009186, allocations: 11.92 kB / 394.1 MB, free: 2.246 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.009191, allocations: 8.188 kB / 394.1 MB, free: 2.238 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.789e-05/0.009259, allocations: 135.4 kB / 394.3 MB, free: 2.105 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009259, allocations: 0 / 394.3 MB, free: 2.105 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001724/0.009432, allocations: 31.94 kB / 394.3 MB, free: 2.074 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (tank.l,PI.x) * 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 (9): * Single equations (assignments): 8 * 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.0003421/0.009774, allocations: 0.7717 MB / 395.1 MB, free: 1.27 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001373/0.009911, allocations: 79.91 kB / 395.2 MB, free: 1.191 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.009913, allocations: 4.188 kB / 395.2 MB, free: 1.188 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001665/0.01008, allocations: 55.89 kB / 395.2 MB, free: 1.133 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.01035, allocations: 56.08 kB / 395.3 MB, free: 1.082 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.01174, allocations: 1.904 MB / 397.2 MB, free: 15.07 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.747e-05/0.01181, allocations: 108.1 kB / 397.3 MB, free: 14.95 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.55e-05/0.01186, allocations: 17.48 kB / 397.3 MB, free: 14.93 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.644e-05/0.01193, allocations: 48.48 kB / 397.3 MB, free: 14.88 MB / 330.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01193, allocations: 0 / 397.3 MB, free: 14.88 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01628/0.02821, allocations: 4.31 MB / 401.7 MB, free: 10.78 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.981/7.009, allocations: 10.66 kB / 401.7 MB, free: 10.77 MB / 330.7 MB " [Timeout remaining time 653] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.sim & python3 -m fmpy simulate --output-file BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD_res.csv --start-time 0 --stop-time 300 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.6 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_CL_Simulation_ON_FWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.970869527198374] Failed to read output from testmodel.py, exit status != 0: 7.091817705892026 7.246607568 7.239664586 Calling exit ...