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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 106.8 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 225.6 MB / 249.3 MB, free: 3.324 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.006995/0.006995, allocations: 1.341 MB / 305.8 MB, free: 3.375 MB / 238.1 MB " [Timeout remaining time 180] Using package BoundaryInitBlocks with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld 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 0.001772/0.001772, allocations: 59.91 kB / 429.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.2066, allocations: 52.45 MB / 481.5 MB, free: 29.88 MB / 366.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD): time 0.002032/0.2087, allocations: 1.688 MB / 483.2 MB, free: 28.71 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006061/0.2093, allocations: 0.5313 MB / 483.7 MB, free: 28.34 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.463e-05/0.2093, allocations: 2.969 kB / 483.7 MB, free: 28.34 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001117/0.2095, allocations: 15.19 kB / 483.7 MB, free: 28.32 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.991e-05/0.2095, allocations: 21.97 kB / 483.8 MB, free: 28.31 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001917/0.2097, allocations: 86.69 kB / 483.8 MB, free: 28.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.2098, allocations: 128.5 kB / 484 MB, free: 28.21 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.83e-05/0.2099, allocations: 36.17 kB / 484 MB, free: 28.19 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.662e-05/0.2099, allocations: 34.02 kB / 484 MB, free: 28.17 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.824e-05/0.21, allocations: 43.25 kB / 484.1 MB, free: 28.14 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.21, allocations: 12.72 kB / 484.1 MB, free: 28.14 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.216e-05/0.21, allocations: 12.97 kB / 484.1 MB, free: 28.14 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.567e-05/0.21, allocations: 18.56 kB / 484.1 MB, free: 28.12 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.652e-05/0.2101, allocations: 47.22 kB / 484.2 MB, free: 28.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.2102, allocations: 95.53 kB / 484.3 MB, free: 28.05 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.2102, allocations: 4 kB / 484.3 MB, free: 28.05 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2102, allocations: 3 kB / 484.3 MB, free: 28.05 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.2102, allocations: 0 / 484.3 MB, free: 28.05 MB / 366.1 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.0003409/0.2105, allocations: 420.7 kB / 484.7 MB, free: 27.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.711e-05/0.2106, allocations: 16.92 kB / 484.7 MB, free: 27.63 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.333e-05/0.2106, allocations: 41.19 kB / 484.7 MB, free: 27.59 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.563e-05/0.2106, allocations: 14.84 kB / 484.7 MB, free: 27.58 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.2108, allocations: 199.5 kB / 484.9 MB, free: 27.37 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.2108, allocations: 10.41 kB / 485 MB, free: 27.36 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.2108, allocations: 13.94 kB / 485 MB, free: 27.36 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.2109, allocations: 95.61 kB / 485.1 MB, free: 27.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.2109, allocations: 0 / 485.1 MB, free: 27.29 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.2109, allocations: 8 kB / 485.1 MB, free: 27.28 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.2109, allocations: 3.031 kB / 485.1 MB, free: 27.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.704e-05/0.211, allocations: 36.22 kB / 485.1 MB, free: 27.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004086/0.2114, allocations: 471.9 kB / 485.6 MB, free: 26.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.2115, allocations: 57.95 kB / 485.6 MB, free: 26.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.021e-05/0.2116, allocations: 21.34 kB / 485.6 MB, free: 26.81 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.969e-06/0.2116, allocations: 3.938 kB / 485.6 MB, free: 26.8 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.536e-06/0.2116, allocations: 30.56 kB / 485.7 MB, free: 26.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.2116, allocations: 0 / 485.7 MB, free: 26.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001395/0.2117, allocations: 75.95 kB / 485.8 MB, free: 26.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.169e-05/0.2118, allocations: 55.41 kB / 485.8 MB, free: 26.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.698e-05/0.2118, allocations: 162.5 kB / 486 MB, free: 26.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.663e-06/0.2118, allocations: 28.55 kB / 486 MB, free: 26.49 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.269e-05/0.2119, allocations: 117.7 kB / 486.1 MB, free: 26.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.133e-05/0.2119, allocations: 27.3 kB / 486.1 MB, free: 26.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-05/0.2119, allocations: 29.81 kB / 486.2 MB, free: 26.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 3.208e-05/0.2119, allocations: 322.2 kB / 486.5 MB, free: 26.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.997e-05/0.212, allocations: 19.59 kB / 486.5 MB, free: 26.01 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.794e-05/0.212, allocations: 68.42 kB / 486.6 MB, free: 25.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.133e-05/0.2121, allocations: 89 kB / 486.7 MB, free: 25.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.2121, allocations: 0 / 486.7 MB, free: 25.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001199/0.2122, allocations: 113.4 kB / 486.8 MB, free: 25.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/0.2122, allocations: 5.875 kB / 486.8 MB, free: 25.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.2122, allocations: 3.281 kB / 486.8 MB, free: 25.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.2122, allocations: 6.875 kB / 486.8 MB, free: 25.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.646e-05/0.2123, allocations: 24.42 kB / 486.8 MB, free: 25.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.2123, allocations: 7.281 kB / 486.8 MB, free: 25.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.677e-05/0.2124, allocations: 15.02 kB / 486.8 MB, free: 25.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.2124, allocations: 3.062 kB / 486.8 MB, free: 25.77 MB / 366.1 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 4.86e-05/0.2124, allocations: 131.4 kB / 487 MB, free: 25.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/0.2125, allocations: 10.95 kB / 487 MB, free: 25.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.13e-05/0.2125, allocations: 15.53 kB / 487 MB, free: 25.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.2125, allocations: 0 / 487 MB, free: 25.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.2125, allocations: 3.156 kB / 487 MB, free: 25.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.2125, allocations: 0 / 487 MB, free: 25.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002278/0.2127, allocations: 355.6 kB / 487.3 MB, free: 25.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2127, allocations: 0 / 487.3 MB, free: 25.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.557e-05/0.2128, allocations: 21.8 kB / 487.4 MB, free: 25.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2128, allocations: 3.125 kB / 487.4 MB, free: 25.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.2128, allocations: 4 kB / 487.4 MB, free: 25.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2128, allocations: 0 / 487.4 MB, free: 25.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2128, allocations: 3.984 kB / 487.4 MB, free: 25.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.2129, allocations: 186.3 kB / 487.5 MB, free: 25.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.106e-05/0.213, allocations: 95.45 kB / 487.6 MB, free: 25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.213, allocations: 7.062 kB / 487.6 MB, free: 25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.944e-05/0.213, allocations: 0 / 487.6 MB, free: 25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.114e-05/0.213, allocations: 10.42 kB / 487.7 MB, free: 24.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.2131, allocations: 0 / 487.7 MB, free: 24.99 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.689e-05/0.2131, allocations: 115.1 kB / 487.8 MB, free: 24.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2131, allocations: 0 / 487.8 MB, free: 24.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002238/0.2133, allocations: 15.12 kB / 487.8 MB, free: 24.91 MB / 366.1 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.0001993/0.2135, allocations: 0.7241 MB / 488.5 MB, free: 24.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001007/0.2136, allocations: 50.44 kB / 488.6 MB, free: 24.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2136, allocations: 4.375 kB / 488.6 MB, free: 24.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.054e-05/0.2136, allocations: 16.19 kB / 488.6 MB, free: 24.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.214, allocations: 36.11 kB / 488.6 MB, free: 24.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.215, allocations: 1.695 MB / 490.3 MB, free: 22.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.147e-05/0.2151, allocations: 0.7074 MB / 491 MB, free: 21.97 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.763e-05/0.2151, allocations: 10.17 kB / 491 MB, free: 21.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.197e-05/0.2152, allocations: 30.02 kB / 491.1 MB, free: 21.95 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2152, allocations: 0 / 491.1 MB, free: 21.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02315/0.2383, allocations: 2.58 MB / 493.6 MB, free: 21.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.074/7.312, allocations: 7.922 kB / 493.6 MB, free: 21.48 MB / 366.1 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: 9.508355635000044]