Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_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.001207/0.001207, allocations: 109 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.001207/0.001207, 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.298/1.298, allocations: 225.6 MB / 249.3 MB, free: 3.176 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.007241/0.007241, allocations: 1.348 MB / 305.8 MB, free: 3.484 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_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_FWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_FWD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 63.89 kB / 428.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2047, allocations: 52.45 MB / 480.7 MB, free: 29.44 MB / 366.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD): time 0.002127/0.2068, allocations: 1.794 MB / 482.5 MB, free: 28.2 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006583/0.2074, allocations: 0.5565 MB / 483.1 MB, free: 27.81 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.671e-05/0.2075, allocations: 6.719 kB / 483.1 MB, free: 27.8 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.2076, allocations: 21.2 kB / 483.1 MB, free: 27.79 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.203e-05/0.2077, allocations: 30.08 kB / 483.2 MB, free: 27.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002057/0.2079, allocations: 97.52 kB / 483.2 MB, free: 27.72 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.208, allocations: 156.4 kB / 483.4 MB, free: 27.65 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.2081, allocations: 34.86 kB / 483.4 MB, free: 27.63 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.1e-05/0.2082, allocations: 56.09 kB / 483.5 MB, free: 27.61 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.227e-05/0.2083, allocations: 57.73 kB / 483.5 MB, free: 27.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.2083, allocations: 9.344 kB / 483.6 MB, free: 27.57 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.588e-05/0.2083, allocations: 12.69 kB / 483.6 MB, free: 27.57 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.209e-05/0.2083, allocations: 25.98 kB / 483.6 MB, free: 27.55 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.648e-05/0.2084, allocations: 62.94 kB / 483.7 MB, free: 27.51 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.2085, allocations: 131.3 kB / 483.8 MB, free: 27.46 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2085, allocations: 4 kB / 483.8 MB, free: 27.45 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2085, allocations: 0 / 483.8 MB, free: 27.45 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.2085, allocations: 0 / 483.8 MB, free: 27.45 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.0004531/0.2089, allocations: 457.1 kB / 484.2 MB, free: 27.03 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.747e-05/0.209, allocations: 9.594 kB / 484.2 MB, free: 27.03 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.513e-05/0.209, allocations: 41.11 kB / 484.3 MB, free: 26.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.87e-05/0.209, allocations: 15.34 kB / 484.3 MB, free: 26.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.2092, allocations: 211.1 kB / 484.5 MB, free: 26.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.2092, allocations: 14.38 kB / 484.5 MB, free: 26.74 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.2092, allocations: 10.72 kB / 484.5 MB, free: 26.74 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.2094, allocations: 129.2 kB / 484.7 MB, free: 26.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.2094, allocations: 0 / 484.7 MB, free: 26.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.2094, allocations: 0 / 484.7 MB, free: 26.66 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.2094, allocations: 3.219 kB / 484.7 MB, free: 26.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000185/0.2096, allocations: 67.44 kB / 484.7 MB, free: 26.64 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000531/0.2101, allocations: 0.5078 MB / 485.2 MB, free: 26.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.2103, allocations: 73.77 kB / 485.3 MB, free: 26.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.29e-05/0.2104, allocations: 31.67 kB / 485.3 MB, free: 26.15 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.2104, allocations: 3.188 kB / 485.3 MB, free: 26.15 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.349e-05/0.2104, allocations: 34.56 kB / 485.4 MB, free: 26.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.2104, allocations: 0 / 485.4 MB, free: 26.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003497/0.2108, allocations: 133.8 kB / 485.5 MB, free: 26.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.2108, allocations: 58.88 kB / 485.6 MB, free: 25.97 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.417e-05/0.2109, allocations: 168 kB / 485.7 MB, free: 25.85 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.155e-06/0.2109, allocations: 25.7 kB / 485.7 MB, free: 25.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.904e-05/0.2109, allocations: 124.5 kB / 485.9 MB, free: 25.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.391e-05/0.2109, allocations: 18.86 kB / 485.9 MB, free: 25.69 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-05/0.211, allocations: 29.98 kB / 485.9 MB, free: 25.67 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 3.552e-05/0.211, allocations: 325.3 kB / 486.2 MB, free: 25.35 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.783e-05/0.2111, allocations: 32.94 kB / 486.3 MB, free: 25.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.369e-05/0.2112, allocations: 53.94 kB / 486.3 MB, free: 25.31 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/0.2114, allocations: 97.08 kB / 486.4 MB, free: 25.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2114, allocations: 0 / 486.4 MB, free: 25.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002389/0.2116, allocations: 137.2 kB / 486.5 MB, free: 25.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.2116, allocations: 9.875 kB / 486.6 MB, free: 25.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.2116, allocations: 0 / 486.6 MB, free: 25.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.2117, allocations: 2.875 kB / 486.6 MB, free: 25.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.2118, allocations: 30.34 kB / 486.6 MB, free: 25.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.2118, allocations: 8 kB / 486.6 MB, free: 25.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.294e-05/0.2119, allocations: 18.23 kB / 486.6 MB, free: 25.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.2119, allocations: 2.938 kB / 486.6 MB, free: 25.16 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 (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 5.486e-05/0.2119, allocations: 123.3 kB / 486.7 MB, free: 25.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/0.212, allocations: 14.14 kB / 486.8 MB, free: 25.03 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.604e-05/0.212, allocations: 12.41 kB / 486.8 MB, free: 25.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.212, allocations: 0 / 486.8 MB, free: 25.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.212, allocations: 0 / 486.8 MB, free: 25.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.212, allocations: 7.516 kB / 486.8 MB, free: 25.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003798/0.2124, allocations: 404.3 kB / 487.2 MB, free: 24.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2124, allocations: 0 / 487.2 MB, free: 24.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/0.2126, allocations: 30.88 kB / 487.2 MB, free: 24.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.2126, allocations: 0 / 487.2 MB, free: 24.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.148e-06/0.2126, allocations: 320 / 487.2 MB, free: 24.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005881/0.2132, allocations: 1.409 MB / 488.6 MB, free: 23.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.2132, allocations: 3.984 kB / 488.6 MB, free: 23.19 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003044/0.2135, allocations: 239.4 kB / 488.8 MB, free: 23.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.694e-05/0.2135, allocations: 95.62 kB / 488.9 MB, free: 22.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.2136, allocations: 7.375 kB / 488.9 MB, free: 22.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.869e-05/0.2137, allocations: 14.67 kB / 489 MB, free: 22.9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/0.2137, allocations: 11.2 kB / 489 MB, free: 22.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.2137, allocations: 3.156 kB / 489 MB, free: 22.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.924e-05/0.2138, allocations: 122.2 kB / 489.1 MB, free: 22.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2138, allocations: 0 / 489.1 MB, free: 22.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002307/0.214, allocations: 29.27 kB / 489.1 MB, free: 22.8 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.0004421/0.2144, allocations: 0.7731 MB / 489.9 MB, free: 22.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002366/0.2147, allocations: 82.95 kB / 490 MB, free: 22.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2147, allocations: 3.938 kB / 490 MB, free: 22.06 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.2148, allocations: 41.16 kB / 490 MB, free: 22.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.2152, allocations: 48.02 kB / 490.1 MB, free: 22.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.2167, allocations: 1.815 MB / 491.9 MB, free: 20.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.2168, allocations: 0.7123 MB / 492.6 MB, free: 19.87 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.212e-05/0.2168, allocations: 14.19 kB / 492.6 MB, free: 19.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.837e-05/0.2169, allocations: 37.03 kB / 492.6 MB, free: 19.83 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2169, allocations: 0 / 492.6 MB, free: 19.83 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02499/0.2419, allocations: 3.108 MB / 495.8 MB, free: 19.35 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.025/7.267, allocations: 6.156 kB / 495.8 MB, free: 19.35 MB / 366.1 MB " [Timeout remaining time 653] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.sim & python3 -m fmpy simulate --output-file BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD_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_FWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.45753834801144]