Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_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.001161/0.001161, allocations: 112.2 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.001217/0.001217, allocations: 190.6 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.281/1.281, allocations: 225.6 MB / 249.3 MB, free: 3.164 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.006947/0.006947, allocations: 1.346 MB / 305.8 MB, free: 3.535 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.OL_Simulation_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_BWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_BWD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 63.91 kB / 428.3 MB, free: 1.918 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.1983, allocations: 52.46 MB / 480.8 MB, free: 29.48 MB / 366.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD): time 0.002211/0.2005, allocations: 1.804 MB / 482.6 MB, free: 28.24 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.000639/0.2012, allocations: 0.5599 MB / 483.1 MB, free: 27.85 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.808e-05/0.2012, allocations: 0 / 483.1 MB, free: 27.85 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.2014, allocations: 18.27 kB / 483.1 MB, free: 27.84 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.368e-05/0.2014, allocations: 33.61 kB / 483.2 MB, free: 27.81 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000203/0.2016, allocations: 93.23 kB / 483.3 MB, free: 27.77 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001569/0.2018, allocations: 176.9 kB / 483.4 MB, free: 27.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.2019, allocations: 31.02 kB / 483.5 MB, free: 27.67 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.62e-05/0.2019, allocations: 59.55 kB / 483.5 MB, free: 27.64 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.031e-05/0.202, allocations: 53.8 kB / 483.6 MB, free: 27.61 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.202, allocations: 11.88 kB / 483.6 MB, free: 27.61 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.65e-05/0.2021, allocations: 13.28 kB / 483.6 MB, free: 27.61 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.29e-05/0.2021, allocations: 26.36 kB / 483.6 MB, free: 27.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.466e-05/0.2021, allocations: 61.34 kB / 483.7 MB, free: 27.55 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.2023, allocations: 127.7 kB / 483.8 MB, free: 27.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2023, allocations: 0 / 483.8 MB, free: 27.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2023, allocations: 0 / 483.8 MB, free: 27.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.2023, allocations: 4 kB / 483.8 MB, free: 27.49 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.0004998/0.2028, allocations: 459.2 kB / 484.3 MB, free: 27.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.2028, allocations: 9.062 kB / 484.3 MB, free: 27.07 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.775e-05/0.2028, allocations: 37.75 kB / 484.3 MB, free: 27.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.222e-05/0.2029, allocations: 18.22 kB / 484.3 MB, free: 27.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.203, allocations: 217.1 kB / 484.5 MB, free: 26.79 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.203, allocations: 14.41 kB / 484.6 MB, free: 26.78 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.203, allocations: 18.44 kB / 484.6 MB, free: 26.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.2033, allocations: 119.3 kB / 484.7 MB, free: 26.69 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.2033, allocations: 0 / 484.7 MB, free: 26.69 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.2033, allocations: 0 / 484.7 MB, free: 26.69 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.2033, allocations: 3 kB / 484.7 MB, free: 26.69 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000194/0.2035, allocations: 73.75 kB / 484.8 MB, free: 26.67 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005596/0.204, allocations: 0.4993 MB / 485.3 MB, free: 26.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.2042, allocations: 70.59 kB / 485.3 MB, free: 26.21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.288e-05/0.2043, allocations: 34.39 kB / 485.4 MB, free: 26.19 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.2043, allocations: 0 / 485.4 MB, free: 26.19 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.141e-05/0.2043, allocations: 38.03 kB / 485.4 MB, free: 26.15 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 7.81e-07/0.2043, allocations: 0 / 485.4 MB, free: 26.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003435/0.2046, allocations: 136.5 kB / 485.5 MB, free: 26.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.758e-05/0.2047, allocations: 55.41 kB / 485.6 MB, free: 26.01 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.913e-05/0.2048, allocations: 168.2 kB / 485.8 MB, free: 25.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.686e-06/0.2048, allocations: 28.64 kB / 485.8 MB, free: 25.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.209e-05/0.2048, allocations: 120.8 kB / 485.9 MB, free: 25.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.387e-05/0.2048, allocations: 18.83 kB / 485.9 MB, free: 25.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.782e-05/0.2049, allocations: 30.31 kB / 486 MB, free: 25.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 3.871e-05/0.2049, allocations: 321.1 kB / 486.3 MB, free: 25.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.596e-05/0.205, allocations: 36.88 kB / 486.3 MB, free: 25.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.763e-05/0.2051, allocations: 67.56 kB / 486.4 MB, free: 25.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.2053, allocations: 108.3 kB / 486.5 MB, free: 25.26 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2053, allocations: 0 / 486.5 MB, free: 25.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002415/0.2055, allocations: 139.1 kB / 486.6 MB, free: 25.19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.2055, allocations: 12.09 kB / 486.6 MB, free: 25.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.2055, allocations: 4.125 kB / 486.6 MB, free: 25.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.2056, allocations: 3.031 kB / 486.6 MB, free: 25.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.2058, allocations: 34.42 kB / 486.7 MB, free: 25.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005635/0.2063, allocations: 1.409 MB / 488.1 MB, free: 23.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.081e-05/0.2064, allocations: 17.2 kB / 488.1 MB, free: 23.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.2064, allocations: 6.125 kB / 488.1 MB, free: 23.71 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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): 12 * 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.545e-05/0.2065, allocations: 128.9 kB / 488.2 MB, free: 23.58 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/0.2065, allocations: 13.94 kB / 488.2 MB, free: 23.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.006e-05/0.2065, allocations: 12.41 kB / 488.2 MB, free: 23.56 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.2065, allocations: 0 / 488.2 MB, free: 23.56 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.21e-07/0.2065, allocations: 6.719 kB / 488.2 MB, free: 23.56 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.2065, allocations: 3.469 kB / 488.3 MB, free: 23.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003698/0.2069, allocations: 402.3 kB / 488.6 MB, free: 23.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.2069, allocations: 4.344 kB / 488.6 MB, free: 23.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/0.2071, allocations: 28.53 kB / 488.7 MB, free: 23.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.2071, allocations: 7.156 kB / 488.7 MB, free: 23.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.2071, allocations: 0 / 488.7 MB, free: 23.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005164/0.2076, allocations: 1.4 MB / 490.1 MB, free: 21.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2076, allocations: 3.562 kB / 490.1 MB, free: 21.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002979/0.2079, allocations: 244.9 kB / 490.3 MB, free: 21.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.721e-05/0.208, allocations: 95.44 kB / 490.4 MB, free: 21.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.208, allocations: 0 / 490.4 MB, free: 21.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.604e-05/0.2081, allocations: 9.625 kB / 490.4 MB, free: 21.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/0.2081, allocations: 10.48 kB / 490.4 MB, free: 21.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-06/0.2081, allocations: 64 / 490.4 MB, free: 21.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.02e-05/0.2082, allocations: 126.8 kB / 490.6 MB, free: 21.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2082, allocations: 0 / 490.6 MB, free: 21.35 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002403/0.2084, allocations: 22.72 kB / 490.6 MB, free: 21.34 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.0004359/0.2089, allocations: 0.7901 MB / 491.4 MB, free: 20.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003083/0.2092, allocations: 87.69 kB / 491.5 MB, free: 20.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2092, allocations: 0 / 491.5 MB, free: 20.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.2093, allocations: 46.67 kB / 491.5 MB, free: 20.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.2097, allocations: 41.09 kB / 491.5 MB, free: 20.58 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.2112, allocations: 1.837 MB / 493.4 MB, free: 19.08 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001061/0.2113, allocations: 0.7138 MB / 494.1 MB, free: 18.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.116e-05/0.2114, allocations: 14.23 kB / 494.1 MB, free: 18.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.067e-05/0.2114, allocations: 42.42 kB / 494.2 MB, free: 18.34 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2114, allocations: 0 / 494.2 MB, free: 18.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02404/0.2355, allocations: 3.159 MB / 497.3 MB, free: 17.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.071/7.307, allocations: 4.984 kB / 497.3 MB, free: 17.84 MB / 366.1 MB " [Timeout remaining time 653] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.sim & python3 -m fmpy simulate --output-file BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_BWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.484279002004769]