Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_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.001397/0.001397, allocations: 114.8 kB / 17.54 MB, free: 4.762 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.001351/0.001351, allocations: 185.9 kB / 20.71 MB, free: 1.605 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.309/1.309, allocations: 225.6 MB / 249.3 MB, free: 3.035 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.01442/0.01442, allocations: 1.346 MB / 305.8 MB, free: 3.555 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.SteadyState_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SteadyState_ON_FWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SteadyState_ON_FWD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002254/0.002254, allocations: 67.88 kB / 428.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2263, allocations: 52.44 MB / 480.7 MB, free: 29.46 MB / 366.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD): time 0.002084/0.2284, allocations: 1.697 MB / 482.4 MB, free: 28.29 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008227/0.2293, allocations: 0.5468 MB / 483 MB, free: 27.9 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.988e-05/0.2293, allocations: 3.938 kB / 483 MB, free: 27.9 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001362/0.2295, allocations: 17.95 kB / 483 MB, free: 27.89 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.026e-05/0.2295, allocations: 33.19 kB / 483 MB, free: 27.86 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000242/0.2298, allocations: 77.25 kB / 483.1 MB, free: 27.83 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.23, allocations: 126.5 kB / 483.2 MB, free: 27.77 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.2301, allocations: 36.03 kB / 483.3 MB, free: 27.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.577e-05/0.2301, allocations: 46.56 kB / 483.3 MB, free: 27.73 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.933e-05/0.2302, allocations: 51.25 kB / 483.3 MB, free: 27.7 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.2302, allocations: 9.594 kB / 483.4 MB, free: 27.7 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.029e-05/0.2303, allocations: 13.44 kB / 483.4 MB, free: 27.69 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.319e-05/0.2303, allocations: 18.31 kB / 483.4 MB, free: 27.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.135e-05/0.2303, allocations: 54.84 kB / 483.4 MB, free: 27.64 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.2305, allocations: 121.4 kB / 483.6 MB, free: 27.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2305, allocations: 3.938 kB / 483.6 MB, free: 27.58 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2305, allocations: 0 / 483.6 MB, free: 27.58 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.2305, allocations: 0 / 483.6 MB, free: 27.58 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.000474/0.231, allocations: 427.6 kB / 484 MB, free: 27.17 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.231, allocations: 9.688 kB / 484 MB, free: 27.17 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.902e-05/0.231, allocations: 38.25 kB / 484 MB, free: 27.13 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.641e-05/0.2311, allocations: 15.25 kB / 484 MB, free: 27.12 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.2313, allocations: 206.8 kB / 484.2 MB, free: 26.9 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.2313, allocations: 7.969 kB / 484.3 MB, free: 26.9 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.891e-05/0.2313, allocations: 6.656 kB / 484.3 MB, free: 26.9 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.2315, allocations: 107.8 kB / 484.4 MB, free: 26.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.2315, allocations: 0 / 484.4 MB, free: 26.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.2315, allocations: 7.156 kB / 484.4 MB, free: 26.81 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.2315, allocations: 0 / 484.4 MB, free: 26.81 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.304e-05/0.2316, allocations: 34.53 kB / 484.4 MB, free: 26.8 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006058/0.2322, allocations: 0.5469 MB / 485 MB, free: 26.3 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.2323, allocations: 52.81 kB / 485 MB, free: 26.26 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.115e-05/0.2323, allocations: 18.28 kB / 485 MB, free: 26.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.544e-06/0.2324, allocations: 3.281 kB / 485 MB, free: 26.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.078e-05/0.2324, allocations: 30.56 kB / 485.1 MB, free: 26.21 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.2324, allocations: 0 / 485.1 MB, free: 26.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.000204/0.2326, allocations: 85.45 kB / 485.1 MB, free: 26.15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.815e-05/0.2326, allocations: 55.34 kB / 485.2 MB, free: 26.08 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.2327, allocations: 183.7 kB / 485.4 MB, free: 25.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.426e-06/0.2327, allocations: 25.7 kB / 485.4 MB, free: 25.92 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.76e-05/0.2328, allocations: 111.3 kB / 485.5 MB, free: 25.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.2328, allocations: 20.64 kB / 485.5 MB, free: 25.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.326e-05/0.2329, allocations: 33.94 kB / 485.6 MB, free: 25.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.242e-05/0.2329, allocations: 325.1 kB / 485.9 MB, free: 25.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.472e-05/0.233, allocations: 27.55 kB / 485.9 MB, free: 25.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.097e-05/0.233, allocations: 49.06 kB / 486 MB, free: 25.4 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.2331, allocations: 75.48 kB / 486 MB, free: 25.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2331, allocations: 0 / 486 MB, free: 25.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001966/0.2333, allocations: 120 kB / 486.1 MB, free: 25.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.2333, allocations: 10.09 kB / 486.2 MB, free: 25.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.2333, allocations: 0 / 486.2 MB, free: 25.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.2333, allocations: 2.781 kB / 486.2 MB, free: 25.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.2335, allocations: 29.97 kB / 486.2 MB, free: 25.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.2335, allocations: 7.062 kB / 486.2 MB, free: 25.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.422e-05/0.2336, allocations: 14.91 kB / 486.2 MB, free: 25.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.2336, allocations: 7 kB / 486.2 MB, free: 25.25 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 (15): * Single equations (assignments): 15 * 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 6.503e-05/0.2337, allocations: 119.9 kB / 486.3 MB, free: 25.13 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.228e-05/0.2337, allocations: 14.05 kB / 486.3 MB, free: 25.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.959e-05/0.2337, allocations: 11.97 kB / 486.4 MB, free: 25.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.2337, allocations: 2.969 kB / 486.4 MB, free: 25.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2338, allocations: 7.875 kB / 486.4 MB, free: 25.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.2338, allocations: 4 kB / 486.4 MB, free: 25.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003096/0.2341, allocations: 347.7 kB / 486.7 MB, free: 24.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2341, allocations: 0 / 486.7 MB, free: 24.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/0.2343, allocations: 32.75 kB / 486.7 MB, free: 24.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.2343, allocations: 0 / 486.7 MB, free: 24.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.2343, allocations: 3 kB / 486.7 MB, free: 24.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006913/0.235, allocations: 1.396 MB / 488.1 MB, free: 23.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.235, allocations: 3.938 kB / 488.1 MB, free: 23.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.2351, allocations: 186.1 kB / 488.3 MB, free: 23.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.036e-05/0.2352, allocations: 95.44 kB / 488.4 MB, free: 23.01 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.2352, allocations: 3 kB / 488.4 MB, free: 23.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.979e-05/0.2353, allocations: 3.938 kB / 488.4 MB, free: 23.01 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.118e-05/0.2353, allocations: 3 kB / 488.4 MB, free: 23.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.2353, allocations: 0 / 488.4 MB, free: 23.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.075e-05/0.2354, allocations: 132.5 kB / 488.6 MB, free: 22.92 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2354, allocations: 0 / 488.6 MB, free: 22.92 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000369/0.2357, allocations: 22 kB / 488.6 MB, free: 22.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 (4): * Single equations (assignments): 3 * 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.0002902/0.236, allocations: 0.7209 MB / 489.3 MB, free: 22.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001411/0.2362, allocations: 53.55 kB / 489.4 MB, free: 22.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.2362, allocations: 256 / 489.4 MB, free: 22.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.2363, allocations: 30.62 kB / 489.4 MB, free: 22.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005056/0.2368, allocations: 43.28 kB / 489.4 MB, free: 22.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.2384, allocations: 1.737 MB / 491.2 MB, free: 20.72 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001171/0.2385, allocations: 0.7107 MB / 491.9 MB, free: 20.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.097e-05/0.2386, allocations: 14.05 kB / 491.9 MB, free: 20.01 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.909e-05/0.2387, allocations: 32.91 kB / 491.9 MB, free: 19.99 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2387, allocations: 4 kB / 491.9 MB, free: 19.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02542/0.2641, allocations: 2.819 MB / 494.7 MB, free: 19.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.06/7.324, allocations: 18.89 kB / 494.8 MB, free: 19.5 MB / 366.1 MB " [Timeout remaining time 653] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.sim & python3 -m fmpy simulate --output-file BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD_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_SteadyState_ON_FWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.549121871998068]