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.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.001219/0.001219, allocations: 110.8 kB / 17.54 MB, free: 4.641 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.001205/0.001205, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.275/1.275, allocations: 225.6 MB / 249.3 MB, free: 3.352 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.007094/0.007094, allocations: 1.338 MB / 305.8 MB, free: 3.379 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.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 0.001788/0.001788, allocations: 63.89 kB / 429 MB, free: 1.219 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2079, allocations: 52.44 MB / 481.5 MB, free: 29.98 MB / 366.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD): time 0.002183/0.2101, allocations: 1.714 MB / 483.2 MB, free: 28.8 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006894/0.2108, allocations: 0.547 MB / 483.8 MB, free: 28.41 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.738e-05/0.2109, allocations: 7.031 kB / 483.8 MB, free: 28.41 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.211, allocations: 18.52 kB / 483.8 MB, free: 28.39 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.798e-05/0.211, allocations: 34.05 kB / 483.8 MB, free: 28.37 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.2112, allocations: 85.31 kB / 483.9 MB, free: 28.33 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00014/0.2114, allocations: 148 kB / 484 MB, free: 28.26 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.2115, allocations: 39.62 kB / 484.1 MB, free: 28.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.286e-05/0.2115, allocations: 48.67 kB / 484.1 MB, free: 28.21 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.955e-05/0.2116, allocations: 53.02 kB / 484.2 MB, free: 28.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.2116, allocations: 9.062 kB / 484.2 MB, free: 28.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.439e-05/0.2116, allocations: 9.031 kB / 484.2 MB, free: 28.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.812e-05/0.2116, allocations: 26.27 kB / 484.2 MB, free: 28.16 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.862e-05/0.2117, allocations: 57.98 kB / 484.3 MB, free: 28.12 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.2118, allocations: 126.3 kB / 484.4 MB, free: 28.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.2118, allocations: 0 / 484.4 MB, free: 28.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2118, allocations: 0 / 484.4 MB, free: 28.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.2118, allocations: 0 / 484.4 MB, free: 28.07 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003896/0.2122, allocations: 432.8 kB / 484.8 MB, free: 27.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.853e-05/0.2122, allocations: 9 kB / 484.8 MB, free: 27.66 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.173e-05/0.2122, allocations: 49.33 kB / 484.9 MB, free: 27.61 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.705e-05/0.2123, allocations: 14.84 kB / 484.9 MB, free: 27.6 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.2124, allocations: 210.8 kB / 485.1 MB, free: 27.38 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.955e-06/0.2124, allocations: 7.562 kB / 485.1 MB, free: 27.38 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.2124, allocations: 17.06 kB / 485.1 MB, free: 27.37 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.2126, allocations: 103.1 kB / 485.2 MB, free: 27.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.2126, allocations: 0 / 485.2 MB, free: 27.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.2126, allocations: 4 kB / 485.2 MB, free: 27.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.2126, allocations: 7 kB / 485.2 MB, free: 27.29 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.486e-05/0.2127, allocations: 44.88 kB / 485.3 MB, free: 27.28 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004867/0.2132, allocations: 0.4978 MB / 485.8 MB, free: 26.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.507e-05/0.2133, allocations: 65.97 kB / 485.8 MB, free: 26.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.424e-05/0.2133, allocations: 25.25 kB / 485.9 MB, free: 26.78 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.2133, allocations: 0 / 485.9 MB, free: 26.78 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.138e-05/0.2133, allocations: 33.62 kB / 485.9 MB, free: 26.74 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 7.91e-07/0.2133, allocations: 0 / 485.9 MB, free: 26.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.000169/0.2135, allocations: 91.05 kB / 486 MB, free: 26.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.726e-05/0.2135, allocations: 61.7 kB / 486 MB, free: 26.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.157e-05/0.2136, allocations: 159.7 kB / 486.2 MB, free: 26.49 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.225e-06/0.2136, allocations: 29.7 kB / 486.2 MB, free: 26.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.682e-05/0.2136, allocations: 120.4 kB / 486.4 MB, free: 26.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.344e-05/0.2136, allocations: 26.12 kB / 486.4 MB, free: 26.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-05/0.2137, allocations: 26.53 kB / 486.4 MB, free: 26.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 3.995e-05/0.2137, allocations: 325.2 kB / 486.7 MB, free: 25.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.286e-05/0.2138, allocations: 19.55 kB / 486.7 MB, free: 25.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.851e-05/0.2138, allocations: 51.08 kB / 486.8 MB, free: 25.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.219e-05/0.2139, allocations: 64.06 kB / 486.9 MB, free: 25.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2139, allocations: 0 / 486.9 MB, free: 25.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001164/0.214, allocations: 107.5 kB / 487 MB, free: 25.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/0.214, allocations: 6.219 kB / 487 MB, free: 25.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.214, allocations: 4 kB / 487 MB, free: 25.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.214, allocations: 3.062 kB / 487 MB, free: 25.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/0.2142, allocations: 42.11 kB / 487 MB, free: 25.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005625/0.2148, allocations: 1.404 MB / 488.4 MB, free: 24.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.714e-05/0.2148, allocations: 10.89 kB / 488.4 MB, free: 24.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.2149, allocations: 2.969 kB / 488.4 MB, free: 24.34 MB / 366.1 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 5.496e-05/0.2149, allocations: 127.9 kB / 488.6 MB, free: 24.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.2149, allocations: 14.05 kB / 488.6 MB, free: 24.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.969e-05/0.215, allocations: 16.72 kB / 488.6 MB, free: 24.19 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.215, allocations: 3.062 kB / 488.6 MB, free: 24.19 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.42e-07/0.215, allocations: 0 / 488.6 MB, free: 24.19 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-06/0.215, allocations: 0 / 488.6 MB, free: 24.19 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002617/0.2152, allocations: 382.7 kB / 489 MB, free: 23.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2152, allocations: 0 / 489 MB, free: 23.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/0.2154, allocations: 38.45 kB / 489 MB, free: 23.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.2154, allocations: 0 / 489 MB, free: 23.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.2154, allocations: 3.938 kB / 489 MB, free: 23.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000493/0.2159, allocations: 1.401 MB / 490.4 MB, free: 22.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2159, allocations: 0 / 490.4 MB, free: 22.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.216, allocations: 202.8 kB / 490.6 MB, free: 22.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.365e-05/0.2161, allocations: 93.67 kB / 490.7 MB, free: 22.08 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.2161, allocations: 0 / 490.7 MB, free: 22.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.917e-05/0.2161, allocations: 7.781 kB / 490.7 MB, free: 22.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.987e-05/0.2162, allocations: 5.359 kB / 490.7 MB, free: 22.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.2162, allocations: 3.094 kB / 490.7 MB, free: 22.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.803e-05/0.2162, allocations: 125.8 kB / 490.8 MB, free: 21.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2162, allocations: 0 / 490.8 MB, free: 21.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002361/0.2165, allocations: 26.14 kB / 490.9 MB, free: 21.97 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 (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.0002426/0.2167, allocations: 0.7409 MB / 491.6 MB, free: 21.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002024/0.2169, allocations: 66.11 kB / 491.7 MB, free: 21.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2169, allocations: 256 / 491.7 MB, free: 21.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.341e-05/0.217, allocations: 38.33 kB / 491.7 MB, free: 21.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.2174, allocations: 42.5 kB / 491.7 MB, free: 21.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.2186, allocations: 1.717 MB / 493.5 MB, free: 19.76 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.2187, allocations: 0.7159 MB / 494.2 MB, free: 19.05 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.888e-05/0.2187, allocations: 9.016 kB / 494.2 MB, free: 19.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.699e-05/0.2188, allocations: 45.16 kB / 494.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2188, allocations: 0 / 494.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02362/0.2424, allocations: 2.92 MB / 497.1 MB, free: 18.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.036/7.278, allocations: 12.83 kB / 497.2 MB, free: 18.55 MB / 366.1 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 & python3 -m fmpy simulate --output-file BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.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_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: 9.483051511997473]