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.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.001386/0.001386, allocations: 108.2 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.001399/0.001399, allocations: 186.7 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.289/1.289, allocations: 225.6 MB / 249.3 MB, free: 3.316 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.007042/0.007042, allocations: 1.345 MB / 305.8 MB, free: 3.523 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.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 0.002187/0.002187, allocations: 63.89 kB / 428.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2086, allocations: 52.44 MB / 480.7 MB, free: 29.47 MB / 366.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD): time 0.002369/0.2109, allocations: 2.003 MB / 482.7 MB, free: 28.09 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006915/0.2116, allocations: 0.5649 MB / 483.3 MB, free: 27.69 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.635e-05/0.2117, allocations: 3 kB / 483.3 MB, free: 27.69 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.2118, allocations: 26.03 kB / 483.3 MB, free: 27.67 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.771e-05/0.2119, allocations: 37.48 kB / 483.4 MB, free: 27.64 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002101/0.2121, allocations: 103.8 kB / 483.5 MB, free: 27.59 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.2122, allocations: 177.2 kB / 483.6 MB, free: 27.51 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.2124, allocations: 46.33 kB / 483.7 MB, free: 27.48 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.699e-05/0.2124, allocations: 66.81 kB / 483.8 MB, free: 27.45 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.876e-05/0.2125, allocations: 60.06 kB / 483.8 MB, free: 27.42 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.2125, allocations: 12.38 kB / 483.8 MB, free: 27.42 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.935e-05/0.2125, allocations: 15.97 kB / 483.8 MB, free: 27.41 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.123e-05/0.2126, allocations: 30.03 kB / 483.9 MB, free: 27.39 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.556e-05/0.2126, allocations: 73.56 kB / 483.9 MB, free: 27.34 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.2127, allocations: 155.9 kB / 484.1 MB, free: 27.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2127, allocations: 0 / 484.1 MB, free: 27.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2127, allocations: 0 / 484.1 MB, free: 27.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.2128, allocations: 0 / 484.1 MB, free: 27.27 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004498/0.2132, allocations: 474.6 kB / 484.6 MB, free: 26.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.828e-05/0.2132, allocations: 8.938 kB / 484.6 MB, free: 26.84 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.723e-05/0.2133, allocations: 45.31 kB / 484.6 MB, free: 26.79 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.116e-05/0.2133, allocations: 18.22 kB / 484.6 MB, free: 26.78 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.2135, allocations: 232.9 kB / 484.9 MB, free: 26.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.2135, allocations: 10.62 kB / 484.9 MB, free: 26.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/0.2135, allocations: 13.53 kB / 484.9 MB, free: 26.54 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.2137, allocations: 131 kB / 485 MB, free: 26.46 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.2137, allocations: 3.938 kB / 485 MB, free: 26.45 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.2137, allocations: 4 kB / 485 MB, free: 26.45 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.2137, allocations: 3 kB / 485 MB, free: 26.45 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.2138, allocations: 70.55 kB / 485.1 MB, free: 26.43 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000547/0.2144, allocations: 0.5319 MB / 485.6 MB, free: 25.99 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001483/0.2145, allocations: 81.61 kB / 485.7 MB, free: 25.94 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.003e-05/0.2146, allocations: 41.5 kB / 485.7 MB, free: 25.92 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.2146, allocations: 6.938 kB / 485.7 MB, free: 25.92 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.108e-05/0.2146, allocations: 30.56 kB / 485.8 MB, free: 25.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.2146, allocations: 0 / 485.8 MB, free: 25.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002726/0.2149, allocations: 125.9 kB / 485.9 MB, free: 25.81 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.136e-05/0.2149, allocations: 54.38 kB / 485.9 MB, free: 25.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.215, allocations: 186.2 kB / 486.1 MB, free: 25.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.215, allocations: 33.64 kB / 486.2 MB, free: 25.58 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.238e-05/0.2151, allocations: 140.2 kB / 486.3 MB, free: 25.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/0.2151, allocations: 34.16 kB / 486.3 MB, free: 25.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-05/0.2152, allocations: 37.83 kB / 486.4 MB, free: 25.4 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.811e-05/0.2152, allocations: 324.4 kB / 486.7 MB, free: 25.08 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.413e-05/0.2153, allocations: 35.89 kB / 486.7 MB, free: 25.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.852e-05/0.2153, allocations: 65.53 kB / 486.8 MB, free: 25.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.2155, allocations: 101 kB / 486.9 MB, free: 24.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2155, allocations: 0 / 486.9 MB, free: 24.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001869/0.2157, allocations: 150 kB / 487 MB, free: 24.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.838e-06/0.2157, allocations: 10.12 kB / 487 MB, free: 24.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.2157, allocations: 0 / 487 MB, free: 24.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.2157, allocations: 2.906 kB / 487 MB, free: 24.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.2158, allocations: 32.14 kB / 487.1 MB, free: 24.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.2158, allocations: 6.281 kB / 487.1 MB, free: 24.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.664e-05/0.2159, allocations: 6.984 kB / 487.1 MB, free: 24.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.2159, allocations: 6.969 kB / 487.1 MB, free: 24.88 MB / 366.1 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 5.755e-05/0.216, allocations: 134.8 kB / 487.2 MB, free: 24.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.216, allocations: 21.91 kB / 487.2 MB, free: 24.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.138e-05/0.216, allocations: 20.03 kB / 487.3 MB, free: 24.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.216, allocations: 0 / 487.3 MB, free: 24.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.216, allocations: 0 / 487.3 MB, free: 24.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.216, allocations: 384 / 487.3 MB, free: 24.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003314/0.2164, allocations: 422.4 kB / 487.7 MB, free: 24.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.2164, allocations: 3.281 kB / 487.7 MB, free: 24.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002059/0.2166, allocations: 30.92 kB / 487.7 MB, free: 24.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.2166, allocations: 7.938 kB / 487.7 MB, free: 24.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.2166, allocations: 0 / 487.7 MB, free: 24.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005625/0.2171, allocations: 1.401 MB / 489.1 MB, free: 22.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2171, allocations: 0 / 489.1 MB, free: 22.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.2174, allocations: 247.4 kB / 489.4 MB, free: 22.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.726e-05/0.2174, allocations: 91.36 kB / 489.5 MB, free: 22.6 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.2174, allocations: 11.19 kB / 489.5 MB, free: 22.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.336e-05/0.2175, allocations: 7.312 kB / 489.5 MB, free: 22.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.174e-05/0.2175, allocations: 6.328 kB / 489.5 MB, free: 22.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.2175, allocations: 0 / 489.5 MB, free: 22.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.505e-05/0.2176, allocations: 144.9 kB / 489.6 MB, free: 22.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2176, allocations: 0 / 489.6 MB, free: 22.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002341/0.2178, allocations: 35.42 kB / 489.7 MB, free: 22.47 MB / 366.1 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.0003336/0.2182, allocations: 0.7805 MB / 490.4 MB, free: 21.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001725/0.2183, allocations: 83.64 kB / 490.5 MB, free: 21.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.2183, allocations: 0 / 490.5 MB, free: 21.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.2185, allocations: 50.59 kB / 490.6 MB, free: 21.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.2188, allocations: 51.34 kB / 490.6 MB, free: 21.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.2203, allocations: 1.937 MB / 492.6 MB, free: 20.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.984e-05/0.2204, allocations: 0.7215 MB / 493.3 MB, free: 19.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.372e-05/0.2205, allocations: 14.94 kB / 493.3 MB, free: 19.47 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.255e-05/0.2205, allocations: 49.58 kB / 493.3 MB, free: 19.43 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2205, allocations: 0 / 493.3 MB, free: 19.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02462/0.2451, allocations: 3.471 MB / 496.8 MB, free: 18.92 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.13/7.375, allocations: 8.078 kB / 496.8 MB, free: 18.92 MB / 366.1 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: 9.570896725010243]