Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.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.000816/0.000816, allocations: 68.47 kB / 19.17 MB, free: 0.7344 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.001016/0.001016, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.9025/0.9025, allocations: 177.1 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.004179/0.004179, allocations: 1.031 MB / 260.2 MB, free: 12.32 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.NonInvertibleConfig.SmallSignal_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SmallSignal_ON_BWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SmallSignal_ON_BWD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 386.7 MB, free: 11.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.856e-05/1.995e-05, allocations: 6.219 kB / 386.7 MB, free: 11.33 MB / 362.7 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD): time 0.002324/0.002344, allocations: 1.654 MB / 388.3 MB, free: 9.668 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007768/0.00312, allocations: 0.5298 MB / 388.9 MB, free: 9.133 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.095e-05/0.003181, allocations: 0 / 388.9 MB, free: 9.133 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001409/0.003322, allocations: 19.81 kB / 388.9 MB, free: 9.113 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 4.029e-05/0.003363, allocations: 19.8 kB / 388.9 MB, free: 9.094 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.003603, allocations: 87.81 kB / 389 MB, free: 9.008 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001542/0.003757, allocations: 123.6 kB / 389.1 MB, free: 8.887 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.003878, allocations: 37.59 kB / 389.1 MB, free: 8.844 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.138e-05/0.003959, allocations: 59.81 kB / 389.2 MB, free: 8.785 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.245e-05/0.004031, allocations: 31.91 kB / 389.2 MB, free: 8.754 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.511e-05/0.004056, allocations: 8 kB / 389.2 MB, free: 8.746 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.089e-05/0.004067, allocations: 8 kB / 389.2 MB, free: 8.738 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.194e-05/0.004089, allocations: 15.92 kB / 389.3 MB, free: 8.723 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.133e-05/0.004121, allocations: 31.86 kB / 389.3 MB, free: 8.691 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001306/0.004251, allocations: 99.59 kB / 389.4 MB, free: 8.594 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.004253, allocations: 0 / 389.4 MB, free: 8.594 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.004255, allocations: 4 kB / 389.4 MB, free: 8.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.004259, allocations: 0 / 389.4 MB, free: 8.59 MB / 362.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.0004081/0.004667, allocations: 349.8 kB / 389.7 MB, free: 8.219 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.004706, allocations: 8.031 kB / 389.7 MB, free: 8.211 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.026e-05/0.004767, allocations: 42.73 kB / 389.8 MB, free: 8.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.649e-05/0.004793, allocations: 12.84 kB / 389.8 MB, free: 8.148 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.004954, allocations: 149.4 kB / 389.9 MB, free: 7.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.004963, allocations: 8.375 kB / 389.9 MB, free: 7.973 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.004982, allocations: 8.375 kB / 390 MB, free: 7.965 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.005114, allocations: 99.69 kB / 390.1 MB, free: 7.855 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.005122, allocations: 3.938 kB / 390.1 MB, free: 7.852 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.005132, allocations: 8 kB / 390.1 MB, free: 7.844 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.005137, allocations: 3.938 kB / 390.1 MB, free: 7.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.118e-05/0.005198, allocations: 35.98 kB / 390.1 MB, free: 7.805 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004623/0.00566, allocations: 427.7 kB / 390.5 MB, free: 7.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.005812, allocations: 62.56 kB / 390.6 MB, free: 7.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.544e-05/0.005847, allocations: 16.98 kB / 390.6 MB, free: 7.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.428e-06/0.005857, allocations: 0 / 390.6 MB, free: 7.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.005876, allocations: 30.56 kB / 390.6 MB, free: 7.211 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.005877, allocations: 0 / 390.6 MB, free: 7.211 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001641/0.006041, allocations: 81.58 kB / 390.7 MB, free: 7.125 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.006072, allocations: 51.41 kB / 390.8 MB, free: 7.062 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.006188, allocations: 158.9 kB / 390.9 MB, free: 6.898 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.0062, allocations: 25.7 kB / 390.9 MB, free: 6.867 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.127e-05/0.006261, allocations: 127.8 kB / 391.1 MB, free: 6.738 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/0.006277, allocations: 23.83 kB / 391.1 MB, free: 6.715 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.032e-05/0.006317, allocations: 29.67 kB / 391.1 MB, free: 6.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.00642, allocations: 322.8 kB / 391.4 MB, free: 6.355 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.478e-05/0.006455, allocations: 15.98 kB / 391.4 MB, free: 6.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.519e-05/0.00651, allocations: 64.38 kB / 391.5 MB, free: 6.258 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.916e-05/0.006609, allocations: 98.19 kB / 391.6 MB, free: 6.141 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.006612, allocations: 0 / 391.6 MB, free: 6.141 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000134/0.006746, allocations: 113.4 kB / 391.7 MB, free: 6.023 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.006769, allocations: 8 kB / 391.7 MB, free: 6.016 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.006778, allocations: 3.938 kB / 391.7 MB, free: 6.012 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.006794, allocations: 8.156 kB / 391.7 MB, free: 6.004 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.83e-05/0.006872, allocations: 23.98 kB / 391.8 MB, free: 5.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.006881, allocations: 7.938 kB / 391.8 MB, free: 5.973 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.58e-05/0.006917, allocations: 11.89 kB / 391.8 MB, free: 5.961 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.006924, allocations: 4 kB / 391.8 MB, free: 5.957 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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): 13 * 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.591e-05/0.007, allocations: 121.8 kB / 391.9 MB, free: 5.828 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.628e-05/0.007016, allocations: 7.953 kB / 391.9 MB, free: 5.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.422e-05/0.007041, allocations: 16.41 kB / 391.9 MB, free: 5.809 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.007042, allocations: 0 / 391.9 MB, free: 5.809 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.007047, allocations: 4 kB / 391.9 MB, free: 5.805 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.007051, allocations: 0 / 391.9 MB, free: 5.805 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003171/0.007368, allocations: 330.3 kB / 392.3 MB, free: 5.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.007369, allocations: 0 / 392.3 MB, free: 5.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.046e-05/0.00744, allocations: 19.98 kB / 392.3 MB, free: 5.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.007442, allocations: 3.938 kB / 392.3 MB, free: 5.406 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.007453, allocations: 4 kB / 392.3 MB, free: 5.402 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.007455, allocations: 0 / 392.3 MB, free: 5.402 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.007457, allocations: 3.938 kB / 392.3 MB, free: 5.398 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.00763, allocations: 180.3 kB / 392.5 MB, free: 5.203 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.396e-05/0.007654, allocations: 24.11 kB / 392.5 MB, free: 5.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.007672, allocations: 4 kB / 392.5 MB, free: 5.176 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.168e-05/0.007713, allocations: 0 / 392.5 MB, free: 5.176 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.729e-05/0.007731, allocations: 7.984 kB / 392.5 MB, free: 5.168 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.007734, allocations: 0 / 392.5 MB, free: 5.168 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.14e-05/0.007796, allocations: 115.2 kB / 392.6 MB, free: 5.055 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007796, allocations: 0 / 392.6 MB, free: 5.055 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000174/0.00797, allocations: 27.89 kB / 392.6 MB, free: 5.027 MB / 362.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 (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.00031/0.00828, allocations: 0.7093 MB / 393.3 MB, free: 4.289 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001122/0.008392, allocations: 51.98 kB / 393.4 MB, free: 4.238 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.008395, allocations: 4 kB / 393.4 MB, free: 4.234 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.125e-05/0.008417, allocations: 19.92 kB / 393.4 MB, free: 4.215 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/0.008813, allocations: 42.27 kB / 393.5 MB, free: 4.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.01, allocations: 1.649 MB / 395.1 MB, free: 2.402 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.516e-05/0.01006, allocations: 93.17 kB / 395.2 MB, free: 2.293 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.661e-05/0.01011, allocations: 12.48 kB / 395.2 MB, free: 2.281 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.505e-05/0.01017, allocations: 36.48 kB / 395.2 MB, free: 2.246 MB / 362.7 MB Notification: Performance of SimCode: time 1.172e-06/0.01017, allocations: 0 / 395.2 MB, free: 2.246 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01628/0.02645, allocations: 3.368 MB / 398.6 MB, free: 15.06 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.825/6.851, allocations: 15.72 kB / 398.6 MB, free: 15.04 MB / 378.7 MB " [Timeout remaining time 653] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.sim & python3 -m fmpy simulate --output-file BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD_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_NonInvertibleConfig_SmallSignal_ON_BWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.740641916170716] Failed to read output from testmodel.py, exit status != 0: 6.933466017246246 6.946280251 6.939231299 Calling exit ...